{"id":"CVE-2026-19953","aliases":["CVE-2026-19953"],"related":[],"kind":"vulnerability","state":"published","title":"URI versions before 5.36 for Perl encode non-NFC host names to non-standard punycode labels via missing normalization in nameprep","summary":"URI versions before 5.36 for Perl encode non-NFC host names to non-standard punycode labels via missing normalization in nameprep.\n\nnameprep 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.\n\nAny 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"URI versions before 5.36 for Perl encode non-NFC host names to non-standard punycode labels via missing normalization in nameprep.\n\nnameprep 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.\n\nAny 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.","source":"cvelist"}],"published":"2026-08-31T17:29:42.929Z","modified":"2026-09-03T16:41:09.297Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-1289"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"5.36","status":"affected"}],"package":"URI","repo":"https://github.com/libwww-perl/URI","source":"cvelist"}],"references":[{"url":"https://github.com/libwww-perl/URI/commit/956619a9e94f86d8d2c529b4e06a3674c54a73e7.patch","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/libwww-perl/URI/pull/191","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://metacpan.org/release/OALDERS/URI-5.36/changes","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://www.rfc-editor.org/rfc/rfc5891#section-5.2","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/08/31/14","tags":[],"sources":["cvelist","nvd"]}],"credits":["Naseeb Dangi (naseeb0), Nankai University"],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-09-01T15:16:46.820Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-19953","url":"https://www.cve.org/CVERecord?id=CVE-2026-19953","licence":"CVE Terms of Use","modified":"2026-09-01T15:16:50.672Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-19953","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-19953","licence":"Public domain","modified":"2026-09-03T16:41:09.297Z"}],"updatedAt":"2026-11-25T22:59:35.854Z","epss":{"score":0.00229,"percentile":0.147,"date":"2026-12-01T12:00:22.000Z"}}