# CVE-2026-45190: 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

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-05-10T20:15:24.721Z
- Modified: 2026-07-24T13:10:00.223Z
- Weaknesses: CWE-1289
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- Net-CIDR-Lite: before 0.24

## References

- <https://github.com/stigtsp/Net-CIDR-Lite/commit/ca9542adec87110556601d7ce48381ea8d13e692.patch> (patch)
- <https://metacpan.org/release/STIGTSP/Net-CIDR-Lite-0.24/changes> (release-notes)
- <https://www.cve.org/CVERecord?id=CVE-2026-45191> (related)

## Sources

- CVE List: [CVE-2026-45190](https://www.cve.org/CVERecord?id=CVE-2026-45190), CVE Terms of Use, modified 2026-05-12
- NVD: [CVE-2026-45190](https://nvd.nist.gov/vuln/detail/CVE-2026-45190), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-45190 · Whole record: https://cve.day/CVE-2026-45190.json · Rebuilt by cve.day 2026-11-25T22:59:21.176Z
