
CVE catalog
CVE-2025-8114
libssh vulnerability
- Severity
- Medium · CVSS 4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.26% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libssh | sid | 0.12.2-1 | fixed |
| Debian | libssh | forky | 0.12.2-1 | fixed |
| Debian | libssh | trixie | 0.11.5-0+deb13u1 | fixed |
| Debian | libssh | trixie-security | 0.11.5-0+deb13u1 | fixed |
| Debian | libssh | bookworm | 0.10.6-0+deb12u2 | fixed |
| Debian | libssh | bookworm-security | 0.10.6-0+deb12u3 | fixed |
| Ubuntu | libssh | noble | 0.10.6-0+deb12u2 | fixed |
| Ubuntu | libssh | noble | 0.10.6-2ubuntu0.2 | fixed |
| Ubuntu | libssh-4 | noble | 0.10.6-2ubuntu0.2 | fixed |
| Ubuntu | libssh-dev | noble | 0.10.6-2ubuntu0.2 | fixed |
| Ubuntu | libssh-doc | noble | 0.10.6-2ubuntu0.2 | fixed |
| Ubuntu | libssh-gcrypt-4 | noble | 0.10.6-2ubuntu0.2 | fixed |
| Ubuntu | libssh-gcrypt-dev | noble | 0.10.6-2ubuntu0.2 | fixed |
| Cpe | libssh | Not reported | Not reported | unknown |
| Ubuntu | libssh | pro | 0.9.0-1ubuntu1 | vulnerable |
| Ubuntu | libssh | pro | 0.9.0-1ubuntu4 | vulnerable |
| Ubuntu | libssh | pro | 0.9.0-1ubuntu5 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu1 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.1 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.2 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.3 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.4 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.5 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.5+esm1 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.5+esm2 | fixed |
| Ubuntu | libssh | 22.04 | 0.9.6-1 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-1build1 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2build1 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.1 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.2 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.3 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.4 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.5 | fixed |
| Ubuntu | libssh | 24.04 | 0.10.5-3ubuntu1 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.5-3ubuntu2 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2build1 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2build2 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2ubuntu0.1 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2ubuntu0.2 | fixed |
| Ubuntu | libssh | 25.10 | 0.11.1-1 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.1-2 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.2-1 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.2-1build1 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.2-1ubuntu0.1 | fixed |
| Ubuntu | libssh | pro | 0.9.0-1ubuntu1 | vulnerable |
| Ubuntu | libssh | pro | 0.9.0-1ubuntu4 | vulnerable |
| Ubuntu | libssh | pro | 0.9.0-1ubuntu5 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu1 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.1 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.2 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.3 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.4 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.5 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.5+esm1 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.5+esm2 | fixed |
| Ubuntu | libssh | 22.04 | 0.9.6-1 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-1build1 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2build1 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.1 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.2 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.3 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.4 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.5 | fixed |
| Ubuntu | libssh | 24.04 | 0.10.5-3ubuntu1 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.5-3ubuntu2 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2build1 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2build2 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2ubuntu0.1 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2ubuntu0.2 | fixed |
| Ubuntu | libssh | 25.10 | 0.11.1-1 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.1-2 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.2-1 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.2-1build1 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.2-1ubuntu0.1 | fixed |
| Opensuse | libssh | tumbleweed | 0.11.3-1.1 | fixed |
| Suse | libssh | linux micro 6.1 | 0.10.6-slfo.1.1_3.1 | fixed |
| Suse | libssh | linux micro 6.0 | 0.10.6-3.1 | fixed |
| Suse | libssh | linux enterprise server ltss extended security 12 sp5 | 0.6.3-12.21.1 | fixed |
| Suse | libssh | linux enterprise module for basesystem 15 sp6 | 0.9.8-150600.11.6.1 | fixed |
| Suse | libssh | linux enterprise module for basesystem 15 sp7 | 0.9.8-150600.11.6.1 | fixed |
| Opensuse | libssh | leap 15.6 | 0.9.8-150600.11.6.1 | fixed |
| Suse | libssh | linux enterprise micro 5.3 | 0.9.8-150400.3.12.1 | fixed |
| Suse | libssh | linux enterprise micro 5.4 | 0.9.8-150400.3.12.1 | fixed |
| Suse | libssh | linux enterprise micro 5.5 | 0.9.8-150400.3.12.1 | fixed |
| Suse | libssh | linux enterprise micro 5.1 | 0.9.8-150200.13.12.1 | fixed |
| Suse | libssh | linux enterprise micro 5.2 | 0.9.8-150200.13.12.1 | fixed |
| Suse | libssh | linux enterprise server ltss extended security 12 sp5 | 0.9.8-3.18.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libssh | source | sid | 0.11.3-1 | not yet assigned | Not reported | [1109860] |
| Debian | libssh | source | forky | 0.11.3-1 | not yet assigned | Not reported | [1109860] |
| Debian | libssh | source | trixie | 0.11.2-1+deb13u1 | not yet assigned | Not reported | [1109860] |
| Debian | libssh | source | bookworm | 0.10.6-0+deb12u2 | not yet assigned | Not reported | [1109860] |
| Ubuntu | libssh | deb | noble | 0.10.6-0+deb12u2 | Not reported | Not reported | Not reported |
| Ubuntu | libssh | deb | noble | 0.10.6-2ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | libssh-4 | deb | noble | 0.10.6-2ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | libssh-dev | deb | noble | 0.10.6-2ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | libssh-doc | deb | noble | 0.10.6-2ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | libssh-gcrypt-4 | deb | noble | 0.10.6-2ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | libssh-gcrypt-dev | deb | noble | 0.10.6-2ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | libssh | deb | pro | 0.9.3-2ubuntu2.5+esm2 | Not reported | USN-7849-1 | Not reported |
| Ubuntu | libssh | deb | 22.04 | 0.9.6-2ubuntu0.22.04.5 | Not reported | USN-7849-1 | Not reported |
| Ubuntu | libssh | deb | 24.04 | 0.10.6-2ubuntu0.2 | Not reported | USN-7849-1 | Not reported |
| Ubuntu | libssh | deb | 25.10 | 0.11.2-1ubuntu0.1 | Not reported | USN-7849-1 | Not reported |
| Ubuntu | libssh | deb | pro | 0.9.3-2ubuntu2.5+esm2 | Not reported | UBUNTU-CVE-2025-8114 | Not reported |
| Ubuntu | libssh | deb | 22.04 | 0.9.6-2ubuntu0.22.04.5 | Not reported | UBUNTU-CVE-2025-8114 | Not reported |
| Ubuntu | libssh | deb | 24.04 | 0.10.6-2ubuntu0.2 | Not reported | UBUNTU-CVE-2025-8114 | Not reported |
| Ubuntu | libssh | deb | 25.10 | 0.11.2-1ubuntu0.1 | Not reported | UBUNTU-CVE-2025-8114 | Not reported |
| Opensuse | libssh | rpm | tumbleweed | 0.11.3-1.1 | Not reported | OPENSUSE-SU-2025:15545-1 | Not reported |
| Suse | libssh | rpm | linux micro 6.1 | 0.10.6-slfo.1.1_3.1 | Not reported | SUSE-SU-2025:20894-1 | Not reported |
| Suse | libssh | rpm | linux micro 6.0 | 0.10.6-3.1 | Not reported | SUSE-SU-2025:20847-1 | Not reported |
| Suse | libssh | rpm | linux enterprise server ltss extended security 12 sp5 | 0.6.3-12.21.1 | Not reported | SUSE-SU-2025:4408-1 | Not reported |
| Suse | libssh | rpm | linux enterprise module for basesystem 15 sp6 | 0.9.8-150600.11.6.1 | Not reported | SUSE-SU-2025:03369-1 | Not reported |
| Suse | libssh | rpm | linux enterprise module for basesystem 15 sp7 | 0.9.8-150600.11.6.1 | Not reported | SUSE-SU-2025:03369-1 | Not reported |
| Opensuse | libssh | rpm | leap 15.6 | 0.9.8-150600.11.6.1 | Not reported | SUSE-SU-2025:03369-1 | Not reported |
| Suse | libssh | rpm | linux enterprise micro 5.3 | 0.9.8-150400.3.12.1 | Not reported | SUSE-SU-2025:3788-1 | Not reported |
| Suse | libssh | rpm | linux enterprise micro 5.4 | 0.9.8-150400.3.12.1 | Not reported | SUSE-SU-2025:3788-1 | Not reported |
| Suse | libssh | rpm | linux enterprise micro 5.5 | 0.9.8-150400.3.12.1 | Not reported | SUSE-SU-2025:3788-1 | Not reported |
| Suse | libssh | rpm | linux enterprise micro 5.1 | 0.9.8-150200.13.12.1 | Not reported | SUSE-SU-2025:3787-1 | Not reported |
| Suse | libssh | rpm | linux enterprise micro 5.2 | 0.9.8-150200.13.12.1 | Not reported | SUSE-SU-2025:3787-1 | Not reported |
| Suse | libssh | rpm | linux enterprise server ltss extended security 12 sp5 | 0.9.8-3.18.1 | Not reported | SUSE-SU-2025:03368-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libssh-4]Affected
Source package: [libssh]
Details (4)
0.10.6-0+deb12u2· amd64 · bookwormFixed · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
0.10.6-0+deb12u2· arm64 · bookwormFixed · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
0.10.6-0+deb12u1· amd64 · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
0.10.6-0+deb12u1· arm64 · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
- [libssh-dev]Affected
Source package: [libssh]
Details (4)
0.10.6-0+deb12u2· amd64 · bookwormFixed · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
0.10.6-0+deb12u2· arm64 · bookwormFixed · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
0.10.6-0+deb12u1· amd64 · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
0.10.6-0+deb12u1· arm64 · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
- [libssh-doc]Affected
Source package: [libssh]
Details (4)
0.10.6-0+deb12u2· all · bookwormFixed · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
0.10.6-0+deb12u2· all · bookwormFixed · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
0.10.6-0+deb12u1· all · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
0.10.6-0+deb12u1· all · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
- [libssh-gcrypt-4]Affected
Source package: [libssh]
Details (4)
0.10.6-0+deb12u2· amd64 · bookwormFixed · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
0.10.6-0+deb12u2· arm64 · bookwormFixed · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
0.10.6-0+deb12u1· amd64 · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
0.10.6-0+deb12u1· arm64 · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
- [libssh-gcrypt-dev]Affected
Source package: [libssh]
Details (4)
0.10.6-0+deb12u2· amd64 · bookwormFixed · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
0.10.6-0+deb12u2· arm64 · bookwormFixed · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
0.10.6-0+deb12u1· amd64 · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
0.10.6-0+deb12u1· arm64 · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u2usn · libssh · debian · bookworm; usn · libssh · debian · 12
[openSUSE Tumbleweed]
- [libssh4]Unknown
Source package: [libssh]
Details (1)
0.11.5-2.1· x86_64 · tumbleweedUnknown · Fixed:
0.11.3-1.1Version impact unknown
usn · libssh · opensuse · tumbleweed
- [libssh4-32bit]Unknown
Source package: [libssh]
Details (1)
0.11.5-2.1· x86_64 · tumbleweedUnknown · Fixed:
0.11.3-1.1Version impact unknown
usn · libssh · opensuse · tumbleweed
- [libssh-config]Unknown
Source package: [libssh]
Details (1)
0.11.5-2.1· noarch · tumbleweedUnknown · Fixed:
0.11.3-1.1Version impact unknown
usn · libssh · opensuse · tumbleweed
- [libssh-devel]Unknown
Source package: [libssh]
Details (1)
0.11.5-2.1· x86_64 · tumbleweedUnknown · Fixed:
0.11.3-1.1Version impact unknown
usn · libssh · opensuse · tumbleweed
[Debian 13 (Trixie)]
- [libssh-4]Fixed
Source package: [libssh]
Details (4)
0.11.2-1+deb13u1· amd64 · trixieFixed · Fixed:
0.11.2-1+deb13u1usn · libssh · debian · 13
0.11.2-1+deb13u1· arm64 · trixieFixed · Fixed:
0.11.2-1+deb13u1usn · libssh · debian · 13
0.11.5-0+deb13u1· amd64 · trixie-securityFixed · Fixed:
0.11.2-1+deb13u1usn · libssh · debian · 13
0.11.5-0+deb13u1· arm64 · trixie-securityFixed · Fixed:
0.11.2-1+deb13u1usn · libssh · debian · 13
- [libssh-dev]Fixed
Source package: [libssh]
Details (4)
0.11.2-1+deb13u1· amd64 · trixieFixed · Fixed:
0.11.2-1+deb13u1usn · libssh · debian · 13
0.11.2-1+deb13u1· arm64 · trixieFixed · Fixed:
0.11.2-1+deb13u1usn · libssh · debian · 13
0.11.5-0+deb13u1· amd64 · trixie-securityFixed · Fixed:
0.11.2-1+deb13u1usn · libssh · debian · 13
0.11.5-0+deb13u1· arm64 · trixie-securityFixed · Fixed:
0.11.2-1+deb13u1usn · libssh · debian · 13
- [libssh-doc]Fixed
Source package: [libssh]
Details (4)
0.11.2-1+deb13u1· all · trixieFixed · Fixed:
0.11.2-1+deb13u1usn · libssh · debian · 13
0.11.2-1+deb13u1· all · trixieFixed · Fixed:
0.11.2-1+deb13u1usn · libssh · debian · 13
0.11.5-0+deb13u1· all · trixie-securityFixed · Fixed:
0.11.2-1+deb13u1usn · libssh · debian · 13
0.11.5-0+deb13u1· all · trixie-securityFixed · Fixed:
0.11.2-1+deb13u1usn · libssh · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2025_03368-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2025-8114]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-8114]
- [https://osv.dev/vulnerability/SUSE-SU-2025:03368-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:03369-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:20847-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:20894-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:3787-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:3788-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:4408-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-8114]
- [https://osv.dev/vulnerability/USN-7849-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:15545-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-8114]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-8114.json]
- [https://ubuntu.com/security/notices/USN-7849-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-1640.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]