Read the docs
TI-2026-30195 Aliases CVE-2026-41678GHSA-8c75-8mhr-p7r9

rust-openssl: Incorrect bounds assertion in aes key wrap

Priority LOW 33CWE-787Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-787 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00251 16th percentileScored 2026-11-07
Fix Fixed rust-openssl (rust-openssl): 0.10.78openssl (crates.io): 0.10.78

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
rust-opensslrust-openssl0.10.24 to before 0.10.780.10.78Patch availableCNA
—openssl (crates.io)0.10.24 to before 0.10.780.10.78Patch availableGHSA-8c75-8mhr-p7r9
  • rust-openssl Vendorrust-openssl Affected 0.10.24 to before 0.10.78 Fixed in 0.10.78 Patch available CNA
  • openssl (crates.io) Vendor— Affected 0.10.24 to before 0.10.78 Fixed in 0.10.78 Patch available GHSA-8c75-8mhr-p7r9

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:rust-openssl_project:rust-openssl:*:*:*:*:*:rust:*:*0.10.24 to before 0.10.78Vulnerablerust-openssl
  • cpe:2.3:a:rust-openssl_project:rust-openssl:*:*:*:*:*:rust:*:* Versions 0.10.24 to before 0.10.78 Vulnerable ·rust-openssl

Remediation

  • Fix · CNA rust-openssl (rust-openssl) Fixed in 0.10.78
  • Fix · GHSA-8c75-8mhr-p7r9 openssl (crates.io) Fixed in 0.10.78 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-41678
  2. 2026-10-03 Alias added: GHSA-8c75-8mhr-p7r9

References

  • TI-2018-14959 An issue was discovered in the openssl crate before 0.10.9 for Rust. CVSS 3.0CRITICAL 9.8
  • TI-2026-30198 rust-openssl: MdCtxRef::digest_final() writes past caller buffer with no length check CVSS 4.0HIGH 8.1
  • TI-2026-30193 rust-openssl: Deriver::derive and PkeyCtxRef::derive can overflow short buffers on OpenSSL 1.1.1 CVSS 4.0HIGH 7.2
  • TI-2016-08969 An issue was discovered in the openssl crate before 0.9.0 for Rust. CVSS 3.0HIGH 8.1
  • TI-2026-30300 rust-openssl: Unchecked callback-returned length in PSK and cookie generate trampolines… CVSS 4.0HIGH 8.3
  • TI-2026-30194 rust-openssl: Out-of-bounds read in PEM password callback when user callback returns an oversized length CVSS 4.0LOW 1.7

Sources