Net::CIDR::Set versions through 0.20 for Perl accept non-ASCII IP addresses and netmasks
Summary
| CVE | CVE-2026-49940 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-04 17:16:33 UTC |
| Updated | 2026-06-04 19:15:17 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.5 MEDIUM from ADP
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Problem Types: CWE-1289 | CWE-1289 CWE-1289 Improper Validation of Unsafe Equivalence in Input
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | RRWO | NetCIDRSet | affected 0.20 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| nvd.nist.gov/vuln/detail/CVE-2025-40911 | 9b29abf9-4ab0-4765-b253-1875cd9b441e | nvd.nist.gov | |
| metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changes | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-05-13T00:00:00.000Z | Issue reported to CPANSec |
| CNA | 2026-06-02T00:00:00.000Z | Net::CIDR::Set version 0.21 released with fix |
Solutions
CNA: Upgrade to version 0.21.
There are currently no legacy QID mappings associated with this CVE.