3.1

CVE-2025-8277: libssh

CVSS: 3.1v3.1LowDeferred
AliasesSUSE-SU-2025:3897-1UBUNTU-CVE-2025-8277DEBIAN-CVE-2025-8277
Published 09-09-2025Last modified 01-09-2026

Vulnerability summary

CVE-2025-8277 is a low (CVSS 3.1) vulnerability in libssh. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 36% of scored vulnerabilities.

Overall risk
12/100
0100
Low · default modelHow is this calculated?
CVSS score
3.1/10
010
Low · v3.1 (CVE.org)
EPSS score
0.43%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 9

Timeline

  1. 09-09-2025
    PublishedVulnerability first disclosed.
  2. 01-09-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.43%

Chance of exploitation in the next 30 days

Percentile

36%

Versus all other CVEs

30-day change

+0.03 pp

From 0.40% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.43%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • libssh< 0.10.6-0+deb12u2 | < 0.11.2-1+deb13u1 | < 0.11.3-1
Suse1 product
  • libssh&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5< 0.6.3-12.18.1
Ubuntu1 product
  • libssh< 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6 | < 0.9.3-2ubuntu2.5+esm3 | < 0.9.6-2ubuntu0.22.04.6 | < 0.10.6-2ubuntu0.3 | < 0.11.2-1ubuntu0.2

3 vendors · 3 products

References

13 links
Show all 13 references