CVE-2026-49940

Net::CIDR::Set versions through 0.20 for Perl accept non-ASCII IP addresses and netmasks

Published Jun 4, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Net::CIDR::Set versions through 0.20 for Perl accept non‑ASCII digits in IP addresses and netmasks, but treat them as malformed numbers. Because the module does not interpret the digits correctly, a subnet mask may be interpreted as a larger network than intended. This discrepancy can enable an attacker to create an entry that expands a restricted network to cover more addresses, potentially giving them access to resources or information that should be excluded.

Affected Systems

The vulnerability affects RRWO’s Net::CIDR::Set module for Perl up to and including version 0.20. Any installation of this module within scripts, applications, or systems that rely on accurate CIDR calculations could be impacted. The vendor provides an official fix in version 0.21.

Risk and Exploitability

The exploitability of this flaw depends on the attacker’s ability to supply IP and mask values to a vulnerable instance of the module. If such input can be controlled, the flaw could be abused to widen access rights or bypass network‑level restrictions. No EPSS score is currently available, and the issue is not listed in the CISA KEV catalog, indicating that active exploitation is not known. The CVSS score of 6.5 indicates moderate severity.

Remediation

Vendor Solution

Upgrade to version 0.21.


OpenCVE Recommended Actions

  • Upgrade RRWO Net::CIDR::Set to version 0.21 or later to resolve the parsing issue.
  • For systems that cannot upgrade immediately, implement input validation to reject non‑ASCII characters in IP addresses and netmask strings before passing them to the module.
  • As a temporary mitigation, restrict the use of the module to trusted, internally controlled scripts or enforce network segmentation to prevent unintended access expansions.

Generated by OpenCVE AI on June 4, 2026 at 19:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Rrwo net\
CPEs cpe:2.3:a:rrwo:net\:\:cidr\:\:set:*:*:*:*:*:perl:*:*
Vendors & Products Rrwo net\
Type Values Removed Values Added
First Time appeared Rrwo
Rrwo net::cidr::set
Vendors & Products Rrwo
Rrwo net::cidr::set
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Net::CIDR::Set versions through 0.20 for Perl accept non-ASCII IP addresses and netmasks
Weaknesses CWE-1289
References
Weaknesses
  • CWE-1289

    Improper Validation of Unsafe Equivalence in Input

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Jun 4, 2026, 5:36 PM
Reserved
Jun 2, 2026, 4:06 PM
Status
Analyzed
Published
Jun 4, 2026, 5:16 PM
Modified
Jul 22, 2026, 8:10 PM