{"id":"CVE-2026-93599","published":"2026-09-18T13:20:10Z","modified":"2026-09-18T14:15:25Z","title":"rustls-webpki before 0.103.13 Panic via empty BIT STRING","vendor":"rustls","product":"webpki","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00488,"percentile":0.34726,"provenance":"source"},"cwes":[{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)"}],"references":[{"url":"https://github.com/rustls/webpki/security/advisories/GHSA-82j2-j2ch-gfr8","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/rustls-webpki-before-0.103.13-panic-via-empty-bit-string","tags":["third-party-advisory"]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":6.95},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"rustls","affectedVersions":[{"vendor":"rustls","product":"webpki","versions":["< 0.103.13",">= 0.104.0-alpha.1, < 0.104.0-alpha.7"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-18T14:04:54.272751Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"rustls-webpki","vulnerableRanges":[">=0.0.0-0, <0.103.13",">=0.104.0-alpha.1, <0.104.0-alpha.7"],"patched":["0.103.13","0.104.0-alpha.7"],"from":["RUSTSEC-2026-0104"],"provenance":"source"}],"summary":{"text":"The flaw is an integer underflow and resulting panic in the bit_string_flags() function in src/der.rs of the rustls-webpki library, triggered by a named-bit BIT STRING containing only a zero padding byte with no data bytes. An attacker who can supply a crafted certificate revocation list, parsed through BorrowedCertRevocationList::from_der(), can trigger a denial-of-service panic, but only in applications that explicitly enable CRL revocation checking via RevocationOptions and parse CRL data from a source the attacker can influence; the default rustls configuration is unaffected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:44Z"},"euvd":{"id":"EUVD-2026-82894","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-93602","published":"2026-09-18","fixed":"0.103.10","kev":false},{"cve":"CVE-2026-93600","published":"2026-09-18","fixed":"0.104.0-alpha.6","kev":false,"link":{"from":"CVE-2026-93600","to":"CVE-2026-93599","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:rustls-webpki","fromFixed":"0.103.12","toFixed":"0.103.13","daysApart":0},{"kind":"version-step","provenance":"source","package":"crates.io:rustls-webpki","fromFixed":"0.104.0-alpha.6","toFixed":"0.104.0-alpha.7","daysApart":0}]}},{"cve":"CVE-2026-93601","published":"2026-09-18","fixed":"0.104.0-alpha.6","kev":false},{"cve":"CVE-2026-93599","published":"2026-09-18","fixed":"0.104.0-alpha.7","kev":false},{"cve":"CVE-2026-111943","published":"2026-10-21","fixed":"0.104.0-alpha.8","kev":false,"link":{"from":"CVE-2026-93599","to":"CVE-2026-111943","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:rustls-webpki","fromFixed":"0.103.13","toFixed":"0.103.16","daysApart":33},{"kind":"version-step","provenance":"source","package":"crates.io:rustls-webpki","fromFixed":"0.104.0-alpha.7","toFixed":"0.104.0-alpha.8","daysApart":33}]}}],"package":"crates.io:rustls-webpki"}}