Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. rustls-webpki
  4. ›
  5. GHSA-82j2-j2ch-gfr8

GHSA-82j2-j2ch-gfr8: rustls-webpki: Denial of service via panic on malformed CRL BIT STRING

April 24, 2026

bit_string_flags() in src/der.rs panics with an index-out-of-bounds when given a BIT STRING whose content is exactly [0x00] (one byte: zero padding bits, zero data bytes). This is reachable through the public API BorrowedCertRevocationList::from_der() via the issuingDistributionPoint CRL extension.

Precondition: CRL checking is opt-in in rustls-webpki. This vulnerability affects only applications that explicitly pass RevocationOptions to verify_for_usage() and load CRL bytes from a source the attacker can influence. The default rustls configuration (no RevocationOptions) is not affected.

AI disclosure: This report was prepared with AI assistance (Claude). The vulnerability was discovered by differential fuzzing against a formally-verified Rust oracle. All technical claims have been independently verified against the live source code before submission.

References

  • github.com/advisories/GHSA-82j2-j2ch-gfr8
  • github.com/rustls/webpki
  • github.com/rustls/webpki/security/advisories/GHSA-82j2-j2ch-gfr8
  • rustsec.org/advisories/RUSTSEC-2026-0104.html

Code Behaviors & Features

Detect and mitigate GHSA-82j2-j2ch-gfr8 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.103.13, all versions starting from 0.104.0-alpha.1 before 0.104.0-alpha.7

Fixed versions

  • 0.103.13
  • 0.104.0-alpha.7

Solution

Upgrade to versions 0.103.13, 0.104.0-alpha.7 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read

Source file

cargo/rustls-webpki/GHSA-82j2-j2ch-gfr8.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:26 +0000.