CVE-2026-41677: Vulnerability in Rust-openssl Project Rust-openssl
Critical. 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.
crates.io, CWE-125, CWE-1284
- Exploitation
- None confirmed
- Severity
- 9.1 of 10
- Attack likelihood
- 0.3 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-xmgf-hq76-4vx2
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Weakness
- CWE-125, CWE-1284
- Published
- 22 Apr 2026
- Last change
- 11 Nov 2026
- Likelihood rank
- Higher than 25 % of all rated vulnerabilities
- Analysis status
- Analyzed
- Ecosystem
- crates.io
Affected products
Affected versions and the first fixed release
- Rust-openssl Project Rust-openssl From 0.9.0 before 0.10.78. Fixed in 0.10.78
Affected packages
Vulnerable version ranges and fixed releases
- openssl crates.io, Affected from 0.9.0 before 0.10.78. Fixed in 0.10.78
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
- github.com/rust-openssl/rust-openssl/pull/2605
- github.com/rust-openssl/rust-openssl/commit/5af6895c907773699f37f583f409b862284062b1
- github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78
Related
- Rust-openssl vulnerabilities Recent advisories, watch this product