CVE-2026-19954Net::Whois::Raw versions before 2.99044 for Perl ship a pwhois command-line tool that…
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libnet-whois-raw-perl | Fix pending | UBUNTU-CVE-2026-19954 | |
| Ubuntu 26.04 | libnet-whois-raw-perl | Under investigation | UBUNTU-CVE-2026-19954 | |
| Ubuntu 24.04 | libnet-whois-raw-perl | Under investigation | UBUNTU-CVE-2026-19954 | |
| Ubuntu 22.04 | libnet-whois-raw-perl | Under investigation | UBUNTU-CVE-2026-19954 | |
| Ubuntu 20.04 | libnet-whois-raw-perl | Fix pending | UBUNTU-CVE-2026-19954 | |
| Ubuntu 18.04 | libnet-whois-raw-perl | Fix pending | UBUNTU-CVE-2026-19954 | |
| Ubuntu 16.04 | libnet-whois-raw-perl | Fix pending | UBUNTU-CVE-2026-19954 | |
| Debian 14 | libnet-whois-raw-perl | Fixed | 2.99043-2 | DEBIAN-CVE-2026-19954 |
| Debian 13 | libnet-whois-raw-perl | Fix pending | DEBIAN-CVE-2026-19954 | |
| Debian 12 | libnet-whois-raw-perl | Fix pending | DEBIAN-CVE-2026-19954 |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Net-Whois-Raw: affected: before 2.99044; fixed in
2.99044
Workaround: Apply the patch. For deployments that cannot apply the patch, convert the domain name to its A-label form, for example with Net::IDN::Encode::domain_to_ascii, before passing it to pwhois. pwhois passes all-ASCII names through unchanged.
Vendor advisories:
- https://metacpan.org/release/NALOBIN/Net-Whois-Raw-2.99044/changes (release-notes)
- https://security.metacpan.org/patches/N/Net-Whois-Raw/2.99043/CVE-2026-19954-r1.patch (patch)
References
- https://metacpan.org/release/NALOBIN/Net-Whois-Raw-2.99044/changes
- https://security.metacpan.org/patches/N/Net-Whois-Raw/2.99043/CVE-2026-19954-r1.patch
- https://github.com/regru/Net-Whois-Raw/issues/34
- https://github.com/regru/Net-Whois-Raw/pull/35
- https://metacpan.org/release/PJCJ/Net-IDN-Encode-2.590-TRIAL/view/lib/Net/IDN/Punycode.pm#WARNING
- https://www.rfc-editor.org/rfc/rfc5891#section-5.2
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.