Vulnerability
CVE-2026-41681
rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.10.39 to before 0.10.78, 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. This vulnerability is fixed in 0.10.78.
97 advisories report this vulnerability, across 8 ecosystems.
Advisories in Chainguard
- CGA-2hfm-7xv2-mv4h
- CGA-2rm7-68hj-qh98
- CGA-33g7-v6r6-6jwc
- CGA-47xf-fj3c-hx6r
- CGA-5v85-hpm8-xcwh
- CGA-633p-j3m2-99vh
- CGA-63pp-g4w5-rw28
- CGA-6r96-xq76-53fg
- CGA-757v-r4fx-9qhv
- CGA-7c2m-4fm9-rxxr
- CGA-7qq9-ch9c-8hv5
- CGA-8fmw-98jg-4p5v
- CGA-8pj3-9gr5-7frm
- CGA-9rp5-prw4-9v86
- CGA-f96p-fx7j-78pc
- CGA-fx94-f4g3-q46j
- CGA-hvp9-c9g3-2p57
- CGA-j9fp-v7vf-2chx
- CGA-jvqf-rw7c-fwp5
- CGA-m523-j9qp-7435
- CGA-mc79-rc3r-mv9p
- CGA-mg77-m7r8-2f27
- CGA-mq8c-5cvp-69w2
- CGA-mr6w-xrcr-g5fv
- CGA-p3cp-v435-cwq7
- CGA-pjjq-qp43-76mw
- CGA-q723-wfv7-376c
- CGA-rmvp-v3xr-f97g
- CGA-rv93-r34w-rxm3
- CGA-wr3p-4fr8-5wvf
- CGA-x627-cr3g-pm65
- CGA-x9j7-pf5q-p82g
- CGA-xhcg-v3jv-5q4x
- CGA-xm4v-5rxx-7w7v
References
- https://github.com/rust-openssl/rust-openssl/commit/826c3888b77add418b394770e2b2e3a72d9f92fe
- https://github.com/rust-openssl/rust-openssl/pull/2608
- https://github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78
- https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-ghm9-cr32-g9qj