# CVE-2026-41678: rust-openssl: Incorrect bounds assertion in aes key wrap

- 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: UBUNTU-CVE-2026-41678, DEBIAN-CVE-2026-41678, CGA-39ph-jp9c-v7cp, CGA-66q7-5v8c-m6rq, CGA-7pv2-wc8g-2hmh, CGA-7qxm-rmjj-mxw4, CGA-896w-xxfx-h8gx, CGA-f7hg-rjhq-gmcm, CGA-hxwv-47q6-3r4f, CGA-qcq7-4w24-x7j7, CGA-266m-7mr4-2pp5, CGA-39j4-jpvx-79r7, CGA-67qp-87w2-jgj7, CGA-7p5m-444g-326h, CGA-9f2c-vh76-gmfw, CGA-9mrf-6c9f-fhwp, CGA-9vf8-mwh7-857m, CGA-cmxm-27f8-68rv, CGA-gqff-hpcx-3wfm, CGA-hq28-fpc6-7qrw, CGA-j5x7-rrv9-q2xm, CGA-jhh8-whh8-6j2w, CGA-m2rg-fgr4-x47g, CGA-mf4h-rwgj-6rp2, CGA-mfw7-f77q-896f, CGA-mh6x-83fx-735q, CGA-mhc6-4cmh-8xph, CGA-p77p-8c9q-qj95, GHSA-8c75-8mhr-p7r9, CGA-q868-5jpf-5c39, CGA-qj3m-7cgc-43f9, CGA-r4vv-g96m-q25w, CGA-r825-pfh2-hpc5, CGA-vvp9-8qm9-7cvg, CGA-wg6v-wr3r-xmvc, CGA-wmr8-q5pp-3758, CGA-x32x-r46q-39xq, RUSTSEC-2026-0463
- Record: https://cvemate.com/vulnerability/CVE-2026-41678 · JSON: https://cvemate.com/vulnerability/CVE-2026-41678/json

## Description

```text
rust-openssl provides OpenSSL bindings for the Rust programming language.  From  to before 0.10.78, aes::unwrap_key() contains an incorrect assertion: it checks that out.len() + 8 <= in_.len(), but this condition is reversed. The intended invariant is out.len() >= in_.len() - 8, ensuring the output buffer is large enough. Because of the inverted check, the function only accepts buffers at or below the minimum required size and rejects larger ones. If a smaller buffer is provided the function will write past the end of out by in_.len() - 8 - out.len() bytes, causing an out-of-bounds write from a safe public function. This vulnerability is fixed in 0.10.78.
```

## Signals

- CVSS: 8.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.261%, percentile 19.001%, 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 32)

- chainguard bootc-binary (Chainguard): \< 1.10.0-r5
- chainguard deno (Chainguard): \< 2.7.13-r0
- chainguard guestproxyagent (Chainguard): \< 1.0.43-r0 \| \< 1.0.42-r2
- 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

- <https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-8c75-8mhr-p7r9>
- <https://ubuntu.com/security/CVE-2026-41678>
- <https://www.cve.org/CVERecord?id=CVE-2026-41678>
- <https://security-tracker.debian.org/tracker/CVE-2026-41678>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41678.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41678>
- <https://github.com/rust-openssl/rust-openssl/pull/2604>
- <https://github.com/rust-openssl/rust-openssl/commit/718d07ff8ff7be417d5b7a6a0047f1607520b3b6>
- <https://github.com/rust-openssl/rust-openssl>
- <https://github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78>
- <https://crates.io/crates/openssl>
- <https://rustsec.org/advisories/RUSTSEC-2026-0463.html>

---

Data as of 2026-12-05T08:09:09.917Z. 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
