7.5

CVE-2026-41676: rust-openssl_project rust-openssl Incorrect Calculation of Buffer Size

CVSS: 7.5v3.1HighAnalyzed
AliasesSUSE-SU-2026:22737-1SUSE-SU-2026:22910-1SUSE-SU-2026:2777-1
Published 24-04-2026Last modified 24-04-2026

Vulnerability summary

CVE-2026-41676 is a high (CVSS 7.5) Incorrect Calculation of Buffer Size vulnerability in rust-openssl_project rust-openssl. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 19.7% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.29%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 53 · Related 54

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.9.27 to before 0.10.78, Deriver::derive (and PkeyCtxRef::derive) sets len = buf.len() and passes it as the in/out length to EVP_PKEY_derive, relying on OpenSSL to honor it. On OpenSSL 1.1.x, X25519, X448, DH and HKDF-extract ignore the incoming *keylen, unconditionally writing the full shared secret (32/56/prime-size bytes). A caller passing a short slice gets a heap/stack overflow from safe code. OpenSSL 3.x providers do check, so this only impacts older OpenSSL. This vulnerability is fixed in 0.10.78.

CVSS metrics

9 scores · 7 sources · 2 versions

EPSS trend

Probability

0.29%

Chance of exploitation in the next 30 days

Percentile

20%

Versus all other CVEs

30-day change

0.00 pp

From 0.29% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.29%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard20 products
  • bootc-binary< 1.10.0-r5
  • deno< 2.7.13-r0
  • guestproxyagent< 1.0.42-r2 | < 1.0.43-r0
  • komodo-cli< 2.1.2-r2
  • komodo-core< 2.1.2-r2
Suse7 products
  • cryptsetup&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7< 2.8.4-150700.6.4.4
  • s390-tools&distro=SUSE Linux Enterprise Micro 5.3< 2.31.0-150400.7.34.1
  • s390-tools&distro=SUSE Linux Enterprise Micro 5.4< 2.31.0-150400.7.34.1
  • s390-tools&distro=SUSE Linux Enterprise Micro 5.5< 2.31.0-150500.9.32.1
  • s390-tools&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7< 2.41.0-150700.4.26.2
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
Opensuse3 products
  • rustup&distro=openSUSE Tumbleweed< 1.28.2~0-4.1
  • sccache&distro=openSUSE Tumbleweed< 0.16.0~0-2.1
  • sdbootutil&distro=openSUSE Tumbleweed< 1+git20260706.f9f4faf-1.1
Crates.Io1 product
  • openssl≥ 0.9.27, < 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)

9 vendors · 42 products

References

20 links
Show all 20 references