7.5high

CVE-2026-49941

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

Published 5 mo ago · modified 3 mo ago · JSON

CVSS
7.5
v3.1 · CNA
CISA KEV
No
not known exploited
EPSS
0.3%
percentile 26%
Public exploits
0
none known

Summary

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.

CISA SSVC assessment

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
5 mo ago

Exploit prediction (EPSS)

0.33% probability of exploitation in the next 30 days, higher than 26% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
CISA ADP3.17.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA3.17.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

  • RRWO Net::CIDR::Set

Classification

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

References

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.