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.
Analysis and contextual insights are available on OpenCVE Cloud.
Vendor Solution
Upgrade to version 0.24 or newer, or apply the patch provided.
Tracking
Sign in to view the affected projects.
No advisories yet.
Tue, 12 May 2026 15:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
Sun, 10 May 2026 21:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Stigtsp
Stigtsp net::cidr::lite |
|
| Vendors & Products |
Stigtsp
Stigtsp net::cidr::lite |
Sun, 10 May 2026 20:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | 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 | |
| Weaknesses | CWE-1289 | |
| References |
|
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-05-12T14:31:01.908Z
Reserved: 2026-05-10T16:36:05.708Z
Link: CVE-2026-45190
Updated: 2026-05-12T14:30:37.454Z
Status : Deferred
Published: 2026-05-10T21:16:29.273
Modified: 2026-05-12T16:48:58.260
Link: CVE-2026-45190
No data.
OpenCVE Enrichment
Updated: 2026-05-12T16:30:19Z