Vulnerability

CVE-2025-40911

mediumCVSS 3.1 6.5Published 27 May 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

Net::CIDR::Set versions 0.10 through 0.13 for Perl does not properly handle leading zero characters in IP CIDR address strings, which could allow attackers to bypass access control that is based on IP addresses.

Leading zeros are used to indicate octal numbers, which can confuse users who are intentionally using octal notation, as well as users who believe they are using decimal notation.

Net::CIDR::Set used code from Net::CIDR::Lite, which had a similar vulnerability CVE-2021-47154.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • blog.urth.org /2021/03/29/security-issues-in-perl-ip-address-distros/
  • github.com /robrwo/perl-Net-CIDR-Set/commit/be7d91e8446ad8013b08b4be31…
  • metacpan.org /release/RRWO/Net-CIDR-Set-0.14/changes

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning