Advisory

RUSTSEC-2026-0099

Also known as: CVE-2026-93601, GHSA-xgp8-3hg3-c2mh

Summary

Name constraints were accepted for certificates asserting a wildcard name

Details

Permitted subtree name constraints for DNS names were accepted for certificates asserting a wildcard name.

This was incorrect because, given a name constraint of accept.example.com, *.example.com could feasibly allow a name of reject.example.com which is outside the constraint.
This is very similar to CVE-2025-61727.

Since name constraints are restrictions on otherwise properly-issued certificates, this bug is reachable only after signature verification and requires misissuance to exploit.

This vulnerability is identified as GHSA-xgp8-3hg3-c2mh. Thank you to @1seal for the report.

Severity

Not rated by the source.

Dates

Published
2026-04-14 12:00 UTC
Modified
2026-09-19 08:42 UTC

Affected packages and fixes

rustls-webpki

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.103.12, introduced 0.104.0-alpha.1, fixed 0.104.0-alpha.6 (semver)

Fixed versions

0.103.12, 0.104.0-alpha.6

Fix

  • Fixed version 0.103.12
    cargo update -p rustls-webpki --precise 0.103.12
  • Fixed version 0.104.0-alpha.6
    cargo update -p rustls-webpki --precise 0.104.0-alpha.6

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences