Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-45190 EUVD-2026-28998GHSA-5vf8-328m-mxj5

Net::CIDR::Lite versions before 0.24 for Perl does not properly validate IP address and CIDR mask inputs, which may allow IP ACL bypass

Published May 10, 2026 · Updated May 12, 2026 · Assigned by CPANSec

Description

Net::CIDR::Lite versions before 0.24 for Perl does not properly validate IP address and CIDR mask inputs, which may allow IP ACL bypass.

Inputs containing a trailing newline or non-ASCII digit characters pass the validators but are then re-encoded by the parser to a different address than the input string spelled. find() and bin_find() can match or miss addresses as a result.

Example:

my $cidr = Net::CIDR::Lite->new();
$cidr->add("::1\n/128");
$cidr->find("::1a"); # incorrectly returns true

See also CVE-2026-45191.

Affected products

VendorProductAffectedFixed
STIGTSP Net::CIDR::Lite < 0.24 0.24

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-lite-perl 0.24-1 —
Debian 13 libnet-cidr-lite-perl 0.22-3~deb13u2 —
Debian 12 libnet-cidr-lite-perl 0.22-3~deb12u2 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS libnet-cidr-lite-perl 0.22-2ubuntu0.26.04.2 USN-8453-1
Ubuntu 25.10 libnet-cidr-lite-perl 0.22-2ubuntu0.25.10.2 USN-8453-1
Ubuntu 24.04 LTS libnet-cidr-lite-perl 0.22-2ubuntu0.24.04.2 USN-8453-1
Ubuntu 22.04 LTS libnet-cidr-lite-perl 0.22-1ubuntu0.2 USN-8453-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS libnet-cidr-lite-perl 0.21-2ubuntu0.1+esm2 USN-8453-1
Ubuntu Pro 18.04 LTS libnet-cidr-lite-perl 0.21-1ubuntu0.18.04.1~esm2 USN-8453-1
Ubuntu Pro 16.04 LTS libnet-cidr-lite-perl 0.21-1ubuntu0.16.04.1~esm2 USN-8453-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-Net-CIDR-Lite 0.240.0-1.1 openSUSE-SU-2026:10780-1
ReleasePackageFixed inAdvisory
Alpine v3.24 perl-net-cidr-lite 0.24-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 perl-Net-CIDR-Lite 0.22-8.amzn2023.0.2 ALAS2023-2026-1732

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 perl-Net-CIDR-Lite No fix yet —

Advisories 3

References