rust-openssl: rustMdCtxRef::digest_final() writes past caller buffer with no length check
Historical advisory saved 10 Nov 2026 14:21:29 UTC. The publisher may have updated it since then. Latest advisory.
osv · GHSA-ghm9-cr32-g9qj
Published`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.
- Source published
- 22 Apr 2026 21:05:02 UTC
- Source modified
- 10 Nov 2026 14:10:39 UTC
- Saved here
- 10 Nov 2026 14:21:29 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V4 · 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
Publisher rating · HIGH