CVE-2026-45190 Details
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.
A vulnerability exists in Net::CIDR::Lite for Perl, specifically in versions prior to 0.24, where the module fails to properly validate IP addresses and CIDR mask inputs. This oversight can lead to IP Access Control List (ACL) bypass. Inputs with trailing newlines or non-ASCII digit characters are accepted by the validators but are subsequently re-encoded by the parser, potentially altering the address representation. As a result, the find() and bin_find() methods may incorrectly match or miss addresses. For example, adding '::1' with a trailing newline as a CIDR and then searching for '::1a' would incorrectly return a match.
Users are advised to update to Net::CIDR::Lite version 0.24 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 10, 2026CISA-ADP
Assessed May 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/stigtsp/Net-CIDR-Lite/commit/ca9542adec87110556601d7ce48381ea8d13e692.patch | CPANSec | Source CodeVendor |
| https://metacpan.org/release/STIGTSP/Net-CIDR-Lite-0.24/changes | CPANSec | Release NotesVendor |
| https://www.cve.org/CVERecord?id=CVE-2026-45191 | CPANSec | AdvisoryBundle |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1289 | Improper Validation of Unsafe Equivalence in Input | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| STIGTSP Net::CIDR::Lite | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | CPANSec |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 12, 2026 | CVE Modified | CISA-ADP |
| May 10, 2026 | New CVE Received | CPANSec |
Volerion