CVE-2026-49942

Source
https://cve.org/CVERecord?id=CVE-2026-49942
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-49942.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-49942
Downstream
Published
2026-06-04T16:07:42.179Z
Modified
2026-06-25T04:04:15.777797075Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
Net::CIDR::Set versions through 0.20 for Perl did not validate network masks
Details

Net::CIDR::Set versions through 0.20 for Perl did not validate network masks.

The mask portion of a network mask could contain Unicode digits such as the Arabic-Indic One (U+0661), or non-digits, which were ignored. This could allow network masks to accept larger networks.

Leading zeros were also accepted, but treated as decimal instead of octal. This could lead to confusion about what networks are acceptable.

Database specific
{
    "cna_assigner": "CPANSec",
    "cwe_ids": [
        "CWE-1289"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49942.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
Last affected
Database specific
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.20"
        }
    ]
}

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-49942.json"