{"id":"CVE-2026-41677","published":"2026-04-24T17:17:17Z","modified":"2026-04-24T18:02:27Z","title":"rust-openssl: Out-of-bounds read in PEM password callback when user callback returns an oversized length","vendor":"rust-openssl","product":"rust-openssl","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":1.7,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00305,"percentile":0.23709,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-1284","name":"Improper Validation of Specified Quantity in Input"}],"references":[{"url":"https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-xmgf-hq76-4vx2","tags":["x_refsource_CONFIRM"]}],"priority":{"score":5.9,"factors":[{"name":"EPSS percentile","points":4.74},{"name":"CVSS severity","points":1.19}]},"vendorSlug":"rust-openssl","affectedVersions":[{"vendor":"rust-openssl","product":"rust-openssl","versions":[">= 0.9.0, < 0.10.78"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-24T18:02:18.350112Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"openssl","vulnerableRanges":[">=0.9.0, <0.10.78"],"patched":["0.10.78"],"from":["GHSA-xmgf-hq76-4vx2","RUSTSEC-2026-0479"],"provenance":"source"}],"summary":{"text":"The rust-openssl crate, which provides Rust bindings for OpenSSL, contains an out-of-bounds read in its *_from_pem_callback APIs, which fail to validate the length returned by a user-supplied password callback. An attacker able to cause such a password callback to return an oversized length can make affected OpenSSL versions over-read the buffer, and the attack requires only network access with no authentication, though the attacker's influence over the callback's return value is a precondition.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:13Z"},"euvd":{"id":"EUVD-2026-25583","exploited":false,"provenance":"source"}}