CPANSA-Net-CIDR-Lite-2026-45190: Net-CIDR-Lite vulnerability

Publisher giterlizzi Document category csaf_security_advisory
Initial release date 2026-05-10T00:00:00 Engine CSAF Perl Toolkit 0.26
Current release date 2026-05-10T00:00:00 Build Date
Current version 1 Status final
CVSS v3.1 Base Score 6.5 Severity
Original language Language en
Also referred to

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

Vulnerabilities

CVE-2026-45190

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

Weakness CWE-1289 : Improper Validation of Unsafe Equivalence in Input

Product status

Known affected
Product Score
Net-CIDR-Lite less than 0.24
CVSS Version CVSS Vector CVSS Base Score CVSS Base Severity
3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L 6.5 Medium
Fixed

giterlizzi

Namespace: https://github.com/giterlizzi/

gdt@cpan.org

References

Revision history

Version Date of the revision Summary of the revision
1 Sun May 10 00:00:00 2026 First release

Sharing rules

TLP:WHITE
For the TLP version see: https://www.first.org/tlp/