CVE-2026-49942
JSON

7.3high

Net::CIDR::Set versions through 0.20 for Perl did not validate network masks

Severity
7.3high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CPANSec

Description

Net::CIDR::Set versions through 0.20 for Perl did not validate network masks. The mask portion of a network mask could contain Unicode digits such as the Arabic-Indic One (U+0661), or non-digits, which were ignored. This could allow network masks to accept larger networks. Leading zeros were also accepted, but treated as decimal instead of octal. This could lead to confusion about what networks are acceptable.

Affected

Product or packageVersionsReported by
Net-CIDR-Setup to 0.20CVE List
rrwo net::cidr::setbefore 0.21NVD

Classification

CWE-1289

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

What each source says

CVE List

Net::CIDR::Set versions through 0.20 for Perl did not validate network masks. The mask portion of a network mask could contain Unicode digits such as the Arabic-Indic One (U+0661), or non-digits, which were ignored. This could allow network masks to accept larger networks. Leading zeros were also accepted, but treated as decimal instead of octal. This could lead to confusion about what networks are acceptable.

NVD (es)

Las versiones de Net::CIDR::Set hasta la 0.20 para Perl no validaban las máscaras de red. La porción de máscara de una máscara de red podía contener dígitos Unicode como el Uno arábigo-índico (U+0661), o no-dígitos, los cuales eran ignorados. Esto podría permitir a las máscaras de red aceptar redes más grandes. Los ceros iniciales también eran aceptados, pero tratados como decimal en lugar de octal. Esto podría llevar a confusión sobre qué redes son aceptables.

References

https://metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changesrelease-notes
https://nvd.nist.gov/vuln/detail/CVE-2025-40911related, third-party-advisory, us-government-resource
https://nvd.nist.gov/vuln/detail/CVE-2026-45191related, third-party-advisory, us-government-resource

Sources

SourceRecordLicence
CVE ListCVE-2026-49942 changed 2026-06-04CVE Terms of Use
NVDCVE-2026-49942 changed 2026-07-22Public domain