Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply oversized CIDR prefix to app
-
DeliveryApp calls add() with '/255' prefix
-
ExploitTrie builder walks bits past buffer
-
ExecutionHeap out-of-bounds read during construction
-
ImpactProcess aborts under hardened allocator (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target application to call Net::IP::LPM's add() with an attacker-influenced prefix string whose prefix length exceeds the address-family width - specifically greater than /32 for IPv4 or greater than /128 for IPv6 (e.g. add("1.2.3.4/255") or add("2001:db8::/255")). Limiting factors that sharply reduce real-world risk: add() is normally supplied operator-controlled configuration rather than remote input, so network exploitability depends entirely on the consuming app's data flow; the over-read contents are never exposed through lookups or dump(), so no information actually leaks; and a process abort only occurs when Perl is built with AddressSanitizer, valgrind, or a hardened allocator - on a standard allocator the read is silent and harmless. There is no authentication or user-interaction requirement at the library level, but reachability is gated by application design, not by the module itself. |
| Impact | Signals conflict sharply. The published CVSS 3.1 vector (9.1, AV:N/AC:L/PR:N/UI:N/C:H/A:H) implies a critical, remotely exploitable confidentiality-and-availability flaw, but the description directly contradicts the C:H rating: the out-of-bounds bytes are never exposed through the module API, so there is no realistic information disclosure despite the 'Information Disclosure' tag. The only tangible effect is a potential process crash, and only in builds using ASan/valgrind/a hardened allocator - otherwise the over-read is benign. EPSS (0.23%, 13th percentile), SSVC exploitation 'none', and absence from CISA KEV all point to low real-world urgency; SSVC 'Automatable: yes' and 'Technical Impact: partial' reflect that IF an app pipes untrusted prefix strings to add() it triggers reliably, but that data-flow is uncommon since add() is normally fed operator-controlled configuration. Net assessment: this is a high-CVSS/low-real-risk hygiene bug, not an emergency. The AV:N and C:H metrics should be verified against the actual call path - network reachability depends entirely on whether the consuming application exposes add() to remote input. |
| Exploit ScenarioDerived | An application that builds a Net::IP::LPM trie from externally supplied prefix lists (for example, importing a route/ACL file or accepting CIDR strings over an API) passes an entry like "1.2.3.4/255" or "2001:db8::/255" to add(). During trie construction the module reads ~32 bytes past the packed address buffer; in a normal build this is silent, but on a hardened-allocator or ASan/valgrind build the process aborts, causing a denial of service. No public exploit code exists, and because the over-read bytes are never returned, there is no demonstrated data leak. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 06, 2026
Out-of-bounds heap read in the Net::IP::LPM Perl module (all versions through 1.10) is triggered when an application passes an oversized CIDR prefix length (e.g. add("1.2.3.4/255") or a /255 IPv6 prefix) to the trie builder, which walks the packed address buffer by the attacker-supplied bit count without validating it against the 32-bit/128-bit address width. The read runs at most ~32 bytes past a 4- or 16-byte buffer and its contents are never returned through the module's API, so real-world impact is limited to a possible process abort under AddressSanitizer, valgrind, or a hardened allocator. No public exploit identified at time of analysis; EPSS is low (0.23%, 13th percentile) and SSVC lists exploitation status as none.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply the official patch published at https://security.metacpan.org/patches/N/Net-IP-LPM/1.10/CVE-2026-56015-r2.patch, or upgrade to the next Net::IP::LPM release incorporating it once published on CPAN (track the CPAN RT ticket https://rt.cpan.org/Ticket/Display.html?id=179856 and the oss-security thread https://seclists.org/oss-sec/2026/q3/16 for the tagged version). As a compensating control until patched, validate prefix length in your own code before calling add(): reject or clamp any prefix whose numeric suffix exceeds 32 for IPv4 or 128 for IPv6, which fully prevents the over-read with no functional side effects since such prefixes are invalid anyway. Additionally, avoid passing untrusted or user-supplied CIDR strings directly into add(); restrict that path to validated operator-controlled configuration. Running production Perl with a hardened allocator would turn the benign over-read into a crash, so it is not a mitigation here - it converts an info-safe read into a denial-of-service and should not be relied on as a fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Net::IP::LPM is a CPAN XS/C module implementing Longest Prefix Match lookups over IPv4/IPv6 routing-style prefixes using a bit-trie. The root cause is CWE-125 (Out-of-bounds Read): add() forwards the user-supplied prefix string to the internal addPrefixToTrie(), which iterates prefix_length bits and dereferences prefix[byte] for byte up to prefix_len/8. Because prefix_length is stored as an unsigned char and never bounded to the address family width (32 for IPv4, 128 for IPv6), a value above the width causes the trie walk to index beyond the 4-byte or 16-byte packed address, reading adjacent heap memory during trie construction. The over-read is bounded to at most 32 bytes past the buffer start and the out-of-range bytes influence trie shape only - lookups and dump() format only the valid address width, so leaked bytes are not surfaced.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Over-read bytes are never exposed (C:N, I:N); only realistic effect is a bounded read that can abort the process under a hardened allocator (A:L); reachable network via a consuming app that passes untrusted prefixes, so AV:N/AC:L/PR:N.
Primary rating from Vendor (9b29abf9-4ab0-4765-b253-1875cd9b441e).
CVSS VectorVendor: 9b29abf9-4ab0-4765-b253-1875cd9b441e
Lifecycle Timeline
2DescriptionCVE.org
Net::IP::LPM versions through 1.10 for Perl allow a heap out-of-bounds read via an unbounded prefix length.
add() passes the prefix string to the trie builder addPrefixToTrie() without checking it against the address width.
addPrefixToTrie() then walks the prefix buffer by prefix_length bits, reading prefix[byte] for byte up to prefix_len/8, where prefix is the 4-byte (IPv4) or 16-byte (IPv6) packed address. A prefix length greater than 32 for IPv4 or 128 for IPv6, for example add("1.2.3.4/255", $v) or add("2001:db8::/255", $v), reads past the end of the packed address.
The out-of-bounds read happens during trie construction and is bounded: the prefix length is stored as an unsigned char, so the bit walk reads at most 32 bytes from the start of the packed address, a short distance past the end of the 4-byte or 16-byte buffer. It is detectable under AddressSanitizer, valgrind, or a hardened allocator, where it can abort the process. Lookups and dump() format only the valid address width, so the out-of-bounds bytes are not exposed through the module's API.
Executive ViewAI
Net::IP::LPM Perl module (all versions through 1.10) contains a CVSS 9.1 out-of-bounds heap read vulnerability triggered by oversized CIDR prefix inputs, but practical exploitability is severely constrained-no public exploit identified at time of analysis, exploitation probability is 0.2% (EPSS), and real-world impact is limited to process abort only in hardened debug environments. This represents a significant mismatch between the vulnerability's theoretical severity rating and its operational risk to organizations, enabling a measured response focused on input validation rather than emergency patching.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Enforce strict input validation-reject CIDR prefixes exceeding 32 bits (/IPv4) or 128 bits (/IPv6); (2) restrict CIDR input sources to trusted internal administration only, not user-facing input; (3) deploy process monitoring and automated restart to mitigate availability risk; (4) prioritize migration to alternative IP trie implementations (e.g., Net::CIDR, IPAddress modules) if feasible within 90 days.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-41541
GHSA-q2wj-rfvr-wf9p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB