# 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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.4
- **CVSS:** 5.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.35% (percentile 22, 2026-11-26)
- **CWE:** CWE-176
- **Published:** 2026-10-05T06:54:09.352Z
- **Modified:** 2026-10-06T18:16:53.823Z

## Who should check

- Anyone running Net-Whois-Raw \< 2.99044

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

## Affected and fixed versions

- Net-Whois-Raw: \< 2.99044 (cvelist)

## Mitigation

- Upgrade Net-Whois-Raw to 2.99044 or later.
- Vendor 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-19954. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-19954.md
Affected: Net-Whois-Raw < 2.99044
Fixed in: Net-Whois-Raw 2.99044

Steps:
1. Search this machine and project for Net-Whois-Raw: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-19954 being exploited?

There is no confirmed exploitation: CVE-2026-19954 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-19954?

Medium: CVSS 5.4 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-19954?

Net-Whois-Raw \< 2.99044.

### Is there a fix for CVE-2026-19954?

Yes. Fixed in Net-Whois-Raw 2.99044. Upgrade Net-Whois-Raw to 2.99044 or later. Vendor 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.

### How do I check if I'm affected by CVE-2026-19954?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://security.metacpan.org/patches/N/Net-Whois-Raw/2.99043/CVE-2026-19954-r1.patch>
- patch: <https://github.com/regru/Net-Whois-Raw/pull/35>
- article: <https://www.rfc-editor.org/rfc/rfc5891#section-5.2>
- other: <https://metacpan.org/release/NALOBIN/Net-Whois-Raw-2.99044/changes>
- other: <https://github.com/regru/Net-Whois-Raw/issues/34>
- other: <https://metacpan.org/release/PJCJ/Net-IDN-Encode-2.590-TRIAL/view/lib/Net/IDN/Punycode.pm#WARNING>
- other: <http://www.openwall.com/lists/oss-security/2026/10/05/9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-19954>

HTML: <https://flawdb.com/CVE-2026-19954> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-19954>
