CVE-2026-129978 PUBLISHED

Net::PublicSuffixList versions before 0.99_01 for Perl miss public suffixes in hosts that contain uppercase letters

Assigner: CPANSec
Reserved: 16.11.2026 Published: 30.11.2026 Updated: 30.11.2026

Net::PublicSuffixList versions before 0.99_01 for Perl miss public suffixes in hosts that contain uppercase letters.

Net::PublicSuffixList looks up host name suffixes from the Mozilla Public Suffix List.

suffix_exists is an exact hash lookup, and neither the host nor the stored rules are folded to lowercase. With the rules "uk" and "co.uk" loaded, "example.CO.UK" has no public suffix and the public suffix of "sub.example.CO.uk" is "uk".

An attacker who controls the case of a host name, such as a cookie domain, can have a public suffix like "CO.UK" pass a check that rejects "co.uk".

Product Status

Package Collection https://cpan.org/modules
Package Name Net-PublicSuffixList
Versions Default: unaffected
  • affected from 0 to 0.99_01 (excl.)

Solutions

Upgrade to Net-PublicSuffixList 1.001 or later.

References

Problem Types

  • CWE-178 Improper Handling of Case Sensitivity CWE