Security Advisories (3)
CVE-2026-49940 (2026-06-04)

Net::CIDR::Set versions through 0.20 for Perl accept non-ASCII IP addresses and netmasks. Unicode digits such as the Arabic-Indic One (U+0661) were accepted but not properly parsed as numbers. This could allow network masks to accept larger networks.

CVE-2026-49941 (2026-06-04)

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.

CVE-2026-49942 (2026-06-04)

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.

NAME

Net::CIDR::Set::IPv4 - Encode / decode IPv4 addresses

VERSION

version 0.20

SOURCE

The development version is on github at https://github.com/robrwo/perl-Net-CIDR-Set and may be cloned from https://github.com/robrwo/perl-Net-CIDR-Set.git

SUPPORT

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Net-CIDR-Set

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Andy Armstrong <andy@hexten.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2009, 2014, 2025-2026 by Message Systems, Inc.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.