CVE-2025-40911

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

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.

Remediation

Solution:

  • Update to version 0.14, or apply the patch provided by the module author.

Category

6.5
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.05%
Affected: RRWO Net::CIDR::Set
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-40911?
CVE-2025-40911 has been scored as a medium severity vulnerability.
How to fix CVE-2025-40911?
To fix CVE-2025-40911: Update to version 0.14, or apply the patch provided by the module author.
Is CVE-2025-40911 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-40911 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-40911?
CVE-2025-40911 affects RRWO Net::CIDR::Set.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.