CVE-2026-93599
HIGH 8.7CVSS 4.0rustls-webpki: Denial of service via panic on malformed CRL BIT STRING
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.
- Published
- 18 Sep 2026
- Last modified
- 22 Sep 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-125CWE-191
- Also known as
- GHSA-82j2-j2ch-gfr8RUSTSEC-2026-0104
- Sources
- NVDJSONOSV GHSA-82j2-j2ch-gfr8JSONOSV RUSTSEC-2026-0104JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | rustls-webpki | < 0.103.13 | 0.103.13 |
| OSV | crates.io | rustls-webpki | >= 0.104.0-alpha.1, < 0.104.0-alpha.7 | 0.104.0-alpha.7 |
| OSV | crates.io | rustls-webpki | >= 0.0.0-0, < 0.103.13; >= 0.104.0-alpha.1, < 0.104.0-alpha.7 | 0.103.13, 0.104.0-alpha.7 |
References
- https://github.com/rustls/webpki/security/advisories/GHSA-82j2-j2ch-gfr8 · WEB
- https://www.vulncheck.com/advisories/rustls-webpki-before-0.103.13-panic-via-empty-bit-string
- https://github.com/rustls/webpki · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0104.html · WEB, ADVISORY
- https://crates.io/crates/rustls-webpki · PACKAGE
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 18 Sep 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Apr 2026)