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

Published Sep 18, 2026
·
Updated

rustls-webpki through 0.103.12 (and 0.104.0-alpha releases before 0.104.0-alpha.7) contains a reachable panic in bitstringflags() 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 rawbits.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::fromder() 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 verifyforusage() 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 Software

3 affected components
rustls-webpki<0.103.13
rustls-webpki>0.103.12<0.104.0-alpha.0
rustls-webpki<0.104.0-alpha.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rustls-webpki to a version that resolves this vulnerability.

    Fixed in 0.103.13
  2. Upgrade

    Upgrade rustls-webpki to a version that resolves this vulnerability.

    Fixed in 0.104.0-alpha.7

Event History

Sep 18, 2026
CVE Published
via MITRE·01:20 PM
Data Sourced
via MITRE·01:20 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this denial of service?

Only applications that explicitly enable CRL revocation checking by supplying RevocationOptions to verify_for_usage() are exposed. The application must also parse CRL data from an attacker-influenced source; the default rustls configuration does not use RevocationOptions and is unaffected.

2

What input is required to trigger the panic?

An attacker must provide a CRL containing an issuingDistributionPoint extension whose onlySomeReasons value is a named-bit BIT STRING with content exactly [0x00]. Processing that CRL through BorrowedCertRevocationList::from_der() can trigger the panic.

3

What should teams do if they cannot update immediately?

Avoid parsing attacker-influenced CRLs while CRL revocation checking is enabled, or disable the explicit RevocationOptions-based CRL checking path. Updating to 0.103.13 or 0.104.0-alpha.7 fixes the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203