{"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","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"HIGH","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.","severity":"high","score":8.1,"published":"2026-04-19T12:00:00.000Z","modified":"2026-11-10T14:10:39.444Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"crates.io","name":"openssl","sources":[{"name":"OSV · GHSA-ghm9-cr32-g9qj","url":"https://osv.dev/vulnerability/GHSA-ghm9-cr32-g9qj"}],"ranges":[{"events":[{"introduced":"0.10.39"},{"fixed":"0.10.78"}],"type":"SEMVER"}],"versions":[],"fixed":["0.10.78"]},{"ecosystem":"crates.io","name":"openssl","sources":[{"name":"OSV · RUSTSEC-2026-0475","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0475"}],"ranges":[{"events":[{"introduced":"0.10.39"},{"fixed":"0.10.78"}],"type":"SEMVER"}],"versions":[],"fixed":["0.10.78"]}],"sourceAffected":[],"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","https://crates.io/crates/openssl","https://rustsec.org/advisories/RUSTSEC-2026-0475.html"],"sources":[{"name":"OSV","id":"GHSA-ghm9-cr32-g9qj","modified":"2026-11-10T14:10:39.444799345Z","url":"https://osv.dev/vulnerability/GHSA-ghm9-cr32-g9qj"},{"name":"OSV","id":"RUSTSEC-2026-0475","modified":"2026-11-10T14:00:02.487653947Z","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0475"}],"assessments":[{"source":"OSV","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":8.1}],"products":[],"remediation":[],"observedAt":"2026-11-10T14:22:00.335Z","kev":{"status":"not-listed","checkedAt":"2026-11-29T02:40:32.039Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-10T14:30:33.012Z","attemptedAt":"2026-11-10T14:30:33.012Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-10T14:30:33.165Z","attemptedAt":"2026-11-10T14:30:33.165Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-10T14:30:32.445Z","attemptedAt":"2026-11-10T14:30:32.445Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-10T14:30:32.389Z","attemptedAt":"2026-11-10T14:30:32.389Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-41681","url":"https://www.first.org/epss/","probability":0.00359,"percentile":0.29931,"date":"2026-11-09","checkedAt":"2026-11-10T14:30:32.389Z"},{"source":"ENISA EUVD","id":"EUVD-2026-25586","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-25586","modified":"Apr 24, 2026, 5:42:54 PM","score":8.1,"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","checkedAt":"2026-11-10T14:30:32.445Z"},{"source":"NVD","id":"CVE-2026-41681","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41681","modified":"2026-07-15T16:51:48.920","score":8.1,"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/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","checkedAt":"2026-11-10T14:30:33.012Z"},{"source":"NVD","id":"CVE-2026-41681","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41681","modified":"2026-07-15T16:51:48.920","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","checkedAt":"2026-11-10T14:30:33.012Z"},{"source":"GitHub Advisory Database","id":"GHSA-ghm9-cr32-g9qj","url":"https://github.com/advisories/GHSA-ghm9-cr32-g9qj","modified":"2026-04-27T16:41:51Z","checkedAt":"2026-11-10T14:30:33.165Z"}],"aiSummary":null}