AWS-LC X.509 Name Constraints Bypass via Wildcard/Unicode CN
A logic error in CN (Common Name) validation allows certificates with wildcard or raw UTF-8 Unicode CN values to bypass name constraints enforcement. The cn2dnsid function does not recognize these CN patterns as valid DNS identifiers, causing NAME_CONSTRAINTS_check_CN to skip validation. However, X509_check_host accepts these CN values when no dNSName SAN is present, allowing certificates to bypass name constraints while still being used for hostname verification.
Recorded fixes — aws-lc-sys: 0.39.0. Check your release branch.
Exploitation not established
| Affected range | Recorded fix |
|---|---|
| From 0.32.0 before 0.39.0Semantic versions | 0.39.0 |
Version evidence: OSV · RUSTSEC-2026-0044
View original version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0.32.0"
},
{
"fixed": "0.39.0"
}
],
"type": "SEMVER"
}
],
"versions": []
}