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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:rust-openssl_project:rust-openssl:*:*:*:*:*:rust:*:*

History

28 Apr 2026, 17:44

Type Values Removed Values Added
References () https://github.com/rust-openssl/rust-openssl/commit/826c3888b77add418b394770e2b2e3a72d9f92fe - () https://github.com/rust-openssl/rust-openssl/commit/826c3888b77add418b394770e2b2e3a72d9f92fe - Patch
References () https://github.com/rust-openssl/rust-openssl/pull/2608 - () https://github.com/rust-openssl/rust-openssl/pull/2608 - Issue Tracking
References () https://github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78 - () https://github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78 - Release Notes
References () https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-ghm9-cr32-g9qj - () https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-ghm9-cr32-g9qj - Vendor Advisory
First Time Rust-openssl Project
Rust-openssl Project rust-openssl
CPE cpe:2.3:a:rust-openssl_project:rust-openssl:*:*:*:*:*:rust:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8

24 Apr 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-24 18:16

Updated : 2026-04-28 17:44


NVD link : CVE-2026-41681

Mitre link : CVE-2026-41681

CVE.ORG link : CVE-2026-41681


JSON object : View

Products Affected

rust-openssl_project

  • rust-openssl
CWE
CWE-121

Stack-based Buffer Overflow