Email me

Rust advisories / aws-lc-sys

Vulnerability HighRUSTSEC-2026-0044 · aws-lc-sys

RUSTSEC-2026-0044: AWS-LC X.509 Name Constraints Bypass via Wildcard/Unicode CN

Short answerA security vulnerability in the aws-lc-sys crate: AWS-LC X.509 Name Constraints Bypass via Wildcard/Unicode CN. GitHub rates it High. Fixed in 0.39.0: update to a fixed version.

Crateaws-lc-sys
TypeVulnerability (crypto-failure)
Affected versionsFrom 0.32.0 before 0.39.0.
Fixed in0.39.0
SeverityHigh (GitHub rating)
Published2026-03-19
Last changed2026-03-20
Also known asGHSA-394x-vwmw-crm3

What to do

  1. See which version you have: cargo tree -i aws-lc-sys (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p aws-lc-sys. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example aws-lc-sys = "0.39.0") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

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.

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.

Workarounds

Applications that set X509_CHECK_FLAG_NEVER_CHECK_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

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for aws-lc-sys

Full security history of aws-lc-sys

Up next

Same crateaws-lc-sys: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ