{"id":"CVE-2026-49941","state":"PUBLISHED","title":"Net::CIDR::Set versions through 0.20 for Perl did not validate IP addresses","description":"Net::CIDR::Set versions through 0.20 for Perl did not validate IP addresses.\n\nThe 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.\n\nIf the argument was not a well-formed IP address, then this would lead to indefinite recursion.\n\nAn attacker could use this to cause a denial of service.","publishedAt":"2026-06-04T16:07:20.739Z","updatedAt":"2026-06-04T18:45:40.658Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"CPANSec","products":["RRWO Net::CIDR::Set"],"affected":[{"vendor":"RRWO","product":"Net::CIDR::Set","packageName":"Net-CIDR-Set","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.20","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programRoutines":[{"name":"Net::CIDR::Set::IPv4::_encode"},{"name":"Net::CIDR::Set::IPv6::_encode"}],"repo":"https://github.com/robrwo/perl-Net-CIDR-Set"}],"references":["https://metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changes","http://www.openwall.com/lists/oss-security/2026/06/04/11"],"weaknesses":["CWE-1287","CWE-674"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/49xxx/CVE-2026-49941.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-49941","state":"PUBLISHED","datePublished":"2026-06-04T16:07:20.739Z","dateUpdated":"2026-06-04T18:45:40.658Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-06-02T16:06:23.069Z"},"containers":{"cna":{"title":"Net::CIDR::Set versions through 0.20 for Perl did not validate IP addresses","descriptions":[{"lang":"en","value":"Net::CIDR::Set versions through 0.20 for Perl did not validate IP addresses.\n\nThe 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.\n\nIf the argument was not a well-formed IP address, then this would lead to indefinite recursion.\n\nAn attacker could use this to cause a denial of service."}],"affected":[{"vendor":"RRWO","product":"Net::CIDR::Set","packageName":"Net-CIDR-Set","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.20","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programRoutines":[{"name":"Net::CIDR::Set::IPv4::_encode"},{"name":"Net::CIDR::Set::IPv6::_encode"}],"repo":"https://github.com/robrwo/perl-Net-CIDR-Set"}],"references":[{"url":"https://metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changes","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1287","description":"CWE-1287 Improper Validation of Specified Type of Input","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-674","description":"CWE-674 Uncontrolled Recursion","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-06-04T16:07:20.739Z"},"solutions":[{"lang":"en","value":"Upgrade to version 0.21 of later."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-05-13T00:00:00.000Z","value":"Issue reported to CPANSec"},{"lang":"en","time":"2026-06-02T00:00:00.000Z","value":"Net::CIDR::Set version 0.21 released with fix"}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-06-04T17:51:29.220717Z","id":"CVE-2026-49941","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-04T17:52:02.579Z"}},{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/06/04/11"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-06-04T18:45:40.658Z"}}]}}}