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

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 0.10.78 (CNA); fix release not confirmed
- Status: published
- Published: 2026-04-24 · Modified: 2026-04-24
- Aliases: SUSE-SU-2026:22737-1, SUSE-SU-2026:22910-1, SUSE-SU-2026:2777-1, SUSE-SU-2026:3474-1, SUSE-SU-2026:3475-1, UBUNTU-CVE-2026-41676, DEBIAN-CVE-2026-41676, CGA-3cpc-66qq-q488, CGA-4q9p-ff3h-cqqv, CGA-73ph-m72f-g59w, CGA-7539-h9mh-22cw, CGA-83pq-mv3w-pjp8, CGA-fj3f-f36v-q4x9, CGA-hwhf-92q2-vmjx, CGA-jghx-phrq-2xvx, openSUSE-SU-2026:11194-1, openSUSE-SU-2026:11205-1, openSUSE-SU-2026:11206-1, CGA-2p76-rwqj-c55g, CGA-33jq-m85r-572j, CGA-3pr7-cgvf-rw2m, CGA-4mhh-43j8-pr39, CGA-4q86-3px6-rxr5, CGA-4xrr-h5hx-2h65, CGA-6x56-ppf3-rx5x, CGA-7295-hwp5-pc6p, CGA-77vw-h6fq-9j62, CGA-7xq9-4v9p-qf4p, CGA-9ww6-fwfv-ph56, CGA-c2j7-8jh3-fmcj, CGA-cfr4-whp3-2crm, CGA-f449-6pc4-qv5h, CGA-f4xc-m3ff-8vc5, CGA-gj32-cfq8-5587, CGA-gwj7-hpcr-mmf9, CGA-hh24-4h55-fq5r, CGA-j9mv-74xj-7f54, CGA-m5wp-3694-3h66, CGA-m7rx-pm8x-h2fh, CGA-pfxg-r94p-9fpm, GHSA-pqf5-4pqq-29f5, CGA-q278-h223-7948, CGA-qr5j-r9jq-5h7r, CGA-rf8v-h2xw-g62r, CGA-xh4m-2542-r9pg, RUSTSEC-2026-0473
- Record: https://cvemate.com/vulnerability/CVE-2026-41676 · JSON: https://cvemate.com/vulnerability/CVE-2026-41676/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.296%, percentile 23.917%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 42)

- chainguard bootc-binary (Chainguard): \< 1.10.0-r5
- chainguard deno (Chainguard): \< 2.7.13-r0
- chainguard guestproxyagent (Chainguard): \< 1.0.42-r2 \| \< 1.0.43-r0
- chainguard komodo-cli (Chainguard): \< 2.1.2-r2
- chainguard komodo-core (Chainguard): \< 2.1.2-r2
- chainguard komodo-periphery (Chainguard): \< 2.1.2-r2
- chainguard rpm-sequoia (Chainguard): \< 1.10.1-r10
- chainguard rustls-openssl-client (Chainguard): \< 1.0.0-r4
- chainguard rustup (Chainguard): \< 1.29.0-r5
- chainguard sccache (Chainguard): \< 0.14.0-r4
- chainguard sdp-identity-service (Chainguard): \< 1.3.10-r5
- chainguard sentry-cli (Chainguard): \< 3.4.0-r0
- chainguard sqlx (Chainguard): \< 0.8.6-r5
- chainguard typst (Chainguard): \< 0.14.2-r7
- chainguard valkey-ldap (Chainguard): \< 1.0.0-r5
- chainguard vector (Chainguard): \< 0.55.0-r1
- chainguard ztunnel-fips-1.26 (Chainguard): All versions (No fix recorded)
- chainguard ztunnel-fips-1.27 (Chainguard): \< 1.27.9-r7
- chainguard ztunnel-fips-1.28 (Chainguard): \< 1.28.5-r2
- chainguard ztunnel-fips-1.29 (Chainguard): \< 1.29.1-r3

## References (first 20 of 22)

- <https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-pqf5-4pqq-29f5>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202622737-1/>
- <https://bugzilla.suse.com/1270185>
- <https://www.suse.com/security/cve/CVE-2026-41676>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202622910-1/>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20262777-1/>
- <https://bugzilla.suse.com/1241612>
- <https://bugzilla.suse.com/1259314>
- <https://bugzilla.suse.com/1261813>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20263474-1/>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20263475-1/>
- <https://ubuntu.com/security/CVE-2026-41676>
- <https://www.cve.org/CVERecord?id=CVE-2026-41676>
- <https://security-tracker.debian.org/tracker/CVE-2026-41676>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41676.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41676>
- <https://github.com/rust-openssl/rust-openssl/pull/2606>
- <https://github.com/rust-openssl/rust-openssl/commit/09b425e5f59a2466d806e71a83a9a449c914c596>
- <https://github.com/rust-openssl/rust-openssl>
- <https://github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78>

---

Data as of 2026-12-05T08:33:25.473Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
