CVE Explorer
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"rust-openssl","vendor":"rust-openssl","versions":[{"status":"affected","version":">= 0.10.39, < 0.10.78"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:0e87c086544d741ad71b346e13d627653c8cf6a93e449b404dfd9b094ac6d49b · sha256:8a8a252b1ae4b75a… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.1,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:0e87c086544d741ad71b346e13d627653c8cf6a93e449b404dfd9b094ac6d49b · sha256:8a8a252b1ae4b75a… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-121","description":"CWE-121: Stack-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:0e87c086544d741ad71b346e13d627653c8cf6a93e449b404dfd9b094ac6d49b · sha256:8a8a252b1ae4b75a… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/rust-openssl/rust-openssl/commit/826c3888b77add418b394770e2b2e3a72d9f92fe","tags":["x_refsource_MISC"],"url":"https://github.com/rust-openssl/rust-openssl/commit/826c3888b77add418b394770e2b2e3a72d9f92fe"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0e87c086544d741ad71b346e13d627653c8cf6a93e449b404dfd9b094ac6d49b · sha256:8a8a252b1ae4b75a… · /containers/cna/references/2
{"name":"https://github.com/rust-openssl/rust-openssl/pull/2608","tags":["x_refsource_MISC"],"url":"https://github.com/rust-openssl/rust-openssl/pull/2608"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0e87c086544d741ad71b346e13d627653c8cf6a93e449b404dfd9b094ac6d49b · sha256:8a8a252b1ae4b75a… · /containers/cna/references/1
{"name":"https://github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78","tags":["x_refsource_MISC"],"url":"https://github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0e87c086544d741ad71b346e13d627653c8cf6a93e449b404dfd9b094ac6d49b · sha256:8a8a252b1ae4b75a… · /containers/cna/references/3
{"name":"https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-ghm9-cr32-g9qj","tags":["x_refsource_CONFIRM"],"url":"https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-ghm9-cr32-g9qj"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0e87c086544d741ad71b346e13d627653c8cf6a93e449b404dfd9b094ac6d49b · sha256:8a8a252b1ae4b75a… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.