CVE-2026-49941 Details
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.
A denial-of-service vulnerability has been identified in Net::CIDR::Set for Perl, affecting versions through 0.20. The issue arises because the software did not properly validate IP addresses. The 'add' method relied on the '_encode' method to interpret addresses. If an address was not formatted as a netmask or network range, it was treated as a single IP address and converted into a 32-bit or 128-bit netmask. This process could lead to infinite recursion if the IP address was not well-formed, allowing an attacker to cause a denial-of-service condition.
Users can upgrade to Net::CIDR::Set version 0.21 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changes | CPANSec | Release Notes |
| http://www.openwall.com/lists/oss-security/2026/06/04/11 | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1287 | Improper Validation of Specified Type of Input | CPANSec |
| CWE-674 | Uncontrolled Recursion | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| rrwo net::cidr::set | < 0.21 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | CPANSec |
| Jun 8, 2026 | Initial Analysis | [email protected] |
| Jun 4, 2026 | CVE Modified | CVE |
| Jun 4, 2026 | CVE Modified | CISA-ADP |
| Jun 4, 2026 | New CVE Received | CPANSec |