All reports
High

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

Affected versions

Version ranges need review.

Rust / Cargoopenssl
Affected versions
>=0.10.39 <0.10.78
Fixed version
0.10.78
Rust / Cargoopenssl
Affected versions
>= 0.10.39, < 0.10.78
Fixed version
0.10.78

Exploitation

CVE-2026-41681

Probability of exploitation in the next 30 days: 0.37%

FIRST EPSS · 2026-11-22

Description

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.

Links