{"id":"GHSA-ghm9-cr32-g9qj","revision":"94ddbed987464605924069cd2b606b67","records":[{"revision":"94ddbed987464605924069cd2b606b67","observedAt":"2026-11-10T14:21:29.97+00:00","statement":{"source":"osv","id":"GHSA-ghm9-cr32-g9qj","aliases":["CVE-2026-41681","RUSTSEC-2026-0475"],"title":"rust-openssl: rustMdCtxRef::digest_final() writes past caller buffer with no length check","description":"`EVP_DigestFinal()` always writes `EVP_MD_CTX_size(ctx)` to the `out` buffer. If `out` is smaller than that, `MdCtxRef::digest_final()` writes past its end, usually corrupting the stack. This is reachable from safe Rust.","state":0,"publishedAt":"2026-04-22T21:05:02+00:00","modifiedAt":"2026-11-10T14:10:39.4447993+00:00","affected":[{"ecosystem":"crates.io","name":"openssl","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.10.39"},{"kind":"fixed","version":"0.10.78"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-ghm9-cr32-g9qj","https://nvd.nist.gov/vuln/detail/CVE-2026-41681","https://github.com/rust-openssl/rust-openssl/pull/2608","https://github.com/rust-openssl/rust-openssl/commit/826c3888b77add418b394770e2b2e3a72d9f92fe","https://github.com/rust-openssl/rust-openssl","https://github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78"],"sourceUrl":"https://github.com/advisories/GHSA-ghm9-cr32-g9qj","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-ghm9-cr32-g9qj","identifiers":["GHSA-ghm9-cr32-g9qj","CVE-2026-41681","RUSTSEC-2026-0475"]},"retained":false,"historicalAffected":[]}],"coverage":[]}