libnet-cidr-set-perl — security advisory
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.
- Products
- libnet-cidr-set-perl
- Affected versions
- 0.13-2, 0.13-3, 0.13-4, 0.13-5, 0.15-1, 0.19-1, 0.20-1, 0.21-1, 0.22-1, 0.23-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-49942
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:27 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-49942
libnet-cidr-set-perl
Fixed versions: Not specified
libnet-cidr-set-perl
Fixed versions: Not specified
libnet-cidr-set-perl
Fixed versions: Not specified
libnet-cidr-set-perl
Fixed versions: Not specified
libnet-cidr-set-perl
Fixed versions: Not specified
libnet-cidr-set-perl
Fixed versions: Not specified
Complete source record
{
"id": "a51aa34820c6c23aa8708985307229da852f388b5bff9d5ea32397142aedc663",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-49942",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-49942",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-49942",
"products": [
{
"name": {
"value": "libnet-cidr-set-perl",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.13-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "libnet-cidr-set-perl",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.13-3",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "libnet-cidr-set-perl",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.13-4",
"evidence": "/affected/2/versions"
},
{
"value": "0.13-5",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "libnet-cidr-set-perl",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.13-5",
"evidence": "/affected/3/versions"
},
{
"value": "0.15-1",
"evidence": "/affected/3/versions"
},
{
"value": "0.19-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "libnet-cidr-set-perl",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.19-1",
"evidence": "/affected/4/versions"
},
{
"value": "0.20-1",
"evidence": "/affected/4/versions"
},
{
"value": "0.21-1",
"evidence": "/affected/4/versions"
},
{
"value": "0.22-1",
"evidence": "/affected/4/versions"
},
{
"value": "0.23-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "libnet-cidr-set-perl",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.19-1",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-49942",
"aliases": [
"UBUNTU-CVE-2026-49942"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libnet-cidr-set-perl",
"purl": "pkg:deb/ubuntu/libnet-cidr-set-perl?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0.13-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49942.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnet-cidr-set-perl",
"binary_version": "0.13-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libnet-cidr-set-perl",
"purl": "pkg:deb/ubuntu/libnet-cidr-set-perl?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.13-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49942.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnet-cidr-set-perl",
"binary_version": "0.13-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libnet-cidr-set-perl",
"purl": "pkg:deb/ubuntu/libnet-cidr-set-perl?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.13-4",
"0.13-5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49942.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnet-cidr-set-perl",
"binary_version": "0.13-5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libnet-cidr-set-perl",
"purl": "pkg:deb/ubuntu/libnet-cidr-set-perl?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.13-5",
"0.15-1",
"0.19-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49942.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnet-cidr-set-perl",
"binary_version": "0.19-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libnet-cidr-set-perl",
"purl": "pkg:deb/ubuntu/libnet-cidr-set-perl?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.19-1",
"0.20-1",
"0.21-1",
"0.22-1",
"0.23-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49942.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnet-cidr-set-perl",
"binary_version": "0.23-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libnet-cidr-set-perl",
"purl": "pkg:deb/ubuntu/libnet-cidr-set-perl?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.19-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49942.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnet-cidr-set-perl",
"binary_version": "0.19-1"
}
]
}
}
],
"modified": "2026-10-17T12:58:33.555372118Z",
"provider": "osv",
"upstream": [
"CVE-2026-49942"
],
"references": [
"https://ubuntu.com/security/CVE-2026-49942",
"https://www.cve.org/CVERecord?id=CVE-2026-49942",
"https://github.com/robrwo/perl-Net-CIDR-Set/commit/875010b4217afe9a61cee519f0e0250847ecf699"
]
},
"related_cves": [
{
"value": "CVE-2026-49942",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 358764,
"published_at": "2026-06-04T17:16:00+00:00"
}