CVE-2026-49942
Net::CIDR::Set versions through 0.20 for Perl did not validate network masks
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
7.3
Net::CIDR::Set versions through 0.20 for Perl did not validate network masks
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.
- Record
CVE-2026-49942- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-1289
- Updated
- 2026-11-02
EUVDEUVD-2026-34299
7.3
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.
- Record
EUVD-2026-34299- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-fff7-gx98-vr3g
7.3
Net::CIDR::Set versions through 0.20 for Perl did not validate network masks. The mask portion...
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.
- Record
GHSA-fff7-gx98-vr3g- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-1289
- Updated
- 2026-11-02
NVD
7.3
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.
- Record
CVE-2026-49942- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-1289
- Updated
- 2026-11-02
OSV
7.3
Net::CIDR::Set versions through 0.20 for Perl did not validate network masks
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.
- Record
CVE-2026-49942- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-1289
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-49942
7.3
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.
- Record
DEBIAN-CVE-2026-49942- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-49942
7.3
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.
- Record
UBUNTU-CVE-2026-49942- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libnet-cidr-set-perlDebian:12 |
All versions, plus listed versions 0.13-40.13-50.15-10.19-10.20-10.21-10.22-10.23-1 |
None known |
libnet-cidr-set-perlDebian:13 |
before 0.15-1+deb13u1, plus listed versions 0.15-1 |
0.15-1+deb13u1 |
libnet-cidr-set-perlDebian:14 |
before 0.21-1, plus listed versions 0.15-10.19-10.20-1 |
0.21-1 |
libnet-cidr-set-perlUbuntu:20.04:LTS |
All versions, plus listed versions 0.13-2 |
None known |
libnet-cidr-set-perlUbuntu:22.04:LTS |
All versions, plus listed versions 0.13-3 |
None known |
libnet-cidr-set-perlUbuntu:24.04:LTS |
All versions, plus listed versions 0.13-40.13-5 |
None known |
libnet-cidr-set-perlUbuntu:25.10 |
All versions, plus listed versions 0.13-50.15-10.19-1 |
None known |
libnet-cidr-set-perlUbuntu:26.10 |
All versions, plus listed versions 0.19-10.20-10.21-10.22-10.23-1 |
None known |
libnet-cidr-set-perlUbuntu:26.04:LTS |
All versions, plus listed versions 0.19-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-49942 is a high vulnerability (CVSS 7.3) in Rrwo Net::cidr::set, published June 4, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.30%, the 22nd percentile. Fixed in libnet-cidr-set-perl 0.15-1+deb13u1.
References
metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changes
nvd.nist.gov/vuln/detail/CVE-2025-40911
nvd.nist.gov/vuln/detail/CVE-2026-45191
nvd.nist.gov/vuln/detail/CVE-2026-49942
github.com/advisories/GHSA-fff7-gx98-vr3g
cpan.org/modules
Show 6 moreShow less
github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49942.json
github.com/robrwo/perl-Net-CIDR-Set
security-tracker.debian.org/tracker/CVE-2026-49942
ubuntu.com/security/CVE-2026-49942
cve.org/CVERecord?id=CVE-2026-49942
github.com/robrwo/perl-Net-CIDR-Set/commit/875010b4217afe9a61cee519f0e0250847ecf699