CVE-2026-66035
libssh2 libssh2
Patch priority
RegularFix with the next regular update.
- CVSS
- 7.5
- Severity
- 7.5
- EPSS
- 0.5 %
- Percentile
- 42
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run libssh2 libssh2. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- It only works if someone plays along – e.g. opens a link or a file.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDlibssh2 through 1.11.1, fixed in commit 42e33d8, contains a pre-authentication heap buffer overflow vulnerability that allows a malicious SSH server to corrupt heap metadata in any connecting client by sending a packet with a packet_length smaller than the cipher's block size during Encrypt-then-MAC cipher negotiation. In the fullpacket() function in src/transport.c, the ETM path allocates a buffer of packet_length bytes but copies blocksize minus one bytes via memcpy, causing an overflow that on 32-bit glibc writes attacker-controlled bytes into an adjacent chunk's SIZE field, enabling tcache bin confusion, overlapping live objects, and function pointer overwrite during the session handshake before authentication.
- Vendor / product
- libssh2 libssh2
- Published
- 24.07.2026
- Modified
- 08.11.2026
- CWE
- CWE-122
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Vendor updates
12- SUSE: SUSE-SU-2026:4095-1 – Security update for libssh2_org 09.09.2026 · Critical · Patch day
- Ubuntu: USN-8722-1 – libssh2 vulnerabilities 03.09.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:23245-1 – Security update for libssh2_org 25.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23214-1 – Security update for libssh2_org 25.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23225-1 – Security update for libssh2_org 25.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23187-1 – Security update for libssh2_org 24.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23049-1 – Security update for libssh2_org 11.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:3541-1 – Security update for libssh2_org 10.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:3525-1 – Security update for libssh2_org 07.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:3526-1 – Security update for libssh2_org 07.08.2026 · Critical · Patch day
- Microsoft: Mariner 07.08.2026 · High · Patch day
- Red Hat: RHSA-2026:46955 – RHSA-2026:46955 libssh2-docs-0:1.11.1-10.3.hum1@noarch@public-hummingbird security update 27.07.2026 · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.