NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Rust (crates.io)

CVE-2026-41681: rust-openssl: rustMdCtxRef::digest_final() writes past caller buffer with no length check

highCVSS 4.0 8.1GHSA-ghm9-cr32-g9qj

EVPDigestFinal() always writes EVPMDCTXsize(ctx) to the out buffer. If out is smaller than that, MdCtxRef::digestfinal() writes past its end, usually corrupting the stack. This is reachable from safe Rust.

Published Apr 22, 2026 · Updated Apr 27, 2026

Affected packages

openssl

Ecosystem
Rust (crates.io)
Affected
>= 0.10.39, < 0.10.78
Fixed in
0.10.78
Check
cargo tree -i openssl

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Rust (crates.io) vulnerabilities

All Rust (crates.io) entries