{"id":"CVE-2026-19954","state":"PUBLISHED","title":"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","description":"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.\n\npwhois 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\".\n\nThe Net::Whois::Raw library modules are not affected.","publishedAt":"2026-10-05T06:54:09.352Z","updatedAt":"2026-10-06T17:52:09.371Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","source":"CISA-ADP"},"assigner":"CPANSec","products":["Net-Whois-Raw"],"affected":[{"packageName":"Net-Whois-Raw","packageURL":"pkg:cpan/Net-Whois-Raw","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.99044","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","modules":["Net::Whois::Raw"],"programFiles":["bin/pwhois"],"programRoutines":[{"name":"to_punycode"}],"repo":"https://github.com/regru/Net-Whois-Raw"}],"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","http://www.openwall.com/lists/oss-security/2026/10/05/9"],"weaknesses":["CWE-176"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/19xxx/CVE-2026-19954.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-19954","state":"PUBLISHED","datePublished":"2026-10-05T06:54:09.352Z","dateUpdated":"2026-10-06T17:52:09.371Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-08-15T21:45:07.158Z"},"containers":{"cna":{"title":"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","descriptions":[{"lang":"en","value":"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.\n\npwhois 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\".\n\nThe Net::Whois::Raw library modules are not affected."}],"affected":[{"packageName":"Net-Whois-Raw","packageURL":"pkg:cpan/Net-Whois-Raw","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.99044","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","modules":["Net::Whois::Raw"],"programFiles":["bin/pwhois"],"programRoutines":[{"name":"to_punycode"}],"repo":"https://github.com/regru/Net-Whois-Raw"}],"references":[{"url":"https://metacpan.org/release/NALOBIN/Net-Whois-Raw-2.99044/changes","tags":["release-notes"]},{"url":"https://security.metacpan.org/patches/N/Net-Whois-Raw/2.99043/CVE-2026-19954-r1.patch","tags":["patch"]},{"url":"https://github.com/regru/Net-Whois-Raw/issues/34","tags":["issue-tracking"]},{"url":"https://github.com/regru/Net-Whois-Raw/pull/35","tags":["issue-tracking"]},{"url":"https://metacpan.org/release/PJCJ/Net-IDN-Encode-2.590-TRIAL/view/lib/Net/IDN/Punycode.pm#WARNING"},{"url":"https://www.rfc-editor.org/rfc/rfc5891#section-5.2","tags":["technical-description"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-176","description":"CWE-176 Improper Handling of Unicode Encoding","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-10-05T06:54:09.352Z"},"source":{"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","value":"Apply the patch.\n\nFor 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."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/10/05/9"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-10-05T18:10:20.168Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.4,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","integrityImpact":"LOW","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-10-06T17:52:04.047979Z","id":"CVE-2026-19954","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-06T17:52:09.371Z"}}]}}}