Vulnerability · Published Sep 18, 2026 · Assigned by VulnCheck
CVE-2026-93599rustls-webpki before 0.103.13 Panic via empty BIT STRING
High 7.5
In plain English
A high-severity security flaw in webpki from rustls. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
rustls-webpki through 0.103.12 (and 0.104.0-alpha releases before 0.104.0-alpha.7) contains a reachable panic in bit_string_flags() in src/der.rs. The input guard fails to reject a named-bit BIT STRING whose content is exactly [0x00] (zero padding bits and no data bytes), so raw_bits.len() - 1 underflows on the empty slice and the subsequent index operation panics (subtract-with-overflow in debug, index-out-of-bounds in release). The condition is reachable through the public API BorrowedCertRevocationList::from_der() when a CRL contains an issuingDistributionPoint extension with such an onlySomeReasons value. Exploitation requires an application that explicitly opts in to CRL revocation checking by passing RevocationOptions to verify_for_usage() and that parses CRL bytes obtained from a source the attacker can influence; the default rustls configuration, which does not use RevocationOptions, is unaffected. A crafted CRL causes a denial of service via the panic. Fixed in 0.103.13 and 0.104.0-alpha.7.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | sequoia-sq | 1.4.0.1-4.el10_2 | ALSA-2026:85848 |
| Debian:13 | rust-rustls-webpki | no fix listed | DEBIAN-CVE-2026-93599 |
| Debian:14 | rust-rustls-webpki | 0.103.13+ds-1 | DEBIAN-CVE-2026-93599 |
| Rocky Linux:10 | rust-sequoia-sq | 0:1.4.0.1-4.el10_2 | RLSA-2026:85848 |
| Ubuntu:24.04:LTS | rust-rustls-webpki | no fix listed | UBUNTU-CVE-2026-93599 |
| Ubuntu:26.04:LTS | rust-rustls-webpki | no fix listed | UBUNTU-CVE-2026-93599 |
Affected products (as reported)
Weakness: CWE-191 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- GitHub Security Advisory (GHSA-82j2-j2ch-gfr8) vendor-advisory
- VulnCheck Advisory: rustls-webpki before 0.103.13 Panic via empty BIT STRING third-party-advisory