Zero Day MonitorZDM
DashboardVulnerabilitiesTrendingZero-DaysNewsAbout
Login
ImpressumPrivacy Policy
Zero Day Monitor © 2026
3191 articles · 168085 vulns · 37/41 feeds (7d)
← Back to list
7.0
CVE-2026-58050
libssh2 · libssh2

libssh2 - Integer Overflow in publickey Subsystem Attribute Allocation

Description

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.

Affected Products

VendorProductVersions
libssh2libssh20

References

  • https://github.com/bikini/exploitarium/tree/main/libssh2-publickey-list-calc-poc(exploit, third-party-advisory)
  • https://github.com/libssh2/libssh2/blob/master/src/publickey.c(product)
  • https://www.vulncheck.com/advisories/libssh2-integer-overflow-in-publickey-subsystem-attribute-allocation(third-party-advisory)
CVSS 3.17.0 HIGH
VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
CISA KEV❌ No
Actively exploited❌ No
CWECWE-190
PublishedJun 28, 2026
Trending Score0
Source articles0
Independent0
Info Completeness0/14
Missing: cve_id, title, description, vendor, product, versions, cvss, epss, cwe, kev, exploit, patch, iocs, mitre_attack

Community Vote

0
Login to vote
0 upvotes0 downvotes
No votes yet

Related CVEs (5)

NONECVE-2026-55200EXP
libssh2 - Out-of-Bounds Write via Unchecked packet_length in transport.c
Trending: 73
CRITICALCVE-2026-55199EXP
libssh2 - Pre-Authentication DoS via SSH_MSG_EXT_INFO Handler
Trending: 42
CRITICALCVE-2025-15661EXP
libssh2 - Heap Buffer Over-read via sftp_symlink() in sftp.c
Trending: 39
MEDIUMCVE-2026-58051
libssh2 - Free of Uninitialized Pointer in publickey List Cleanup
NONECVE-2026-7598EXP
libssh2 userauth.c userauth_password integer overflow

Pin to Dashboard

Verification

State: unverified
Confidence: 0%

Vulnerability Timeline

CVE Published
Jun 28, 2026
Discovered by ZDM
Jun 28, 2026