Skip to main content
EPSS 0.3%top 78%

CVE-2025-40910: CWE-1287 Improper Validation of Specified Type of Input

0
Medium
Published: 06/27/2025 (06/27/2025, 12:19:59 UTC)
Source: CVE Database V5

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.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/03/2026, 21:10:08 UTC

Technical Analysis

The vulnerability in Net::IP::LPM version 1.10 arises from improper validation of input types, specifically the handling of leading zeros in IP CIDR address strings. Leading zeros can indicate octal numbers, which may be misinterpreted by the software, leading to incorrect IP address parsing. This flaw can be exploited to bypass access control mechanisms that rely on IP address filtering, as the software may treat the same IP address differently depending on the notation used.

Potential Impact

An attacker could exploit this vulnerability to bypass IP address-based access controls by using IP addresses with leading zeros. This could allow unauthorized access to systems or services protected by IP filtering rules implemented using Net::IP::LPM version 1.10. The impact is limited to confidentiality and integrity, with no direct impact on availability reported.

Mitigation Recommendations

No official patch or fix is currently available for this vulnerability. Users should monitor the vendor's advisory channels for updates. Until a fix is released, consider implementing additional validation or normalization of IP addresses before they are processed by Net::IP::LPM to mitigate the risk of bypass. Avoid relying solely on IP address filtering for critical access control decisions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
CPANSec
Date Reserved
2025-04-16T09:05:34.361Z
State
PUBLISHED

Threat ID: 685e8ea2f6cf908199682bfc

Added to database: 06/27/2025, 12:29:22 UTC

Last enriched: 07/03/2026, 21:10:08 UTC

Last updated: 09/10/2026, 22:12:39 UTC

Views: 205

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses