CVE-2026-58050
highpriority · track · 30EPSS 0.004 · 38 %ileDEEUFRRUUSEPSS · scored 2026-10-23
libssh2 through 1.11.1 reads an attacker-controlled 32-bit attribute count from a publickey-subsystem response and uses it in the allocation num_attrs * sizeof(libssh2_publickey_attribute) without bounds checking, so on 32-bit platforms the multiplication overflows to an undersized buffer. A malicious SSH server can then drive the attribute-parsing loop to write past the allocation, causing a heap buffer overflow in a connecting libssh2 client.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.9–8.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (14)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-2099libssh2: Mehrere SchwachstellenDeutsch2026-06-28csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in libssh2 ausnutzen, um Dateien zu manipulieren, Speicherbeschädigungen zu verursachen, einen Denial-of-Service-Zustand auszulösen oder andere, nicht näher spezifizierte Auswirkungen zu erzielen.
- CERTFR-2026-AVI-1352Multiples vulnérabilités dans Oracle PeopleSoftFrançais2026-10-21vendor · certfrFR
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://github.com/bikini/exploitarium/tree/main/libssh2-publickey-list-calc-poccnnvd
- https://github.com/libssh2/libssh2/blob/master/src/publickey.ccnnvd
- https://www.vulncheck.com/advisories/libssh2-integer-overflow-in-publickey-subsystem-attribute-allocationcnnvd
- https://github.com/bikini/exploitarium/tree/main/libssh2-publickey-list-calc-pocenisa_euvd
- https://github.com/libssh2/libssh2/blob/master/src/publickey.cenisa_euvd
- https://www.vulncheck.com/advisories/libssh2-integer-overflow-in-publickey-subsystem-attribute-allocationenisa_euvd
- https://github.com/bikini/exploitarium/tree/main/libssh2-publickey-list-calc-pocBroken Linknvd
- https://github.com/libssh2/libssh2/blob/master/src/publickey.cProductnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan