---
id: RUSTSEC-2026-0098
aliases:
  - GHSA-965h-392x-2mh5
title: Name constraints for URI names were incorrectly accepted
summary: Name constraints for URI names were incorrectly accepted
severity: none
vendor: rustls-webpki
product: rustls-webpki
ecosystem: rust
affected:
  - 'rustls-webpki >= 0.104.0-alpha.1, < 0.104.0-alpha.6'
patched:
  - rustls-webpki 0.104.0-alpha.6
published: '2026-04-14'
updated: '2026-07-17'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/RUSTSEC-2026-0098'
references:
  - url: 'https://crates.io/crates/rustls-webpki'
  - url: 'https://rustsec.org/advisories/RUSTSEC-2026-0098.html'
tags:
  - osv
  - rust
ingestedAt: '2026-07-17T19:00:51.947Z'
---

## Overview

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.

This vulnerability is identified as [GHSA-965h-392x-2mh5](https://github.com/rustls/webpki/security/advisories/GHSA-965h-392x-2mh5). Thank you to [@1seal](https://github.com/1seal) for the report.

## Affected packages

- `rustls-webpki >= 0.104.0-alpha.1, < 0.104.0-alpha.6`

## Remediation

Upgrade to a patched release:

- `rustls-webpki 0.104.0-alpha.6`
