CVE-2026-41678 rust-openssl: Incorrect bounds assertion in aes key wrap
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- OpenSSLUbuntuDebian
Description
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.
Upgrade path
13 packages: 3 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux clamav(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| azure linux rpm-ostree(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| azure linux rust(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| debian/rust-openssl(Debian 12) | = 0.10.45-1; = 0.10.57-1; = 0.10.64-1; = 0.10.68-1 +7 more | No fix listed | No fix yet |
| debian/rust-openssl(Debian 13) | = 0.10.72-1; = 0.10.73-1; = 0.10.78-1; = 0.10.79-1 +2 more | No fix listed | No fix yet |
| ubuntu/rust-openssl(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/rust-openssl(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/rust-openssl(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/rust-openssl(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| crates.io openssl(crates.io) | >= 0.10.24, < 0.10.78 | 0.10.78 | Fixed |
| debian/rust-openssl(Debian 14) | < 0.10.78-1; = 0.10.72-1; = 0.10.73-1 | 0.10.78-1 | Fixed |
| rust-openssl project rust-openssl | >= 0.10.24, < 0.10.78 | 0.10.78 | Fixed |
| rust-openssl | = >= 0.10.24, < 0.10.78 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rust-openssl | = >= 0.10.24, < 0.10.78 | No fix listed |
| debian/rust-openssl(Debian:12) | All versions | No fix listed |
| debian/rust-openssl(Debian:14) | < 0.10.78-1 | 0.10.78-1 |
| debian/rust-openssl(Debian:13) | All versions | No fix listed |
| azure linux clamav(Azure Linux:3.0) | All versions | No fix listed |
| azure linux rpm-ostree(Azure Linux:3.0) | All versions | No fix listed |
| azure linux rust(Azure Linux:3.0) | All versions | No fix listed |
| crates.io openssl(crates.io) | >= 0.10.24, < 0.10.78 | 0.10.78 |
| ubuntu/rust-openssl(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/rust-openssl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/rust-openssl(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/rust-openssl(Ubuntu:26.10) | All versions | No fix listed |
| rust-openssl project rust-openssl | >= 0.10.24, < 0.10.78 | 0.10.78 |
| debian/rust-openssl(Debian:12) | = 0.10.45-1 | No fix listed |
| debian/rust-openssl(Debian:12) | = 0.10.57-1 | No fix listed |
| debian/rust-openssl(Debian:12) | = 0.10.64-1 | No fix listed |
| debian/rust-openssl(Debian:12) | = 0.10.68-1 | No fix listed |
| debian/rust-openssl(Debian:12) | = 0.10.70-1 | No fix listed |
| debian/rust-openssl(Debian:12) | = 0.10.72-1 | No fix listed |
| debian/rust-openssl(Debian:12) | = 0.10.73-1 | No fix listed |
| debian/rust-openssl(Debian:12) | = 0.10.78-1 | No fix listed |
| debian/rust-openssl(Debian:12) | = 0.10.79-1 | No fix listed |
| debian/rust-openssl(Debian:12) | = 0.10.81-1 | No fix listed |
| debian/rust-openssl(Debian:13) | = 0.10.72-1 | No fix listed |
| debian/rust-openssl(Debian:13) | = 0.10.73-1 | No fix listed |
Show 5 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/rust-openssl(Debian:13) | = 0.10.78-1 | No fix listed |
| debian/rust-openssl(Debian:13) | = 0.10.79-1 | No fix listed |
| debian/rust-openssl(Debian:13) | = 0.10.81-1 | No fix listed |
| debian/rust-openssl(Debian:14) | = 0.10.72-1 | No fix listed |
| debian/rust-openssl(Debian:14) | = 0.10.73-1 | No fix listed |
References
- https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-8c75-8mhr-p7r9 vendor-advisory
- Debian Security Tracker CVE-2026-41678 vendor-advisory
- bugs.debian.org issue-tracking
- MSRC Security Update Guide vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com product
- github.com
- crates.io product
- rustsec.org vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org