
CVE catalog
CVE-2026-41678
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 th
- Severity
- High · CVSS 7.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.25% · Oct 23, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rust-openssl | sid | 0.10.81-1 | fixed |
| Debian | rust-openssl | forky | 0.10.81-1 | fixed |
| Debian | rust-openssl | trixie | 0.10.72-1 | vulnerable |
| Debian | rust-openssl | bookworm | 0.10.45-1 | vulnerable |
| Cpe | rust-openssl | Not reported | Not reported | vulnerable |
| Cpe | rust-openssl | Not reported | 0.10.78 | fixed |
| Opensuse | aws-nitro-enclaves-cli | tumbleweed | 1.4.5~git0.18a5f6f-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rust-openssl | source | sid | 0.10.78-1 | not yet assigned | Not reported | [1134881] |
| Debian | rust-openssl | source | forky | 0.10.78-1 | not yet assigned | Not reported | [1134881] |
| Debian | rust-openssl | source | trixie | (unfixed) | not yet assigned | Not reported | [1134881] |
| Debian | rust-openssl | source | bookworm | (unfixed) | not yet assigned | Not reported | [1134881] |
| Cpe | rust-openssl | cpe | Not reported | 0.10.78 | Not reported | Not reported | Not reported |
| Opensuse | aws-nitro-enclaves-cli | rpm | tumbleweed | 1.4.5~git0.18a5f6f-1.1 | Not reported | OPENSUSE-SU-2026:11275-1 | Not reported |
Notes
[trixie] rust-openssl: Minor issue [bookworm] rust-openssl: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [librust-openssl-dev]Affected
Source package: [rust-openssl]
Details (2)
0.10.45-1· amd64 · bookwormAffected
nvd · rust-openssl · debian · bookworm; nvd · rust-openssl · debian · 12
0.10.45-1· arm64 · bookwormAffected
nvd · rust-openssl · debian · bookworm; nvd · rust-openssl · debian · 12
[Debian 13 (Trixie)]
- [librust-openssl-dev]Affected
Source package: [rust-openssl]
Details (2)
0.10.72-1· amd64 · trixieAffected
nvd · rust-openssl · debian · 13
0.10.72-1· arm64 · trixieAffected
nvd · rust-openssl · debian · 13
[openSUSE Tumbleweed]
Source package: [aws-nitro-enclaves-cli]
Details (1)
1.4.5~git0.18a5f6f-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.5~git0.18a5f6f-1.1Version impact unknown
nvd · aws-nitro-enclaves-cli · opensuse · tumbleweed
- [system-group-ne]Unknown
Source package: [aws-nitro-enclaves-cli]
Details (1)
1.4.5~git0.18a5f6f-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.5~git0.18a5f6f-1.1Version impact unknown
nvd · aws-nitro-enclaves-cli · opensuse · tumbleweed
- [aws-nitro-enclaves-cli]Fixed
Source package: [aws-nitro-enclaves-cli]
Details (1)
1.4.5~git0.18a5f6f-1.2· x86_64 · tumbleweedFixed · Fixed:
1.4.5~git0.18a5f6f-1.1nvd · aws-nitro-enclaves-cli · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-41678]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-41678]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11275-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-41678]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1657.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]