CVE-2026-41678
rust-openssl: Incorrect bounds assertion in aes key wrap
Also known as GHSA-8c75-8mhr-p7r9, RUSTSEC-2026-0463
Mitigation
- Upgrade openssl to 0.10.78 or later.
Who should check
- Projects that depend on crates.io package openssl (>= 0.10.24, < 0.10.78)
- Anyone running rust-openssl >= 0.10.24, < 0.10.78
Vulnerability facts
- Affected
- openssl >= 0.10.24, < 0.10.78
- Fixed in
- 0.10.78
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.2 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:UOpen in CVSS calculator
Show all 12 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- Exploit maturity: Unreported
- EPSS
- 0.46% chance of exploitation in 30 days (percentile 32, 2026-11-26)
- CWE
- CWE-787
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| crates.io openssl | >= 0.10.24, < 0.10.78 | 0.10.78 | osv |
| rust-openssl | >= 0.10.24, < 0.10.78 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-41678. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-41678.md Affected: openssl >= 0.10.24, < 0.10.78 Fixed in: 0.10.78 Steps: 1. Search this machine and project for openssl (crates.io), rust-openssl: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2026-41678 being exploited?
There is no confirmed exploitation: CVE-2026-41678 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.46% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-41678?
High: CVSS 7.2 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-41678?
openssl >= 0.10.24, < 0.10.78.
Is there a fix for CVE-2026-41678?
Yes. Fixed in 0.10.78. Upgrade openssl to 0.10.78 or later.
How do I check if I'm affected by CVE-2026-41678?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.