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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| RRWO | Net::CIDR::Set | ≤ 0.20 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libnet-cidr-set-perl | 0.21-1 | — |
| Debian 13 | libnet-cidr-set-perl | 0.15-1+deb13u1 | — |
| Debian 12 | libnet-cidr-set-perl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libnet-cidr-set-perl | No fix yet | — |
| Ubuntu 26.04 LTS | libnet-cidr-set-perl | No fix yet | — |
| Ubuntu 25.10 | libnet-cidr-set-perl | No fix yet | — |
| Ubuntu 24.04 LTS | libnet-cidr-set-perl | No fix yet | — |
| Ubuntu 22.04 LTS | libnet-cidr-set-perl | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libnet-cidr-set-perl | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-Net-CIDR-Set | 0.210.0-1.1 | openSUSE-SU-2026:10951-1 |
Advisories 1
- openSUSE-SU-2026:10951-1 perl-Net-CIDR-Set-0.210.0-1.1 on GA media SUSE / openSUSE Security Updates · Jun 4, 2026