{"id":"CVE-2026-45190","state":"PUBLISHED","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","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.\n\nInputs 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.\n\nExample:\n\n  my $cidr = Net::CIDR::Lite->new();\n  $cidr->add(\"::1\\n/128\");\n  $cidr->find(\"::1a\");  # incorrectly returns true\n\nSee also CVE-2026-45191.","publishedAt":"2026-05-10T20:15:24.721Z","updatedAt":"2026-05-12T14:31:01.908Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","source":"CISA-ADP"},"assigner":"CPANSec","products":["STIGTSP Net::CIDR::Lite"],"affected":[{"vendor":"STIGTSP","product":"Net::CIDR::Lite","packageName":"Net-CIDR-Lite","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.24","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["Lite.pm"],"programRoutines":[{"name":"Net::CIDR::Lite::add"},{"name":"Net::CIDR::Lite::_pack_ipv4"},{"name":"Net::CIDR::Lite::_pack_ipv6"}],"repo":"https://github.com/stigtsp/Net-CIDR-Lite"}],"references":["https://github.com/stigtsp/Net-CIDR-Lite/commit/ca9542adec87110556601d7ce48381ea8d13e692.patch","https://metacpan.org/release/STIGTSP/Net-CIDR-Lite-0.24/changes","https://www.cve.org/CVERecord?id=CVE-2026-45191"],"weaknesses":["CWE-1289"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/45xxx/CVE-2026-45190.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45190","state":"PUBLISHED","datePublished":"2026-05-10T20:15:24.721Z","dateUpdated":"2026-05-12T14:31:01.908Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-05-10T16:36:05.708Z"},"containers":{"cna":{"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","descriptions":[{"lang":"en","value":"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.\n\nInputs 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.\n\nExample:\n\n  my $cidr = Net::CIDR::Lite->new();\n  $cidr->add(\"::1\\n/128\");\n  $cidr->find(\"::1a\");  # incorrectly returns true\n\nSee also CVE-2026-45191."}],"affected":[{"vendor":"STIGTSP","product":"Net::CIDR::Lite","packageName":"Net-CIDR-Lite","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.24","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["Lite.pm"],"programRoutines":[{"name":"Net::CIDR::Lite::add"},{"name":"Net::CIDR::Lite::_pack_ipv4"},{"name":"Net::CIDR::Lite::_pack_ipv6"}],"repo":"https://github.com/stigtsp/Net-CIDR-Lite"}],"references":[{"url":"https://github.com/stigtsp/Net-CIDR-Lite/commit/ca9542adec87110556601d7ce48381ea8d13e692.patch","tags":["patch"]},{"url":"https://metacpan.org/release/STIGTSP/Net-CIDR-Lite-0.24/changes","tags":["release-notes"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-45191","tags":["related"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1289","description":"CWE-1289 Improper Validation of Unsafe Equivalence in Input","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-05-10T20:15:24.721Z"},"solutions":[{"lang":"en","value":"Upgrade to version 0.24 or newer, or apply the patch provided."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-05-10T00:00:00.000Z","value":"Vulnerability found"},{"lang":"en","time":"2026-05-10T00:00:00.000Z","value":"Net-CIDR-Lite version 0.24 released"}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.5,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"LOW","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-05-12T14:30:52.674727Z","id":"CVE-2026-45190","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-12T14:31:01.908Z"}}]}}}