CVEFinder.io

CVE-2026-58051

🔶 medium
🔍 Scan for this CVE
Summary

libssh2 through 1.11.1 grows its publickey list with SSH2_REALLOC but does not zero-initialize new entries before parsing populates them, so a parse failure reaching the cleanup path leaves libssh2_publickey_list_free operating on an uninitialized entry. A malicious SSH server offering the publickey subsystem can use a malformed response to make cleanup free an uninitialized, attacker-influenceable attrs pointer in a connecting libssh2 client.

CVSS Score
6.5
Medium
EPSS Score
0.3
Exploit Probability
Published Date
2026-06-28
First Seen: 2026-06-29
📊 Relative Risk Intelligence

This CVE is Lower Risk - more severe than 47.4% of all 340,405 vulnerabilities in our database.

#179,012
Below average severity
Severity Percentile
🎯 CISA SSVC Assessment Updated: Jun 29, 2026
🔍 Exploitation Status
Poc
Proof-of-concept available
⚙️ Automatable
NO
Requires human interaction
💥 Technical Impact
Partial
Limited system impact
🏆 Discovered By
ashdfrkl
SSVC data provided by CISA
Last Modified 2026-06-30
Source NVD 🔗
CVSS Vector 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
CVSS Vector 4.0 CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CWE IDs (Weakness Types)

📦 Affected Products 1

🔗 References 3

🔗 Related CVEs 6

CVE ID Severity CVSS EPSS Summary Published
CVE-2026-66033 ⚠️ high 7.5 0.4 libssh2 through 1.11.1, fixed in commit a2ed82d, contains a pre-authentication integer underflow vulnerability in the ss... 2026-07-24
CVE-2026-66034 ⚠️ high 7.5 0.3 libssh2 through 1.11.1, fixed in commit a13bb6c, contains a missing bounds check vulnerability that allows a malicious S... 2026-07-24
CVE-2026-66035 ⚠️ high 7.5 0.3 libssh2 through 1.11.1, fixed in commit 42e33d8, contains a pre-authentication heap buffer overflow vulnerability that a... 2026-07-24
CVE-2026-58050 ⚠️ high 7.0 0.3 libssh2 through 1.11.1 reads an attacker-controlled 32-bit attribute count from a publickey-subsystem response and uses ... 2026-06-28
CVE-2025-15661 🔶 medium 6.5 0.3 libssh2 through 1.11.1, fixed in commit 2dae302, contains an out-of-bounds heap read vulnerability in the sftp_symlink()... 2026-06-18
CVE-2026-55199 🔶 medium 5.9 0.4 libssh2 through 1.11.1, fixed in commit 1762685, contains a pre-authentication denial of service vulnerability in the SS... 2026-06-17
These CVEs affect the same products