CVE-2026-19954: Net::Whois::Raw versions before 2.99044 for Perl ship a pwhois command-line tool that queries WHOIS for the wrong domain for unicode domain names

Published Oct 5, 2026
·
Updated

Net::Whois::Raw versions before 2.99044 for Perl ship a pwhois command-line tool that queries WHOIS for the wrong domain for unicode domain names.

pwhois encodes each non-ASCII label directly using Net::IDN::Punycode and prepends xn--. Apart from lowercasing ASCII and Cyrillic letters, it skips the IDNA mapping and normalization steps, so a label with other uppercase letters, or not in NFC, encodes to a different A-label than its IDNA form. For example, a label of U+00C9 followed by "cole" encodes to "xn--cole-pka" rather than "xn--cole-9oa".

The Net::Whois::Raw library modules are not affected.

Affected Software

1 affected component
cpan/Net::Whois::Raw<2.99044

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Net::Whois::Raw to a version that resolves this vulnerability.

    Fixed in 2.99044

Event History

Oct 5, 2026
CVE Published
via MITRE·06:54 AM
Data Sourced
via MITRE·06:54 AM
DescriptionWeakness
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Only the bundled pwhois command-line tool is affected in Net::Whois::Raw versions before 2.99044. The Net::Whois::Raw library modules are not affected.

2

What input is required to trigger the incorrect lookup?

The issue occurs when pwhois is used with a Unicode domain label that requires IDNA mapping or normalization, such as labels containing uppercase letters outside the ASCII and Cyrillic ranges or labels that are not in NFC form.

3

What happens when pwhois processes an affected domain name?

pwhois may query WHOIS for a different A-label than the domain's IDNA form. For example, a label beginning with U+00C9 followed by "cole" is encoded as xn--cole-pka rather than xn--cole-9oa.

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