CVE-2026-41681

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductRust-openssl
PublishedApr 24, 2026
First seenApr 24, 2026
Weakness typeCWE-121CWE-121

How to fix

Update
  • rust-openssl_project rust-openssl0.10.78 or later

Affected products

ProductAffected versionsFixed in
rust-openssl_project rust-openssl0.10.39 ≤ v < 0.10.780.10.78

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.