1. Home
  2. Vulnerabilities
  3. CVE-2026-41681

CVE-2026-41681

rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.10.39 to before 0.10.78…

Published 24 Apr 2026 · modified 11 Nov 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Medium 41/100

Summary

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.

Affected products and versions

crates.io (2 line(s))
crates.io
ProductVersionsFixed inSource
openssl from 0.10.39 (included) to 0.10.78 (excluded) 0.10.78 OSV
openssl from 0.10.39 (included) to 0.10.78 (excluded) 0.10.78 GitHub Advisory
Rust-openssl project (1 line(s))
Rust-openssl project
ProductVersionsFixed inSource
Rust-openssl from 0.10.39 (included) to 0.10.78 (excluded) — NVD

Fix

Upgrade — crates.io/openssl 0.10.78official source

Source : OSV

Upgrade — crates.io/openssl 0.10.78official source

Source : GitHub Advisory

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
CWE-121 · Corruption mémoire

How this data is obtained and calculated