Vulnerabilities

Vulnerability · CVE-2025-40911

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

Published May 27, 2025 · catalog updated May 28, 2025 · RRWO Net::CIDR::Set

Check this week

CVE-2025-40911 is not in CISA KEV. FIRST estimates a 37.00% chance of exploitation in the next 30 days. Check whether you run RRWO Net::CIDR::Set.

Gaps on this record

  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Medium6.5
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
37.00%
Remediation
Advisory link
Affected products
vendor RRWO Net::CIDR::Set 0.10 ≤0.13

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • vendor RRWO Net::CIDR::Set 0.10 ≤0.130.10 ≤0.13

How to fix CVE-2025-40911

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2025-40911 is not in CISA KEV. FIRST estimates a 37.00% chance of exploitation in the next 30 days. Check whether you run RRWO Net::CIDR::Set.

Which versions are affected?

Compare what you have installed with RRWO Net::CIDR::Set 0.10 ≤0.13 0.10 ≤0.13. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 37.00%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. May 27, 2025 · EUVD

    Detected

    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::CID

  2. May 28, 2025 · EUVD

    Updated

    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::CID

Sources

  • CVE.orgVulnerability recordCVE-2025-40911

    Official CVE identifier

    cve.org
  • EUVDVulnerability recordEUVD-2025-16304

    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

    euvd.enisa.europa.eu

References

Freshness

Last verified in this catalog May 28, 2025. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.