CVE-2026-49942

Net::CIDR::Set versions through 0.20 for Perl did not validate network masks

State
Published
Severity
7.3 High
Published
Jun 4, 2026
Updated
Jun 4, 2026
Reserved
Jun 2, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LCISA-ADP

Weaknesses

  • CWE-1289 Improper Validation of Unsafe Equivalence in Input

Affected Products

ProductVersions
Net::CIDR::SetRRWO
  • 0.20 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.