RustSec Advisory Database
RUSTSEC-2026-0104
Reachable panic in certificate revocation list parsing
Details
A panic was reachable when parsing certificate revocation lists via [BorrowedCertRevocationList::from_der] or [OwnedCertRevocationList::from_der]. This was the result of mishandling a syntactically valid empty BIT STRING appearing in the onlySomeReasons element of a IssuingDistributionPoint CRL extension.
This panic is reachable prior to a CRL's signature being verified.
Applications that do not use CRLs are not affected.
Thank you to @tynus3 for the report.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | rustls-webpki | From 0.0.0-0 before 0.103.13 (fixed in 0.103.13) From 0.104.0-alpha.1 before 0.104.0-alpha.7 (fixed in 0.104.0-alpha.7) |