CVE-2026-45190
JSON

6.5medium

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
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.31% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Net-CIDR-Litebefore 0.24CVE List

Classification

CWE-1289

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Las versiones de Net::CIDR::Lite anteriores a la 0.24 para Perl no validan correctamente las entradas de dirección IP y máscara CIDR, lo que puede permitir la omisión de ACL de IP. Las entradas que contienen un salto de línea final o caracteres de dígitos no ASCII pasan los validadores, pero luego son recodificadas por el analizador a una dirección diferente de la que especifica la cadena de entrada. find() y bin_find() pueden coincidir o no con direcciones como resultado. Ejemplo: my $cidr = Net::CIDR::Lite -> new(); $cidr -> add('::1\n/128'); $cidr -> find('::1a'); # devuelve true incorrectamente Véase también CVE-2026-45191.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-45190 changed 2026-05-12CVE Terms of Use
NVDCVE-2026-45190 changed 2026-07-24Public domain