# 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

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-02)
- Published: 2026-10-05T06:54:09.352Z
- Modified: 2026-10-06T18:16:53.823Z
- Weaknesses: CWE-176
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CPANSec

## 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.

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.

(As written by CVE List.)

## Affected

- Net-Whois-Raw: before 2.99044

## References

- <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)
- <https://github.com/regru/Net-Whois-Raw/issues/34> (issue-tracking)
- <https://github.com/regru/Net-Whois-Raw/pull/35> (issue-tracking)
- <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> (technical-description)
- <http://www.openwall.com/lists/oss-security/2026/10/05/9>

## Sources

- CVE List: [CVE-2026-19954](https://www.cve.org/CVERecord?id=CVE-2026-19954), CVE Terms of Use, modified 2026-10-06
- NVD: [CVE-2026-19954](https://nvd.nist.gov/vuln/detail/CVE-2026-19954), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-19954 · Whole record: https://cve.day/CVE-2026-19954.json · Rebuilt by cve.day 2026-11-25T22:59:42.098Z
