# CVE-2026-41681

> Vulnerability · severity: **CRITICAL** (CVSS 9.8).

## 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.

## Key facts

- **CVE ID:** CVE-2026-41681
- **Published:** 2026-04-24
- **CVSS severity:** CRITICAL
- **CVSS base score:** 9.8
- **CWE codes:** CWE-121

## Affected products

- `rust-openssl_project:rust-openssl`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-41681

## Citation

> AI Analytics. CVE-2026-41681. Retrieved 2026-08-10 from https://api.ai-analytics.org/cve/CVE-2026-41681. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*