Vulnerability Description
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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rust-Openssl Project | Rust-Openssl | >= 0.10.39, < 0.10.78 |
Related Weaknesses (CWE)
References
- https://github.com/rust-openssl/rust-openssl/commit/826c3888b77add418b394770e2b2Patch
- https://github.com/rust-openssl/rust-openssl/pull/2608Issue Tracking
- https://github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78Release Notes
- https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-ghm9-cr32-Vendor Advisory
FAQ
What is CVE-2026-41681?
CVE-2026-41681 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 tha...
How severe is CVE-2026-41681?
CVE-2026-41681 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-41681?
Check the references section above for vendor advisories and patch information. Affected products include: Rust-Openssl Project Rust-Openssl.