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 DescriptionNet::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 |
|
Fixed
- Net-CIDR-Lite greater than or equal 0.24
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Net-CIDR-Lite-2026-45190 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-net-cidr-lite-2026-45190.json - https://github.com/stigtsp/Net-CIDR-Lite/commit/ca9542adec87110556601d7ce48381ea8d13e692.patch external
https://github.com/stigtsp/Net-CIDR-Lite/commit/ca9542adec87110556601d7ce48381ea8d13e692.patch - https://metacpan.org/release/STIGTSP/Net-CIDR-Lite-0.24/changes external
https://metacpan.org/release/STIGTSP/Net-CIDR-Lite-0.24/changes - https://www.cve.org/CVERecord?id=CVE-2026-45191 external
https://www.cve.org/CVERecord?id=CVE-2026-45191 - CVE-2026-45190 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-45190
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/