{"id":"CVE-2025-40910","state":"PUBLISHED","title":"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","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.\n\nLeading 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.","publishedAt":"2025-06-27T12:19:59.195Z","updatedAt":"2026-09-07T18:26:26.820Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"CISA-ADP"},"assigner":"CPANSec","products":["Net-IP-LPM"],"affected":[{"packageName":"Net-IP-LPM","packageURL":"pkg:cpan/Net-IP-LPM","defaultStatus":"unaffected","versions":[{"version":"1.10","status":"affected","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","modules":["Net::IP::LPM"]}],"references":["https://metacpan.org/release/TPODER/Net-IP-LPM-1.10/diff/TPODER/Net-IP-LPM-1.09/lib/Net/IP/LPM.pm","https://blog.urth.org/2021/03/29/security-issues-in-perl-ip-address-distros/","https://security.metacpan.org/patches/N/Net-IP-LPM/1.10/CVE-2025-40910-r1.patch","https://rt.cpan.org/Ticket/Display.html?id=179855","https://metacpan.org/release/RRWO/Net-IP-LPM-1.11/changes"],"weaknesses":["CWE-1287"],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/40xxx/CVE-2025-40910.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-40910","state":"PUBLISHED","datePublished":"2025-06-27T12:19:59.195Z","dateUpdated":"2026-09-07T18:26:26.820Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2025-04-16T09:05:34.361Z"},"containers":{"cna":{"title":"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","descriptions":[{"lang":"en","value":"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.\n\nLeading 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."}],"affected":[{"packageName":"Net-IP-LPM","packageURL":"pkg:cpan/Net-IP-LPM","defaultStatus":"unaffected","versions":[{"version":"1.10","status":"affected","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","modules":["Net::IP::LPM"]}],"references":[{"url":"https://metacpan.org/release/TPODER/Net-IP-LPM-1.10/diff/TPODER/Net-IP-LPM-1.09/lib/Net/IP/LPM.pm"},{"url":"https://blog.urth.org/2021/03/29/security-issues-in-perl-ip-address-distros/"},{"url":"https://security.metacpan.org/patches/N/Net-IP-LPM/1.10/CVE-2025-40910-r1.patch","tags":["patch"]},{"url":"https://rt.cpan.org/Ticket/Display.html?id=179855","tags":["issue-tracking","vendor-advisory"]},{"url":"https://metacpan.org/release/RRWO/Net-IP-LPM-1.11/changes","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1287","description":"CWE-1287 Improper Validation of Specified Type of Input","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-09-07T18:26:26.820Z"},"solutions":[{"lang":"en","value":"Upgrade to Net::IP::LPM version 1.11 or later."}],"source":{"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","value":"Apply the patch."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.5,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-06-27T20:06:14.573534Z","id":"CVE-2025-40910","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-27T20:06:41.450Z"}}]}}}