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

Weakness classification (CWE)

References

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.