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
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-45190
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 05:18 UTC · Revision 1
Source evidence
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
core-osv · Original sourcePublished 10 May 2026, 20:15 UTC
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.
osv:CVE-2026-45190
Complete source record
{
"id": "e20c03e6694beb3545dc61c73a428ef82446996116f624d46573230b98966f75",
"url": "https://osv.dev/vulnerability/CVE-2026-45190",
"method": "structured",
"payload": {
"kind": "advisory",
"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",
"summary": "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.",
"evidence": "osv:CVE-2026-45190",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-45190",
"aliases": [
"CVE-2026-45190"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/stigtsp/net-cidr-lite",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "f5a20ecc59bdf23c4104a55e7f01a8c7729b7fc5"
},
{
"fixed": "ca9542adec87110556601d7ce48381ea8d13e692"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.24"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "ca9542adec87110556601d7ce48381ea8d13e692"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.23",
"0.22",
"0.21"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45190.json"
}
}
],
"modified": "2026-10-28T02:30:33.411289694Z",
"provider": "osv",
"references": [
"https://cpan.org/modules",
"https://www.cve.org/CVERecord?id=CVE-2026-45191",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45190.json",
"https://metacpan.org/release/STIGTSP/Net-CIDR-Lite-0.24/changes",
"https://nvd.nist.gov/vuln/detail/CVE-2026-45190",
"https://github.com/stigtsp/Net-CIDR-Lite/commit/ca9542adec87110556601d7ce48381ea8d13e692.patch",
"https://github.com/stigtsp/Net-CIDR-Lite"
],
"provider_metadata": {
"cwe_ids": [
"CWE-1289"
],
"cna_assigner": "CPANSec",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45190.json"
}
},
"related_cves": [
{
"value": "CVE-2026-45190",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 500475,
"published_at": "2026-05-10T20:15:24.721+00:00"
}