# CVE-2026-19953: URI versions before 5.36 for Perl encode non-NFC host names to non-standard punycode labels via missing normalization in nameprep

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.37% (percentile 23, 2026-11-26)
- **CWE:** CWE-1289
- **Published:** 2026-08-31T17:29:42.929Z
- **Modified:** 2026-09-03T16:41:09.297Z

## Who should check

- Anyone running URI \< 5.36

## Description

URI versions before 5.36 for Perl encode non-NFC host names to non-standard punycode labels via missing normalization in nameprep.

nameprep lowercases each host label but performs no Unicode normalization. IDNA requires a label to be normalized to Form C before it is encoded (RFC 5891), so a label that is not already in NFC is encoded to a different A-label than its normalized form. A label built from the precomposed Devanagari sequence U+0958 U+093E encodes to xn--72b5c without normalization but to xn--11b2fg after NFC normalization, and xn--72b5c does not round-trip back to the original label.

Any caller that reads host() from a URI built from untrusted input and uses it for a security decision (an allow or deny list, an SSRF filter, deduplication, a cache key) sees the non-standard label, while a client that fetches the same URL resolves the NFC form, so the check and the fetch can disagree about the host.

## Affected and fixed versions

- URI: \< 5.36 (cvelist)

## Mitigation

- Upgrade URI to 5.36 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-19953. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-19953.md
Affected: URI < 5.36
Fixed in: URI 5.36

Steps:
1. Search this machine and project for URI: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-19953 being exploited?

There is no confirmed exploitation: CVE-2026-19953 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.37% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-19953?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-19953?

URI \< 5.36.

### Is there a fix for CVE-2026-19953?

Yes. Fixed in URI 5.36. Upgrade URI to 5.36 or later.

### How do I check if I'm affected by CVE-2026-19953?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/libwww-perl/URI/commit/956619a9e94f86d8d2c529b4e06a3674c54a73e7.patch>
- patch: <https://github.com/libwww-perl/URI/pull/191>
- article: <https://www.rfc-editor.org/rfc/rfc5891#section-5.2>
- other: <https://metacpan.org/release/OALDERS/URI-5.36/changes>
- other: <http://www.openwall.com/lists/oss-security/2026/08/31/14>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-19953>

HTML: <https://flawdb.com/CVE-2026-19953> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-19953>
