Buffer overflow in Rust-openssl
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…
Vulnerability class: Buffer Overflow
EPSS: 0.001 (19.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Rust-openssl — versions >= 0.10.39, < 0.10.78
- Rust-openssl_project Rust-openssl
Weakness classification (CWE)
References
- https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-ghm9-cr32-g9qj (x_refsource_CONFIRM, Vendor Advisory)
- https://github.com/rust-openssl/rust-openssl/pull/2608 (x_refsource_MISC, Issue Tracking)
- https://github.com/rust-openssl/rust-openssl/commit/826c3888b77add418b394770e2b2e3a72d9f92fe (Patch, x_refsource_MISC)
- https://github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78 (x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2026-41681?
- CVE-2026-41681 is a critical-severity vulnerability in Rust-openssl, classified under Stack-based Buffer Overflow. CVSS score: 9.8/10. Published 2026-04-24.
- How severe is CVE-2026-41681?
- Critical severity. CVSS v3 base score is 9.8 out of 10.