CVE-2026-41677
LOW 1.7CVSS 4.0rust-opennssl has an Out-of-bounds read in PEM password callback when returning an oversized length
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.
- Published
- 24 Apr 2026
- Last modified
- 11 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-125CWE-1284
- Also known as
- GHSA-xmgf-hq76-4vx2RUSTSEC-2026-0479
- Sources
- NVDJSONOSV GHSA-xmgf-hq76-4vx2JSONOSV RUSTSEC-2026-0479JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | LOW 1.7 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:U | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rust-openssl_project | rust-opensslcpe:2.3:a:rust-openssl_project:rust-openssl:*:*:*:*:*:rust:*:* |
>= 0.9.0, < 0.10.78 | 0.10.78 |
| OSV | crates.io | openssl | >= 0.9.0, < 0.10.78 | 0.10.78 |
References
- https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-xmgf-hq76-4vx2 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-41677 · ADVISORY
- https://github.com/rust-openssl/rust-openssl/pull/2605 · WEB
- https://github.com/rust-openssl/rust-openssl/commit/5af6895c907773699f37f583f409b862284062b1 · WEB
- https://github.com/rust-openssl/rust-openssl · PACKAGE
- https://github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78 · WEB
- https://crates.io/crates/openssl · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0479.html · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 24 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Apr 2026)