Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <fdb31ed1-a264-4450-a35e-faeb57e3f63d@cpansec.org>
Date: Thu, 4 Jun 2026 17:11:36 +0100
From: Robert Rothenberg <rrwo@...nsec.org>
To: cve-announce@...urity.metacpan.org, oss-security@...ts.openwall.com
Subject: CVE-2026-49942: Net::CIDR::Set versions through 0.20 for Perl did not
 validate network masks

========================================================================
CVE-2026-49942                                       CPAN Security Group
========================================================================

         CVE ID:  CVE-2026-49942
   Distribution:  Net-CIDR-Set
       Versions:  through 0.20

       MetaCPAN:  https://metacpan.org/dist/Net-CIDR-Set
       VCS Repo:  https://github.com/robrwo/perl-Net-CIDR-Set


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

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.

Problem types
-------------
- CWE-1289 Improper Validation of Unsafe Equivalence in Input

Solutions
---------
Upgrade to version 0.21.


References
----------
https://metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changes
https://nvd.nist.gov/vuln/detail/CVE-2025-40911
https://nvd.nist.gov/vuln/detail/CVE-2026-45191

Timeline
--------
- 2026-05-13: Issue reported to CPANSec
- 2026-06-02: Net::CIDR::Set version 0.21 released with fix


Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.