8.1

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

Analyzed
AliasesUBUNTU-CVE-2026-41681DEBIAN-CVE-2026-41681CGA-2hfm-7xv2-mv4h
Published 24-04-2026Last modified 24-04-2026

Vulnerability summary

CVE-2026-41681 is a high (CVSS 8.1) Stack-based Buffer Overflow vulnerability in rust-openssl_project rust-openssl. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 33.3% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 8.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
8.1/10
010
High · v4.0 (CVE.org)
EPSS score
0.37%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 57 · Related 58

Timeline

  1. 24-04-2026
    PublishedVulnerability first disclosed.
  2. 24-04-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

9 scores · 7 sources · 2 versions

EPSS trend

Probability

0.37%

Chance of exploitation in the next 30 days

Percentile

33%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.36% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard20 products
  • bootc-binary< 1.10.0-r5
  • deno< 2.7.13-r0
  • guestproxyagent< 1.0.43-r0 | < 1.0.42-r2
  • komodo-cli< 2.1.2-r2
  • komodo-core< 2.1.2-r2
Wolfi7 products
  • deno< 2.7.13-r0
  • rpm-sequoia< 1.10.1-r10
  • rustup< 1.29.0-r5
  • sccache< 0.14.0-r4
  • sdp-identity-service< 1.3.10-r5
Crates.Io1 product
  • openssl≥ 0.10.39, < 0.10.78
Debian1 product
  • rust-opensslAll versions (No fix recorded) | < 0.10.78-1
Rust-openssl1 product
Rust-openssl_project1 product
Ubuntu1 product
  • rust-opensslAll versions (No fix recorded)

7 vendors · 32 products

References

12 links
Show all 12 references