CVE-2025-40910 Details
Description
Net::IP::LPM version 1.10 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. 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.
A vulnerability exists in Net::IP::LPM version 1.10 for Perl, where the module improperly handles leading zeroes in IP CIDR notation. This mismanagement can enable attackers to circumvent access controls that rely on IP addresses. The issue arises because leading zeroes are interpreted as octal values, potentially misleading users who intend to use decimal notation. The vulnerability could be exploited by crafting IP addresses with leading zeroes to manipulate access control mechanisms.
Net::IP::LPM version 1.10 has been patched to address this vulnerability. Users should upgrade to this version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 27, 2025CISA-ADP
Assessed Jun 27, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.urth.org/2021/03/29/security-issues-in-perl-ip-address-distros/ | CPANSec | |
| https://metacpan.org/release/RRWO/Net-IP-LPM-1.11/changes | CPANSec | |
| https://metacpan.org/release/TPODER/Net-IP-LPM-1.10/diff/TPODER/Net-IP-LPM-1.09/lib/Net/IP/LPM.pm | CPANSec | Source CodeVendor |
| https://rt.cpan.org/Ticket/Display.html?id=179855 | CPANSec | |
| https://security.metacpan.org/patches/N/Net-IP-LPM/1.10/CVE-2025-40910-r1.patch | CPANSec | Broken LinkVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1287 | Improper Validation of Specified Type of Input | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| TPODER Net::IP::LPM | All versions |
CPE
Remediation
| |
| Net::IPv4Addr | All versions |
CPE
Remediation
| |
| Net::CIDR-Lite | All versions |
CPE
Remediation
| |
| Net::Netmask | All versions |
CPE
Remediation
| |
| Net::IPAddress::Util | All versions |
CPE
Remediation
| |
| Data::Validate::IP | All versions |
CPE
Remediation
| |
| Net::CIDR | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 7, 2026 | CVE Modified | CPANSec |
| Jul 3, 2026 | CVE Modified | CPANSec |
| Jun 17, 2026 | CVE Modified | CPANSec |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 27, 2025 | CVE Modified | CISA-ADP |
| Jun 27, 2025 | New CVE Received | CPANSec |
Volerion