CPANSA-Net-CIDR-Set-2026-49942: Net-CIDR-Set vulnerability

Publisher giterlizzi Document category csaf_security_advisory
Initial release date 2026-06-04T00:00:00 Engine CSAF Perl Toolkit 0.26
Current release date 2026-06-04T00:00:00 Build Date
Current version 1 Status final
CVSS v3.1 Base Score 7.3 Severity
Original language Language en
Also referred to

Vulnerability Description

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.

Vulnerabilities

CVE-2026-49942

Vulnerability Description

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.

Weakness CWE-1289 : Improper Validation of Unsafe Equivalence in Input

Product status

Known affected
Product Score
Net-CIDR-Set less than 0.21
CVSS Version CVSS Vector CVSS Base Score CVSS Base Severity
3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L 7.3 High
Fixed

giterlizzi

Namespace: https://github.com/giterlizzi/

gdt@cpan.org

References

Revision history

Version Date of the revision Summary of the revision
1 Thu Jun 4 00:00:00 2026 First release

Sharing rules

TLP:WHITE
For the TLP version see: https://www.first.org/tlp/