7.7

CVE-2026-66034: libssh2 Out-of-bounds Read

CVSS: 7.7v4.0HighAnalyzed
AliasesUBUNTU-CVE-2026-66034DEBIAN-CVE-2026-66034CGA-4wfc-2rvc-856x
Published 24-07-2026Last modified 28-07-2026

Vulnerability summary

CVE-2026-66034 is a high (CVSS 7.7) Out-of-bounds Read vulnerability in libssh2. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 33.3% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.7/10
010
High · v4.0 (CVE.org)
EPSS score
0.40%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 14 · Related 12

Timeline

  1. 24-07-2026
    PublishedVulnerability first disclosed.
  2. 28-07-2026
    Last modifiedVulnerability information updated.

Description

libssh2 through 1.11.1, fixed in commit a13bb6c, contains a missing bounds check vulnerability that allows a malicious SSH server to trigger an arbitrary-length heap out-of-bounds read and a free of an uninitialized pointer via the publickey subsystem. In libssh2_publickey_list_fetch(), the version 1 response parser reads a server-controlled comment_len value and advances the parse pointer without verifying sufficient bytes remain in the buffer, causing the out-of-bounds read to leak heap pointers from adjacent allocations defeating ASLR, followed by heap allocator state corruption when the error cleanup path frees an uninitialized pointer from a non-zeroed realloc() region.

CVSS metrics

10 scores · 7 sources · 2 versions

EPSS trend

Probability

0.40%

Chance of exploitation in the next 30 days

Percentile

33%

Versus all other CVEs

30-day change

0.00 pp

From 0.40% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.40%

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

Chainguard3 products
  • libssh2All versions (No fix recorded)
  • libssh2-devAll versions (No fix recorded)
  • libssh2-docAll versions (No fix recorded)
Wolfi3 products
  • libssh2All versions (No fix recorded)
  • libssh2-devAll versions (No fix recorded)
  • libssh2-docAll versions (No fix recorded)
Alpine1 product
  • libssh2< 1.11.1-r3 | < 1.11.1-r4
Debian1 product
  • libssh2< 1.10.0-3+deb12u1 | < 1.11.1-1+deb13u2 | < 1.11.1-5
Libssh21 product
Ubuntu1 product
  • libssh2< 1.4.3-2ubuntu0.2+esm4 | < 1.5.0-2ubuntu0.1+esm3 | < 1.8.0-1ubuntu0.1+esm1 | < 1.8.0-2.1ubuntu0.1+esm1 | < 1.10.0-3ubuntu0.1 | < 1.11.0-4.1ubuntu0.24.04.3 | < 1.11.1-1ubuntu0.26.04.3

6 vendors · 10 products

References

11 links
Show all 11 references