CVE-2026-49941CWE-1287CWE-674

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

High · published June 4, 2026

CVSS v3.1
7.5
EPSS
0%
Percentile
41.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00493 · 41.1th percentile
Weaknesses
CWE-1287 · Improper Validation of Specified Type of Input; CWE-674 · Uncontrolled Recursion
Published
2026-06-04T16:07Z
EPSS history
Timeline
  • 04 JUN 16:07Z
    Net::CIDR::Set versions through 0.20 for Perl did not validate IP addresses
    cvelistv5