CVE-2026-41678

rust-openssl: Incorrect bounds assertion in aes key wrap

HIGH
8.1
CVSS Score
Published: April 24, 2026 at 05:18 PM UTC
Updated: July 17, 2026 at 07:55 PM UTC
2 products affected across 2 vendorsRust OpenSSLOpenSSL

Using rust-openssl by rust-openssl?

Get instant alerts when new vulnerabilities affect rust-openssl - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.1
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0.10.24 ≤ v < 0.10.78
Affected range stops below 0.10.78, so it looks safe — our inference, not a vendor statement
v < 0.10.78
Affected range stops below 0.10.78, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card