Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

GHSA-394x-vwmw-crm3

AWS-LC X.509 Name Constraints Bypass via Wildcard/Unicode CN
Back to all
CVE

GHSA-394x-vwmw-crm3

AWS-LC X.509 Name Constraints Bypass via Wildcard/Unicode CN

Summary

AWS-LC is an open-source, general-purpose cryptographic library.

Impact

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 NAMECONSTRAINTScheck_CN to skip validation. However, X509checkhost accepts these CN values when no dNSName SAN is present, allowing certificates to bypass name constraints while still being used for hostname verification.

Customers of AWS services do not need to take action. Applications using aws-lc-sys should upgrade to the most recent release of aws-lc-sys.

Impacted versions:

  • aws-lc-sys >= v0.32.0, < v0.39.0

Patches

The patch is included in aws-lc-sys v0.39.0.

Workarounds

Applications that set X509CHECKFLAGNEVERCHECK_SUBJECT to disable CN fallback are not affected. Applications that only encounter certificates with dNSName SANs (standard for public WebPKI) are also not affected.

Otherwise, there is no workaround and applications using aws-lc-sys should upgrade to the most recent releases of aws-lc-sys.

References

If you have any questions or comments about this advisory, we ask that you contact AWS Security via our vulnerability reporting page or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue.

Credits

Oleh Konko from 1seal (https://1seal.org/)

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
-
C
H
U
0
-
C
H
U
-

Related Resources

No items found.

References

https://github.com/aws/aws-lc-rs/security/advisories/GHSA-394x-vwmw-crm3, https://github.com/aws/aws-lc-rs, https://rustsec.org/advisories/RUSTSEC-2026-0044.html

Severity

0

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
0
EPSS Probability
0%
EPSS Percentile
0%
Introduced Version
0.32.0,0
Fix Available
0.39.0,20260315-r4,0.22.1-r4,2.7.10-r1,2.4.2-r4,0.1.10-r0,0.1.8-r0,26.3.3-r1,1.6.6-r3,2.346.0-r0,0.23.0-r6,2026.3.17-r0,1.7.1-r4,0.111.0-r5,2.6.5-r0,0.66.0-r3,1.4.3-r1,1.17.1-r1,0.15.1-r0,1.29.0-r1,2.0.4-r0,0.228.0-r1,1.23.1-r3,1.28.5-r3,1.29.1-r8

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading