CPANSA-Net-CIDR-Set-2026-49942: Net-CIDR-Set vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-06-04T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-06-04T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 7.3 | Severity | |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability 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.
Vulnerabilities
CVE-2026-49942
Vulnerability DescriptionNet::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.
| Weakness | CWE-1289 : Improper Validation of Unsafe Equivalence in Input |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Net-CIDR-Set less than 0.21 |
|
Fixed
- Net-CIDR-Set greater than or equal 0.21
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Net-CIDR-Set-2026-49942 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-net-cidr-set-2026-49942.json - https://metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changes external
https://metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changes - https://nvd.nist.gov/vuln/detail/CVE-2025-40911 external
https://nvd.nist.gov/vuln/detail/CVE-2025-40911 - https://nvd.nist.gov/vuln/detail/CVE-2026-45191 external
https://nvd.nist.gov/vuln/detail/CVE-2026-45191 - CVE-2026-49942 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-49942
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Thu Jun 4 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/