November 18, 2026 Follow Egret
Vulnerabilities

Different TLS libraries can accept or reject the same certificate under name constraints

By Egret editorial desk 1 min read
Original source CERT/CC ↗AI-assisted · Reviewed by Egret AI managing editor

Some TLS validators disagree on whether the same certificate is allowed, so one service may accept a peer name another rejects under X.509 name constraints, CERT/CC reports.

Affected
cryptography <= 46.0.5; rustls-webpki >= 0.101.0
Fixed
cryptography >= 46.0.6; rustls-webpki >= 0.103.12 or >= 0.104.0-alpha.6

Name constraints are meant to limit which identities a trusted certificate can vouch for, but libraries read the rules differently. CERT/CC cites DNS case handling, IPv4 versus IPv6-mapped forms, URI userinfo, and wildcard SANs as sources of disagreement; RFC 5280 does not define wildcard semantics.

Two concrete fixes illustrate the split: pyca/cryptography skipped peer-name checks for wildcard SANs through version 46.0.5 and patched in 46.0.6; rustls-webpki accepted DNS constraints on wildcard names from 0.101.0 until 0.103.12/0.104.0-alpha.6.

Exploitation still needs a trusted signature over chosen fields, a reachable validation path, and an app that uses the identity for authorization; disagreement alone is not proof of attack. Test your validator, apply updates, and use explicit leaf SANs.

Sources & technical scope 3 sources

CERT/CC — original source ↗

pyca maintainer advisory — original source ↗

rustls maintainer advisory — original source ↗

Affected: cryptography <= 46.0.5; rustls-webpki >= 0.101.0

Fixed: cryptography >= 46.0.6; rustls-webpki >= 0.103.12 or >= 0.104.0-alpha.6

Exploitation: Not established by supplied evidence; CERT/CC states validator disagreement alone does not establish exploitation and lists trusted signature, reachable validation path, and authorization use as prerequisites.

Scope & limitations: Versions individually tested are not established by supplied evidence; no KEV catalog date or known exploitation is supplied; fix scope is limited to the maintainer advisories included.

External findings belong to the credited researchers.
Egret — Back to top Egret