CVE-2026-49941

Net::CIDR::Set versions through 0.20 for Perl did not validate IP addresses

State
Published
Severity
7.5 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 IP addresses.

The add method called the _encode method to parse addresses. If the addresses did not look like netmasks or network ranges, then they were assumed to single IP addresses and passed back to itself as a 32-bit or 128-bit netmask.

If the argument was not a well-formed IP address, then this would lead to indefinite recursion.

An attacker could use this to cause a denial of service.

Scores

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

Weaknesses

  • CWE-1287 Improper Validation of Specified Type of Input
  • CWE-674 Uncontrolled Recursion

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.