Cyber Resilience

CVE-2026-58051

HighPublic PoC

Published: 28 June 2026

Published
28 June 2026
Modified
30 June 2026
KEV Added
Patch
CVSS Score v4 8.3 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
EPSS Score 0.0028 19.9th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2026-58051 is a high-severity Use of Uninitialized Resource (CWE-908) vulnerability in Libssh2 Libssh2. Its CVSS base score is 8.3 (High).

Operationally, ranked at the 19.9th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

EU & UK References

Vulnerability details

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…

more

publickey subsystem can use a malformed response to make cleanup free an uninitialized, attacker-influenceable attrs pointer in a connecting libssh2 client.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

Insufficient information to map techniques.
Confidence: LOW · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-58050Same product: Libssh2 Libssh2
CVE-2025-15661Same product: Libssh2 Libssh2
CVE-2026-55199Same product: Libssh2 Libssh2
CVE-2026-7598Same product: Libssh2 Libssh2
CVE-2026-55200Same product: Libssh2 Libssh2
CVE-2024-57908Shared CWE-908
CVE-2024-8654Shared CWE-908
CVE-2025-59204Shared CWE-908
CVE-2024-7526Shared CWE-908
CVE-2021-45686Shared CWE-908

Affected Assets

libssh2
libssh2
≤ 1.11.1

Mitigating Controls

No mitigating controls mapped yet. The per-CVE control annotator has not reached this CVE.

References