CVE-2026-45190 PUBLISHED

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

Assigner: CPANSec
Reserved: 10.05.2026 Published: 10.05.2026 Updated: 10.05.2026

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.

Product Status

Vendor STIGTSP
Product Net::CIDR::Lite
Versions Default: unaffected
  • affected from 0 to 0.24 (excl.)

Solutions

Upgrade to version 0.24 or newer, or apply the patch provided.

References

Problem Types

  • CWE-1289 Improper Validation of Unsafe Equivalence in Input CWE