# CVE-2025-8114: Libssh: null pointer dereference in libssh kex session id calculation

- Severity: Medium 4.7 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 19% of CVEs (2026-12-01)
- Published: 2025-07-24T14:14:47.745Z
- Modified: 2026-11-24T10:17:35.203Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- libssh: before 0.11.3 (not affected: from 0:0.10.4-18.el9 before *)
- libssh2: no versions given
- openshift/ose-rhel-coreos-8: no versions given
- openshift/ose-rhel-coreos-9: no versions given
- libssh libssh: up to 0.11.2

## Every score

- redhat: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2026:18683> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2025-8114> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2383220> (issue-tracking, third-party-advisory)
- <https://git.libssh.org/projects/libssh.git/commit/?id=53ac23ded4cb2c5463f6c4cd1525331bd578812d>
- <https://git.libssh.org/projects/libssh.git/commit/?id=65f363c9>
- <https://www.libssh.org/security/advisories/CVE-2025-8114.txt>

## Sources

- CVE List: [CVE-2025-8114](https://www.cve.org/CVERecord?id=CVE-2025-8114), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2025-8114](https://nvd.nist.gov/vuln/detail/CVE-2025-8114), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2025-8114 · Whole record: https://cve.day/CVE-2025-8114.json · Rebuilt by cve.day 2026-11-25T22:59:01.639Z
