CVE-2026-58050

HIGH
Published Jun 28, 2026 Modified Jun 30, 2026 CWE-190

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.

CVSS v3.1 Score

7.0
HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H

EPSS — Exploit Prediction

0.0033
Probability of exploitation
0.25%
Percentile rank

EPSS estimates the probability that this vulnerability will be exploited in the wild within the next 30 days. A higher score means more likely to be exploited.

Weakness Type (CWE)

CWE-190 Integer Overflow

Affected Products

Vendor Product
libssh2 libssh2

References

Frequently Asked Questions

What is CVE-2026-58050? +
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. It has a CVSS v3.1 base score of 7.0 (HIGH).
How severe is CVE-2026-58050? +
CVE-2026-58050 has a CVSS v3.1 score of 7.0 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching. The EPSS score is 0.0033, placing it in the 0th percentile for exploitation probability.
What products are affected by CVE-2026-58050? +
CVE-2026-58050 affects products from libssh2, specifically: libssh2. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2026-58050? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2026-58050 — free, no signup required.

Start Free Scan