7.5

CVE-2026-41676: rust-openssl: Deriver::derive and PkeyCtxRef::derive can overflow short buffers on OpenSSL 1.1.1

Analyzed
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.30% chance of exploitation in the next 30 days, higher than 23.9% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.2 (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
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.30%
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 54 · Related 55

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.30%

Chance of exploitation in the next 30 days

Percentile

24%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.29% 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.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

22 links
Show all 22 references