CVE-2026-49942 Details
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.
A vulnerability exists in Net::CIDR::Set for Perl, specifically in versions through 0.20, due to improper validation of network masks. The issue allows masks to include Unicode digits, such as the Arabic-Indic One, or non-digits, which were ignored. This lack of validation could enable masks to accept larger networks than intended. Additionally, the acceptance of leading zeros, which were interpreted as decimal rather than octal, could create confusion regarding acceptable network values.
Users can upgrade to Net::CIDR::Set version 0.21 or later, which addresses this vulnerability by improving the validation of network masks. The updated version is available on MetaCPAN.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changes | CPANSec | Release Notes |
| https://nvd.nist.gov/vuln/detail/CVE-2025-40911 | CPANSec | Third Party AdvisoryUS Government Resource |
| https://nvd.nist.gov/vuln/detail/CVE-2026-45191 | CPANSec | Third Party AdvisoryUS Government Resource |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1289 | Improper Validation of Unsafe Equivalence in Input | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| rrwo net::cidr::set | < 0.21 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | CPANSec |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 8, 2026 | Initial Analysis | [email protected] |
| Jun 4, 2026 | CVE Modified | CISA-ADP |
| Jun 4, 2026 | New CVE Received | CPANSec |