Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2026-58050

7.0 · HIGH
Published Jun 28, 2026 libssh2 CWE-190

Overview

CVE-2026-58050 is a high-severity vulnerability affecting libssh2 libssh2. It was published on June 28, 2026 and has a CVSS 3.1 base score of 7.0 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.0, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from libssh2. Update libssh2 to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
libssh2 libssh2 0 Affected

Frequently Asked Questions

What is CVE-2026-58050?

CVE-2026-58050 is a high-severity vulnerability affecting libssh2 libssh2. It was published on June 28, 2026 and has a CVSS 3.1 base score of 7.0 (HIGH).

How severe is CVE-2026-58050?

This vulnerability has a CVSS 3.1 base score of 7.0, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2026-58050?

Check the references section for vendor advisories and patches from libssh2. Update libssh2 to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-58050?

CyberStrike's AI-powered security agents can automatically detect CVE-2026-58050 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.

Browse by year 2026