CVEvulnerability
CVE-2025-40910
6.5 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2025-06-27
- Last modified
- 2026-09-07
- Assigner
- 9b29abf9-4ab0-4765-b253-1875cd9b441e
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-1287
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
Weakness · CWE (1)
- CWE-1287 Improper Validation of Specified Type of Input weakness
References
- https://blog.urth.org/2021/03/29/security-issues-in-perl-ip-address-distros/ blog.urth.org
- https://metacpan.org/release/RRWO/Net-IP-LPM-1.11/changes metacpan.org
- https://metacpan.org/release/TPODER/Net-IP-LPM-1.10/diff/TPODER/Net-IP-LPM-1.09/lib/Net/IP/LPM.pm metacpan.org
- https://rt.cpan.org/Ticket/Display.html?id=179855 rt.cpan.org
- https://security.metacpan.org/patches/N/Net-IP-LPM/1.10/CVE-2025-40910-r1.patch security.metacpan.org