# CVE-2026-93599: rustls-webpki before 0.103.13 Panic via empty BIT STRING

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-22T12:00:00.000Z
- Modified: 2026-09-22T20:25:55.870Z
- Also known as: GHSA-82j2-j2ch-gfr8, RUSTSEC-2026-0104
- Weaknesses: CWE-125, CWE-191
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- rustls webpki: before 0.103.13; from 0.104.0-alpha.1 before 0.104.0-alpha.7
- rustls-webpki (crates.io): before 0.103.13; from 0.104.0-alpha.1 before 0.104.0-alpha.7; from 0.0.0-0 before 0.103.13

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/rustls/webpki/security/advisories/GHSA-82j2-j2ch-gfr8> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/rustls-webpki-before-0.103.13-panic-via-empty-bit-string> (third-party-advisory)
- <https://github.com/rustls/webpki> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0104.html> (advisory, web)
- <https://crates.io/crates/rustls-webpki> (package)

## Sources

- CVE List: [CVE-2026-93599](https://www.cve.org/CVERecord?id=CVE-2026-93599), CVE Terms of Use, modified 2026-09-18
- GitHub Advisory Database: [GHSA-82j2-j2ch-gfr8](https://github.com/advisories/GHSA-82j2-j2ch-gfr8), CC-BY-4.0, modified 2026-09-19
- RustSec Advisory Database: [RUSTSEC-2026-0104](https://rustsec.org/advisories/RUSTSEC-2026-0104.html), CC0-1.0, modified 2026-09-19
- NVD: [CVE-2026-93599](https://nvd.nist.gov/vuln/detail/CVE-2026-93599), Public domain, modified 2026-09-22

---

Page: https://cve.day/CVE-2026-93599 · Whole record: https://cve.day/CVE-2026-93599.json · Rebuilt by cve.day 2026-11-25T22:59:39.594Z
