Home

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.

PUBLISHED Reserved 2026-06-02 | Published 2026-06-04 | Updated 2026-06-04 | Assigner CPANSec

Problem types

CWE-1289 Improper Validation of Unsafe Equivalence in Input

Product status

Default status
unaffected

Any version
affected

Timeline

2026-05-13:Issue reported to CPANSec
2026-06-02:Net::CIDR::Set version 0.21 released with fix

References

metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changes release-notes

nvd.nist.gov/vuln/detail/CVE-2025-40911 related

nvd.nist.gov/vuln/detail/CVE-2026-45191 related

cve.org (CVE-2026-49942)

nvd.nist.gov (CVE-2026-49942)

Download JSON