# CVE-2026-129977: Net::PublicSuffixList wildcard rule suffix off-by-one label

Source: https://junglewise.ai/threats/cve-2026-129977-net-publicsuffixlist-versions-before-0-99-01-for-perl-return-a  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-12-01. Updated: 2026-12-01  
License: CC BY 4.0 with a link back

CVE-2026-129977 · Severity: info · Published 2026-12-01

Net::PublicSuffixList, a Perl library that identifies domain public suffixes for security purposes (such as cookie scoping), miscalculates wildcard rules by one domain label. This causes the library to treat different registrants' domains as a single entity, allowing an attacker to scope cookies or other security controls across multiple independent domains.

Vendors: [CPAN](https://junglewise.ai/threats/vendors/cpan).

## Quick answers

**Is CVE-2026-129977 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-129977 being exploited in the wild.

**How severe is CVE-2026-129977?** Informational severity, published 1 December 2026.

**Which products and versions are affected?** CPAN Net::PublicSuffixList before 0.99_01.

**Is there a fix for CVE-2026-129977?** Yes: fixed in 0.99_01. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-129977 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-129977?** Check whether you run CPAN Net::PublicSuffixList at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 0.99_01

## Technical details

The vulnerability lies in the parse_list and add_suffix functions, which strip the leading "*." from Mozilla Public Suffix List wildcard rules but fail to account for the fact that a wildcard matches exactly one label. For a wildcard rule "*.ck", the library stores "ck" as the public suffix instead of correctly identifying "test.ck" as the public suffix for hosts like "b.test.ck". This causes hosts under different registrants ("b.test.ck" and "c.test.ck") to be incorrectly treated as subdomains of a single domain.

## Affected products

- CPAN Net::PublicSuffixList before 0.99_01

## Timeline

- 2026-12-01: disclosed

## References

- [https://cpan.org/modules](https://cpan.org/modules)
- [https://github.com/briandfoy/net-publicsuffixlist/commit/7b92f6aa0de2fecccdb7c9161c3bdc6cbdc80349.patch](https://github.com/briandfoy/net-publicsuffixlist/commit/7b92f6aa0de2fecccdb7c9161c3bdc6cbdc80349.patch)

## Related threats

- [Net::PublicSuffixList case-sensitive suffix lookup bypass](https://junglewise.ai/threats/cve-2026-129978-net-publicsuffixlist-versions-before-0-99-01-for-perl-miss)
