Skip to content
OpenAdvisories
High · 7.5 CVE-2026-49941 EUVD-2026-34298GHSA-wvxw-q92g-9ghf

Net::CIDR::Set versions through 0.20 for Perl did not validate IP addresses

Published Jun 4, 2026 · Updated Jun 4, 2026 · Assigned by CPANSec

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libnet-cidr-set-perl No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-Net-CIDR-Set 0.210.0-1.1 openSUSE-SU-2026:10951-1

Advisories 1

References