Net::PublicSuffixList versions before 0.99_03 for Perl allow CPU and memory exhaustion via hosts with many labels in suffixes_in
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 16, 2026
Description
Net::PublicSuffixList versions before 0.99_03 for Perl allow CPU and memory exhaustion via hosts with many labels in suffixes_in.
Net::PublicSuffixList looks up host name suffixes from the Mozilla Public Suffix List.
suffixes_in builds one candidate suffix per label of the host, each a join of that label and every label to its right, and holds them all before any lookup. The work and the memory grow with the square of the label count, and nothing limits the host length. longest_suffix_in and split_host call suffixes_in.
Version 0.99_01 limited the candidates to the depth of the deepest loaded rule. Version 0.99_03 added an early return for an object with no rules loaded.
An attacker who supplies a host name with many labels can exhaust CPU and memory.
| Product | Versions |
|---|---|
| Net-PublicSuffixList | before 0.99_03 Affected |
The record has no CVSS score.
Weaknesses
- CWE-407 Inefficient Algorithmic Complexity
References
- https://github.com/briandfoy/net-publicsuffixlist/commit/4f79889956a93d6dabe26ec4ab2d4556f978af40.patchPatch
- https://github.com/briandfoy/net-publicsuffixlist/commit/f00bbe3274ecdf1f5d2f5d55132287d936a64366.patchPatch
- https://metacpan.org/release/BRIANDFOY/Net-PublicSuffixList-1.001/changesRelease Notes
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.