CVE-2025-40910
published medium CVSS 3.1 · 6.5Net::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
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | Net-IP-LPM1.10 · Other versions: unaffected | Affected | Not stated | CPANSec |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Net-IP-LPM | 1.10 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-1287 CWE-1287 Improper Validation of Specified Type of Input
References
5- https://blog.urth.org/2021/03/29/security-issues-in-perl-ip-address-distros/
- https://metacpan.org/release/RRWO/Net-IP-LPM-1.11/changes
- https://metacpan.org/release/TPODER/Net-IP-LPM-1.10/diff/TPODER/Net-IP-LPM-1.09/lib/Net/IP/LPM.pm
- https://rt.cpan.org/Ticket/Display.html?id=179855
- https://security.metacpan.org/patches/N/Net-IP-LPM/1.10/CVE-2025-40910-r1.patch
Provider assertions
2CPANSec · cna
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
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4d38d2b299bc2bf33b43d4eb428fecfba8cd98fc55d7d8bb4e3d2f41859d048c
- Ingested
- 23 Sep 2026, 08:48:23 UTC
- Source record
- Official CVE record