{"api_version":"1","generated_at":"2026-06-05T06:22:38+00:00","cve":"CVE-2026-49941","urls":{"html":"https://cve.report/CVE-2026-49941","api":"https://cve.report/api/cve/CVE-2026-49941.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-49941","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-49941"},"summary":{"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.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-06-04 17:16:33","updated_at":"2026-06-04 19:16:30"},"problem_types":["CWE-674","CWE-1287","CWE-1287 CWE-1287 Improper Validation of Specified Type of Input","CWE-674 CWE-674 Uncontrolled Recursion"],"metrics":[{"version":"3.1","source":"ADP","type":"DECLARED","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},{"version":"3.1","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changes","name":"https://metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changes","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-49941","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49941","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"RRWO","product":"Net::CIDR::Set","version":"affected 0.20 custom","platforms":[]}],"timeline":[{"source":"CNA","time":"2026-05-13T00:00:00.000Z","lang":"en","value":"Issue reported to CPANSec"},{"source":"CNA","time":"2026-06-02T00:00:00.000Z","lang":"en","value":"Net::CIDR::Set version 0.21 released with fix"}],"solutions":[{"source":"CNA","title":"","value":"Upgrade to version 0.21 of later.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},{"other":{"content":{"id":"CVE-2026-49941","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-06-04T17:51:29.220717Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-06-04T17:52:02.579Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"Net-CIDR-Set","product":"Net::CIDR::Set","programRoutines":[{"name":"Net::CIDR::Set::IPv4::_encode"},{"name":"Net::CIDR::Set::IPv6::_encode"}],"repo":"https://github.com/robrwo/perl-Net-CIDR-Set","vendor":"RRWO","versions":[{"lessThanOrEqual":"0.20","status":"affected","version":"0","versionType":"custom"}]}],"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."}],"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":{"dateUpdated":"2026-06-04T16:07:20.739Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["release-notes"],"url":"https://metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changes"}],"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"}],"title":"Net::CIDR::Set versions through 0.20 for Perl did not validate IP addresses","x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-49941","datePublished":"2026-06-04T16:07:20.739Z","dateReserved":"2026-06-02T16:06:23.069Z","dateUpdated":"2026-06-04T17:52:02.579Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-04 17:16:33","lastModifiedDate":"2026-06-04 19:16:30","problem_types":["CWE-674","CWE-1287","CWE-1287 CWE-1287 Improper Validation of Specified Type of Input","CWE-674 CWE-674 Uncontrolled Recursion"],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"49941","Ordinal":"1","Title":"Net::CIDR::Set versions through 0.20 for Perl did not validate I","CVE":"CVE-2026-49941","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"49941","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Net::CIDR::Set versions through 0.20 for Perl did not validate I"}]}}}