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
Summary
| CVE | CVE-2026-45190 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-10 21:16:29 UTC |
| Updated | 2026-05-10 21:16:29 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-1289 | CWE-1289 CWE-1289 Improper Validation of Unsafe Equivalence in Input
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | STIGTSP | NetCIDRLite | affected 0.24 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| metacpan.org/release/STIGTSP/Net-CIDR-Lite-0.24/changes | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | |
| www.cve.org/CVERecord | 9b29abf9-4ab0-4765-b253-1875cd9b441e | www.cve.org | |
| github.com/stigtsp/Net-CIDR-Lite/commit/ca9542adec87110556601d7ce48381ea... | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-05-10T00:00:00.000Z | Vulnerability found |
| CNA | 2026-05-10T00:00:00.000Z | Net-CIDR-Lite version 0.24 released |
Solutions
CNA: Upgrade to version 0.24 or newer, or apply the patch provided.
There are currently no legacy QID mappings associated with this CVE.