CVE-2026-49941

Source
https://cve.org/CVERecord?id=CVE-2026-49941
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-49941.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-49941
Downstream
Related
Published
2026-06-04T16:07:20.739Z
Modified
2026-06-18T03:57:14.110249500Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Net::CIDR::Set versions through 0.20 for Perl did not validate IP addresses
Details

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.

Database specific
{
    "cna_assigner": "CPANSec",
    "cwe_ids": [
        "CWE-1287",
        "CWE-674"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49941.json"
}
References

Affected packages

Git / github.com/robrwo/perl-net-cidr-set

Affected ranges

Type
GIT
Repo
https://github.com/robrwo/perl-net-cidr-set
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:rrwo:net\\:\\:cidr\\:\\:set:*:*:*:*:*:perl:*:*",
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.20"
        },
        {
            "introduced": "0"
        },
        {
            "fixed": "0.21"
        }
    ]
}

Affected versions

0.*
0.16
0.17
0.18
0.19
0.20
v0.*
v0.13
v0.14
v0.15

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-49941.json"