cve.bz

CVE-2025-8277

3.1 lowEPSS 0.4%Fix available

Low (3.1). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

3.1 low
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-09-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-401 Missing Release of Memory after Effective Lifetime
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:0.10.4-18.el9
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Azure Linux, Alpaquita: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-8277 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-8277?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-8277?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-8277 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 90:0.10.4-18.el9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libssh0.9.8-0+deb11u2DLA-4385-1
Debian12libssh0.10.6-0+deb12u2DEBIAN-CVE-2025-8277
Debian13libssh0.11.2-1+deb13u1DEBIAN-CVE-2025-8277
Debian14libssh0.11.3-1DEBIAN-CVE-2025-8277
Ubuntu22.04:LTSlibssh0.9.6-2ubuntu0.22.04.6UBUNTU-CVE-2025-8277 USN-8051-1
Ubuntu24.04:LTSlibssh0.10.6-2ubuntu0.3UBUNTU-CVE-2025-8277 USN-8051-1
Ubuntu25.10libssh0.11.2-1ubuntu0.2UBUNTU-CVE-2025-8277 USN-8051-1
UbuntuPro:16.04:LTSlibssh0.6.3-4.3ubuntu0.6+esm4USN-8051-2
UbuntuPro:18.04:LTSlibssh0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6UBUNTU-CVE-2025-8277 USN-8051-2
UbuntuPro:20.04:LTSlibssh0.9.3-2ubuntu2.5+esm3UBUNTU-CVE-2025-8277 USN-8051-2
Red Hatenterprise_linux:9::appstreamlibssh-devel, libssh-debuginfo, libssh-debugsource0:0.10.4-18.el9RHSA-2026:18683
Red Hatenterprise_linux:9::baseoslibssh, libssh-config, libssh-debuginfo and 1 more0:0.10.4-18.el9RHSA-2026:18683
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2libssh0.9.8-150200.13.12.1SUSE-SU-2025:3787-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Micro 5.5libssh0.9.8-150400.3.12.1SUSE-SU-2025:3788-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7libssh0.9.8-150600.11.6.1SUSE-SU-2025:03369-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5libssh0.6.3-12.18.1SUSE-SU-2025:3897-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5libssh0.9.8-3.18.1SUSE-SU-2025:03368-1
SUSELinux Micro 6.0libssh0.10.6-3.1SUSE-SU-2025:20847-1
SUSELinux Micro 6.1libssh0.10.6-slfo.1.1_3.1SUSE-SU-2025:20894-1
openSUSELeap 15.6libssh0.9.8-150600.11.6.1SUSE-SU-2025:03369-1
openSUSETumbleweedlibssh0.11.3-1.1openSUSE-SU-2025:15545-1
AlmaLinux9libssh, libssh-devel, libssh-config0.10.4-18.el9ALSA-2026:18683
Rocky Linux9libssh0:0.10.4-18.el9RLSA-2026:18683
Azure Linux2libssh0.10.6-5AZL-67092
Azure Linux3libssh0.10.6-4AZL-67095
Alpaquita23, 25, streamlibssh0.11.3-r0BELL-CVE-2025-8277

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Low.

Red Hat's statement

The Red Hat Product Security team has assessed the severity of this vulnerability as Low.The issue requires an authenticated client to repeatedly initiate key exchanges with incorrect guesses, which leads to memory not being properly released. While this flaw can result in gradual memory exhaustion and potential denial of service (DoS) on the client side, it is not easily exploitable in typical usage scenarios and does not affect servers. The vulnerability does not compromise confidentiality or integrity and poses limited impact on system availability under normal operating conditions.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. It is strongly advised to apply updated libssh packages once available to prevent memory exhaustion risks on client systems.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9libssh-0:0.10.4-18.el9Fixed 2026-05-19RHSA-2026:18683
Red Hat Enterprise Linux 10libsshFix deferred
Red Hat Enterprise Linux 6libssh2Out of support scope
Red Hat Enterprise Linux 7libssh2Fix deferred
Red Hat Enterprise Linux 8libsshFix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-8277.

References

Check your stackJSON