CVE-2026-41681: rust-openssl: MdCtxRef::digest_final() writes past caller buffer with no length check
Vulnerability summary
CVE-2026-41681 is a high (CVSS 8.1) Stack-based Buffer Overflow vulnerability in rust-openssl_project rust-openssl. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 33.3% of scored vulnerabilities.
Severe, CVSS 8.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 57 · Related 58Timeline
- 24-04-2026PublishedVulnerability first disclosed.
- 24-04-2026Last modifiedVulnerability information updated.
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 metrics
9 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.3CriticalCVSS: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:UDiffers
- OSV · WolfiEcosystem advisory · calculated9.3CriticalCVSS: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:UDiffers
- OSV · ChainguardEcosystem advisory · calculated9.3CriticalCVSS: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:UDiffers
- OSV · Crates.ioEcosystem advisory · calculated9.3CriticalCVSS: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:UDiffers
- NVDNIST8.1HighCVSS: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
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.37%
Chance of exploitation in the next 30 days
Percentile
33%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.36% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard20 products
- bootc-binary< 1.10.0-r5
- deno< 2.7.13-r0
- guestproxyagent< 1.0.43-r0 | < 1.0.42-r2
- komodo-cli< 2.1.2-r2
- komodo-core< 2.1.2-r2
Wolfi7 products
- deno< 2.7.13-r0
- rpm-sequoia< 1.10.1-r10
- rustup< 1.29.0-r5
- sccache< 0.14.0-r4
- sdp-identity-service< 1.3.10-r5
Crates.Io1 product
- openssl≥ 0.10.39, < 0.10.78
Debian1 product
- rust-opensslAll versions (No fix recorded) | < 0.10.78-1
Rust-openssl1 product
- rust-openssl≥ 0.10.39, < 0.10.78
Rust-openssl_project1 product
- rust-openssl≥ 0.10.39, < 0.10.78
Ubuntu1 product
- rust-opensslAll versions (No fix recorded)
7 vendors · 32 products
References
12 links- github.com/rust-openssl/rust-openssl/security/advisories/GHSA-ghm9-cr32-g9qjX Refsource CONFIRMREPORTAdvisoryWEBVendor Advisory
- github.com/rust-openssl/rust-openssl/commit/826c3888b77add418b394770e2b2e3a72d9f92feX Refsource MISCREPORTFIXWEBPatch
Show all 12 references
- crates.io/crates/opensslPACKAGE