What’s Vulnerable › Vulnerabilities
CVE-2026-49942: Net::CIDR::Set versions through 0.20 for Perl did not validate network masks
- Severity: high (CVSS 7.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-04 · updated 2026-07-22
- Weakness: CWE-1289
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 products
- RRWO Net::Cidr::Set: before 0.21 — fixed in 0.21
How to fix
Upgrade to a fixed version: RRWO Net::Cidr::Set 0.21. Check the vendor advisory for mitigations.
References
- https://metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changes
- https://nvd.nist.gov/vuln/detail/CVE-2025-40911
- https://nvd.nist.gov/vuln/detail/CVE-2026-45191
Get alerted when CVE-2026-49942 or the next vulnerability affects your stack