CVE-2026-49940 Details
Description
Net::CIDR::Set versions through 0.20 for Perl accept non-ASCII IP addresses and netmasks. Unicode digits such as the Arabic-Indic One (U+0661) were accepted but not properly parsed as numbers. This could allow network masks to accept larger networks.
A vulnerability exists in Net::CIDR::Set versions through 0.20 for Perl, where the library accepts non-ASCII IP addresses and netmasks. It improperly parses Unicode digits, such as the Arabic-Indic One, leading to potential misinterpretation of network masks and allowing larger networks than intended. This issue could bypass access controls based on IP addresses. The vulnerability stems from inadequate validation of input types, particularly in how leading zeros in IP addresses are handled, which can confuse users regarding octal and decimal notations.
Users can upgrade to Net::CIDR::Set version 0.21 or later, where this vulnerability has been addressed.
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 |
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 |