CVE-2026-41677

GHSA-xmgf-hq76-4vx2 · RUSTSEC-2026-0479 · published 19 Apr 2026 · updated 12 Nov 2026

rust-openssl: Out-of-bounds read in PEM password callback when user callback returns an oversized length

1.7LowCVSS 1.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.10.78 and openssl 0.10.78.

rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.0 to before 0.10.78, the *_from_pem_callback APIs did not validate the length returned by the user's callback. A password callback that returns a value larger than the buffer it was given can cause some versions of OpenSSL to over-read this buffer. OpenSSL 3.x is not affected by this. This vulnerability is fixed in 0.10.78.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
rust-openssl>=0.9.0 <0.10.78
rust-openssl_projectrust-openssl>=0.9.0 <0.10.780.10.78
cargo: openssl>=0.9.0 <0.10.780.10.78

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in openssl (Cargo), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-41677 severity on Zeptric[![CVE-2026-41677](https://zeptric.io/badge/cve/CVE-2026-41677.svg)](https://zeptric.io/cve/CVE-2026-41677)