REDHAT-BUG-2526492: SSRF

Published Aug 31, 2026
·
Updated

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 Software

1 affected component
Perl URI<5.36

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade URI (Perl) to a version that resolves this vulnerability.

    Fixed in 5.36

Event History

Aug 31, 2026
Data Sourced
via Red Hat·08:22 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Applications using URI versions before 5.36 are exposed only where they accept untrusted URLs or hostnames and use URI host() output in a security-sensitive decision, such as an allowlist, denylist, SSRF filter, deduplication mechanism, or cache key.

2

What does an attacker need to exploit it?

An attacker needs to supply a hostname containing a non-NFC Unicode label. The vulnerable URI handling can produce a non-standard punycode label for the security check, while the client resolving or fetching the URL uses the NFC-normalized hostname.

3

What is the practical security impact?

Host validation and the eventual network request can disagree about the destination host. This can allow bypass of hostname-based controls, including SSRF filters and allow or deny lists.

4

How can I mitigate the issue if updating is not immediately possible?

Normalize untrusted hostname labels to Unicode NFC before using URI host() output for security decisions. Ensure the same normalized hostname representation is used for validation, policy checks, cache keys, and the subsequent request.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203