4.7medium
Libssh: null pointer dereference in libssh kex session id calculation
- Severity
- 4.7medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.27% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
Description
A flaw was found in libssh, a library that implements the SSH protocol. When calculating the session ID during the key exchange (KEX) process, an allocation failure in cryptographic functions may lead to a NULL pointer dereference. This issue can cause the client or server to crash.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| libssh | before 0.11.3 Not affected: from 0:0.10.4-18.el9 before * | CVE List |
| libssh2 | Not specified | CVE List |
| openshift/ose-rhel-coreos-8 | Not specified | CVE List |
| openshift/ose-rhel-coreos-9 | Not specified | CVE List |
| libssh libssh | up to 0.11.2 | NVD |
All scores
| redhat | 4.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 4.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
A flaw was found in libssh, a library that implements the SSH protocol. When calculating the session ID during the key exchange (KEX) process, an allocation failure in cryptographic functions may lead to a NULL pointer dereference. This issue can cause the client or server to crash.
NVD (es)
Se encontró una falla en libssh, una librería que implementa el protocolo SSH. Al calcular el ID de sesión durante el proceso de intercambio de claves (KEX), un fallo de asignación en las funciones criptográficas puede provocar una desreferencia de puntero nulo. Este problema puede provocar el bloqueo del cliente o del servidor.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-8114 changed 2026-11-24 | CVE Terms of Use |
| NVD | CVE-2025-8114 changed 2026-11-24 | Public domain |