Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-97434.json
JSON Data
https://api.osv.dev/v1/vulns/AZL-97434
Upstream
Published
2026-06-28T02:16:32Z
Modified
2026-09-09T14:18:11Z
Summary
CVE-2026-58050 affecting package rust 1.96.1-1
Details

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.

References

Affected packages

Azure Linux:3 / rust

Package

Name
rust
Purl
pkg:rpm/azure-linux/rust

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.85.0
Last Affected
1.96.1-1

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-97434.json"