Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. rustls-webpki
  4. ›
  5. GHSA-965h-392x-2mh5

GHSA-965h-392x-2mh5: webpki: Name constraints for URI names were incorrectly accepted

April 16, 2026

Name constraints for URI names were ignored and therefore accepted.

Note this library does not provide an API for asserting URI names, and URI name constraints are otherwise not implemented. URI name constraints are now rejected unconditionally.

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

References

  • github.com/advisories/GHSA-965h-392x-2mh5
  • github.com/rustls/webpki
  • github.com/rustls/webpki/security/advisories/GHSA-965h-392x-2mh5
  • rustsec.org/advisories/RUSTSEC-2026-0098.html

Code Behaviors & Features

Detect and mitigate GHSA-965h-392x-2mh5 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.101.0 before 0.103.12, all versions starting from 0.104.0-alpha.1 before 0.104.0-alpha.6

Fixed versions

  • 0.103.12
  • 0.104.0-alpha.6

Solution

Upgrade to versions 0.103.12, 0.104.0-alpha.6 or above.

Impact 2.2 LOW

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

cargo/rustls-webpki/GHSA-965h-392x-2mh5.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:35 +0000.