CVEfocus › CVE database › CVE-2026-19954

CVE-2026-19954Net::Whois::Raw versions before 2.99044 for Perl ship a pwhois command-line tool that…

CVSS 5.4 MediumEPSS 0.2% (higher than 14% of CVEs)Published 2026-10-05Updated 2026-10-06Assigner: CPANSec

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.

CWE-176

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

1Fixed
6Fix pending
3Under investigation

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libnet-whois-raw-perlFix pendingUBUNTU-CVE-2026-19954
Ubuntu 26.04libnet-whois-raw-perlUnder investigationUBUNTU-CVE-2026-19954
Ubuntu 24.04libnet-whois-raw-perlUnder investigationUBUNTU-CVE-2026-19954
Ubuntu 22.04libnet-whois-raw-perlUnder investigationUBUNTU-CVE-2026-19954
Ubuntu 20.04libnet-whois-raw-perlFix pendingUBUNTU-CVE-2026-19954
Ubuntu 18.04libnet-whois-raw-perlFix pendingUBUNTU-CVE-2026-19954
Ubuntu 16.04libnet-whois-raw-perlFix pendingUBUNTU-CVE-2026-19954
Debian 14libnet-whois-raw-perlFixed2.99043-2DEBIAN-CVE-2026-19954
Debian 13libnet-whois-raw-perlFix pendingDEBIAN-CVE-2026-19954
Debian 12libnet-whois-raw-perlFix pendingDEBIAN-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.

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:

References

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.