IntelligenceAdvisoriesAdvisory
GHSA-ghm9-cr32-g9qj
rust-openssl: rustMdCtxRef::digest_final() writes past caller buffer with no length check
In short
What to know.
- Package
- openssl crates.iofrom 0.10.39 before 0.10.78
- What to do
- Upgrade openssl to 0.10.78 or later.
- Source's rating
- HighNoumen has not assessed it.
- Noumen finding
- NMN-2026-0120Candidate. Severity high, confidence high.
3 December 2026
Source
- OSV record GHSA-ghm9-cr32-g9qjosv.devRetrieved 3 December 2026
Full record
- Identifier
- GHSA-ghm9-cr32-g9qj
- Aliases
- CVE-2026-41681, RUSTSEC-2026-0475
- Severity
- High, as rated by the source. Noumen has not assessed it.
- CVSS
- 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
- Fixed versions
- 0.10.78
- Published
- 22 April 2026
- Modified
- 10 November 2026
- Source
- OSV record GHSA-ghm9-cr32-g9qj, retrieved 3 December 2026, 00:00 UTC
Affected packages and ranges
| Package | Affected versions | Fixed in |
|---|---|---|
| openssl crates.io | from 0.10.39 before 0.10.78 | 0.10.78 |
Affected means inside a published range, not that the code path is reachable in your project.
Details, as published by the source
`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.
References
- webgithub.com/rust-openssl/rust-openssl/security/advisories/GHSA-ghm9-cr32-g9qj
- advisorynvd.nist.gov/vuln/detail/CVE-2026-41681
- webgithub.com/rust-openssl/rust-openssl/pull/2608
- webgithub.com/rust-openssl/rust-openssl/commit/826c3888b77add418b394770e2b2e3a72d9f92fe
- packagegithub.com/rust-openssl/rust-openssl
- webgithub.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78
