p PatchFirst

CVE-2026-93599

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

CVSS 8.7 · High · EPSS 0.3% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="rust-rustls-webpki"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • webpki

    Versions
    • ≥ 0, < 0.103.13: Affected (semver)
    • ≥ 0.104.0-alpha.1, < 0.104.0-alpha.7: Affected (semver)

    Update to 0.103.13; Update to 0.104.0-alpha.7

  • rust-rustls-webpki Debian 13

    Versions
    • 0.102.8-5
    • 0.103.10+ds-1
    • 0.103.13+ds-1
    • 0.103.15+ds-1
    • 0.103.4-1
    • 0.103.4-2
    All versions (11)
    • 0.103.5-1
    • 0.103.6-1
    • 0.103.7-1
    • 0.103.9+ds-1
    • 0.103.9+ds-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-rustls-webpki Debian 14

    Versions
    • 0.102.8-5
    • 0.103.10+ds-1
    • 0.103.4-1
    • 0.103.4-2
    • 0.103.5-1
    • 0.103.6-1
    All versions (9)
    • 0.103.7-1
    • 0.103.9+ds-1
    • 0.103.9+ds-2
    Affected ranges
    • ECOSYSTEM: < 0.103.13+ds-1

    Update to 0.103.13+ds-1

  • rust-rustls-webpki Ubuntu 24.04 LTS

    Versions
    • 0.101.4-4
    • 0.101.7-2.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-rustls-webpki Ubuntu 26.04 LTS

    Versions
    • 0.102.8-5
    • 0.103.7-1
    • 0.103.7-1build1
    • 0.103.9+ds-1
    • 0.103.9+ds-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →