7.5
High
CVE-2026-49941 Net::CIDR::Set versions through 0.20 for Perl did not validate IP addresses
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Net::CIDR::Set 0.20 | earliest → 0.20 | No fix stated |
Description
Net::CIDR::Set versions through 0.20 for Perl did not validate IP addresses. The add method called the _encode method to parse addresses. If the addresses did not look like netmasks or network ranges, then they were assumed to single IP addresses and passed back to itself as a 32-bit or 128-bit netmask. If the argument was not a well-formed IP address, then this would lead to indefinite recursion. An attacker could use this to cause a denial of service.
Other CVEs of Net::CIDR::Set
The 5 CVEs of Net::CIDR::Set →
CVE-2026-19566
Net::CIDR::Set versions before 0.23 for Perl allow memory exhaustion and malformed set ranges via unbounded IPv6…
7.5
High
CVE-2026-49942
Net::CIDR::Set versions through 0.20 for Perl did not validate network masks
7.3
High
CVE-2026-49940
Net::CIDR::Set versions through 0.20 for Perl accept non-ASCII IP addresses and netmasks
6.5
Medium
CVE-2025-40911
Net::CIDR::Set versions 0.10 through 0.13 for Perl does not properly handle leading zero characters in IP CIDR address…
6.5
Medium