CVE-2025-8277
published low CVSS 3.1 · 3.1Libssh: memory exhaustion via repeated key exchange in libssh
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | libssh0.6.0 to < 0.11.3 · Other versions: unaffected | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 9 | libssh0:0.10.4-18.el9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 8, 10 | libssh | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 6 | libssh2 | Unknown | Not stated | redhat |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1264 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 9 | libssh | Advisory build | 0.10.4-18.el9 | ALSA-2026:18683 |
| Debian | bullseye | libssh | Advisory build | 0.9.8-0+deb11u2 | DLA-4385-1 |
| Oracle Linux | 9 | libsshaarch64 | Advisory build | 0:0.10.4-18.el9 | ELSA-2026-18683 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 7 | libssh2 | Affected | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-8Red Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | RHEL-9 | libsshaarch64 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Ubuntu | bionic | libssh | Advisory build | 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6 | USN-8051-2 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-configx86_64 | Advisory build | 0.9.8-3.18.1 | SUSE-SU-2025:03368-1 |
| Oracle Linux | 9 | libsshx86_64 | Advisory build | 0:0.10.4-18.el9 | ELSA-2026-18683 |
| Red Hat Enterprise Linux | RHEL-9 | libsshi686 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libsshppc64le | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libsshs390x | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libsshsrc | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libsshx86_64 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Ubuntu | focal | libssh | Advisory build | 0.9.3-2ubuntu2.5+esm3 | USN-8051-2 |
| Ubuntu | jammy | libssh | Advisory build | 0.9.6-2ubuntu0.22.04.6 | USN-8051-1 |
| Ubuntu | noble | libssh | Advisory build | 0.10.6-2ubuntu0.3 | USN-8051-1 |
| Ubuntu | questing | libssh | Advisory build | 0.11.2-1ubuntu0.2 | USN-8051-1 |
| AlmaLinux | 9 | libssh-config | Advisory build | 0.10.4-18.el9 | ALSA-2026:18683 |
| AlmaLinux | 9 | libssh-devel | Advisory build | 0.10.4-18.el9 | ALSA-2026:18683 |
| Oracle Linux | 9 | libssh-configaarch64 | Advisory build | 0:0.10.4-18.el9 | ELSA-2026-18683 |
| Oracle Linux | 9 | libssh-configx86_64 | Advisory build | 0:0.10.4-18.el9 | ELSA-2026-18683 |
| Oracle Linux | 9 | libssh-develaarch64 | Advisory build | 0:0.10.4-18.el9 | ELSA-2026-18683 |
| Oracle Linux | 9 | libssh-develx86_64 | Advisory build | 0:0.10.4-18.el9 | ELSA-2026-18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-confignoarch | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfoaarch64 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfoi686 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfoppc64le | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfos390x | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfox86_64 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourceaarch64 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourcei686 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourceppc64le | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsources390x | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourcex86_64 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develaarch64 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develi686 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develppc64le | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-devels390x | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develx86_64 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-develx86_64 | Advisory build | 0.9.8-3.18.1 | SUSE-SU-2025:03368-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-devel-docx86_64 | Advisory build | 0.6.3-12.18.1 | SUSE-SU-2025:3897-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4x86_64 | Advisory build | 0.9.8-3.18.1 | SUSE-SU-2025:03368-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4-32bitx86_64 | Advisory build | 0.9.8-3.18.1 | SUSE-SU-2025:03368-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh-configaarch64 | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh-configppc64le | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh-configs390x | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh-configx86_64 | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh-develaarch64 | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh-develppc64le | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh-devels390x | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh-develx86_64 | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh4aarch64 | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh4ppc64le | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh4s390x | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh4x86_64 | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh4-32bitx86_64 | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh-configaarch64 | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh-configppc64le | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh-configs390x | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh-configx86_64 | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh-develaarch64 | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh-develppc64le | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh-devels390x | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh-develx86_64 | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh4aarch64 | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh4ppc64le | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh4s390x | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh4x86_64 | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh4-32bitx86_64 | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | SLE-16 | libssh-confignoarch | Advisory build | 0.11.4-160000.1.1 | SUSE-SU-2026:21428-1 |
| SUSE / openSUSE | SLE-16 | libssh-develaarch64 | Advisory build | 0.11.4-160000.1.1 | SUSE-SU-2026:21428-1 |
| SUSE / openSUSE | SLE-16 | libssh-develppc64le | Advisory build | 0.11.4-160000.1.1 | SUSE-SU-2026:21428-1 |
| SUSE / openSUSE | SLE-16 | libssh-devels390x | Advisory build | 0.11.4-160000.1.1 | SUSE-SU-2026:21428-1 |
| SUSE / openSUSE | SLE-16 | libssh-develx86_64 | Advisory build | 0.11.4-160000.1.1 | SUSE-SU-2026:21428-1 |
| SUSE / openSUSE | SLE-16 | libssh4aarch64 | Advisory build | 0.11.4-160000.1.1 | SUSE-SU-2026:21428-1 |
| SUSE / openSUSE | SLE-16 | libssh4ppc64le | Advisory build | 0.11.4-160000.1.1 | SUSE-SU-2026:21428-1 |
| SUSE / openSUSE | SLE-16 | libssh4s390x | Advisory build | 0.11.4-160000.1.1 | SUSE-SU-2026:21428-1 |
| SUSE / openSUSE | SLE-16 | libssh4x86_64 | Advisory build | 0.11.4-160000.1.1 | SUSE-SU-2026:21428-1 |
| SUSE / openSUSE | SLE-5 | libssh-configaarch64 | Advisory build | 0.9.8-150200.13.12.1 | SUSE-SU-2025:3787-1 |
| SUSE / openSUSE | SLE-5 | libssh-configaarch64 | Advisory build | 0.9.8-150400.3.12.1 | SUSE-SU-2025:3788-1 |
| SUSE / openSUSE | SLE-5 | libssh-configppc64le | Advisory build | 0.9.8-150400.3.12.1 | SUSE-SU-2025:3788-1 |
| SUSE / openSUSE | SLE-5 | libssh-configs390x | Advisory build | 0.9.8-150200.13.12.1 | SUSE-SU-2025:3787-1 |
| SUSE / openSUSE | SLE-5 | libssh-configs390x | Advisory build | 0.9.8-150400.3.12.1 | SUSE-SU-2025:3788-1 |
| SUSE / openSUSE | SLE-5 | libssh-configx86_64 | Advisory build | 0.9.8-150200.13.12.1 | SUSE-SU-2025:3787-1 |
| SUSE / openSUSE | SLE-5 | libssh-configx86_64 | Advisory build | 0.9.8-150400.3.12.1 | SUSE-SU-2025:3788-1 |
| SUSE / openSUSE | SLE-5 | libssh4aarch64 | Advisory build | 0.9.8-150200.13.12.1 | SUSE-SU-2025:3787-1 |
| SUSE / openSUSE | SLE-5 | libssh4aarch64 | Advisory build | 0.9.8-150400.3.12.1 | SUSE-SU-2025:3788-1 |
| SUSE / openSUSE | SLE-5 | libssh4ppc64le | Advisory build | 0.9.8-150400.3.12.1 | SUSE-SU-2025:3788-1 |
| SUSE / openSUSE | SLE-5 | libssh4s390x | Advisory build | 0.9.8-150200.13.12.1 | SUSE-SU-2025:3787-1 |
| SUSE / openSUSE | SLE-5 | libssh4s390x | Advisory build | 0.9.8-150400.3.12.1 | SUSE-SU-2025:3788-1 |
| SUSE / openSUSE | SLE-5 | libssh4x86_64 | Advisory build | 0.9.8-150200.13.12.1 | SUSE-SU-2025:3787-1 |
| SUSE / openSUSE | SLE-5 | libssh4x86_64 | Advisory build | 0.9.8-150400.3.12.1 | SUSE-SU-2025:3788-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libssh-configaarch64 | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libssh-configppc64le | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libssh-configs390x | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libssh-configx86_64 | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libssh-develaarch64 | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libssh-develppc64le | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libssh-devels390x | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libssh-develx86_64 | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libssh4aarch64 | Advisory build | 0.9.8-150600.11.6.1 | SUSE-SU-2025:03369-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
A flaw was found in libssh's handling of key exchange (KEX) processes when a client repeatedly sends incorrect KEX guesses. The library fails to free memory during these rekey operations, which can gradually exhaust system memory. This issue can lead to crashes on the client side, particularly when using libgcrypt, which impacts application stability and availability.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.1 / 10
- Severity
- low
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libssh | 0.6.0 to < 0.11.3 (affected · semver)Default: unaffected | redhat · cna | |
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.10.4-18.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.10.4-18.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
Weaknesses
1- CWE-401 Missing Release of Memory after Effective Lifetime
References
4- RHSA-2026:18683 https://access.redhat.com/errata/RHSA-2026:18683
- https://access.redhat.com/security/cve/CVE-2025-8277
- RHBZ#2383888 https://bugzilla.redhat.com/show_bug.cgi?id=2383888
- https://www.libssh.org/security/advisories/CVE-2025-8277.txt
Provider assertions
2redhat · cna
Libssh: memory exhaustion via repeated key exchange in libssh
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e08aac93ab7b2f29de31da4c5c248a08aef906c7f183f49b7a2a47ec3418338a
- Ingested
- 25 Nov 2026, 15:20:02 UTC
- Source record
- Official CVE record