Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://blog.urth.org/2021/03/29/security-issues-in-perl-ip-address-distros/
- https://github.com/robrwo/perl-Net-CIDR-Set/commit/be7d91e8446ad8013b08b4be313d6
- https://metacpan.org/release/RRWO/Net-CIDR-Set-0.14/changes
FAQ
What is CVE-2025-40911?
CVE-2025-40911 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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...
How severe is CVE-2025-40911?
CVE-2025-40911 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-40911?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.