Description
Net::IP::LPM versions before 1.12 for Perl accept malformed prefix lengths.

Non-numeric and non-ASCII prefix lengths are accepted and treated as 0. Integers over 31 bits are silently truncated. A single malformed mask will poison the lookup table.

The result is that the lookup will silently succeed for every address. An allow-list will allow every address, and a deny-list will block every address.
Published: 2026-09-07
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Net::IP::LPM versions prior to 1.12 incorrectly accept malformed prefix lengths, treating non‑numeric or excessively large values as zero and silently truncating integers over 31 bits. The result is that every lookup succeeds for any IP address, turning an allow list into a universal allow and a deny list into a universal deny. This falsifies the intended access controls, enabling traffic that should be blocked or blocking traffic that should be permitted.

Affected Systems

The vulnerability affects the Perl Net::IP::LPM library in all releases before version 1.12. Any system that includes this module and uses it to parse IP prefixes for network ACLs is exposed.

Risk and Exploitability

Based on the description, it is inferred that the attacker must be able to supply or influence the prefix strings processed by the library, which is typically possible in local or application contexts that load the module. A successful exploit can bypass authorization checks or cause a denial of service by making the deny‑list reject all traffic. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, so the documented likelihood is unknown, but the potential impact on network control is significant. Prompt remediation is advised due to the broad effect on access policies.

Generated by OpenCVE AI on September 7, 2026 at 19:50 UTC.

Remediation

Vendor Solution

Upgrade to Net::IP::LPM version 1.12 or later.


OpenCVE Recommended Actions

  • Upgrade the Net::IP::LPM module to version 1.12 or later.
  • If an upgrade cannot be performed immediately, enforce strict input validation before calling the library to ensure prefixes are numeric and limited to 0–32 bits, rejecting any malformed values.
  • Disable or remove configurations that use the library for allow/deny lists until the module is upgraded or validated input is applied.

Generated by OpenCVE AI on September 7, 2026 at 19:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 07 Sep 2026 18:30:00 +0000

Type Values Removed Values Added
Description Net::IP::LPM versions before 1.12 for Perl accept malformed prefix lengths. Non-numeric and non-ASCII prefix lengths are accepted and treated as 0. Integers over 31 bits are silently truncated. A single malformed mask will poison the lookup table. The result is that the lookup will silently succeed for every address. An allow-list will allow every address, and a deny-list will block every address.
Title Net::IP::LPM versions before 1.12 for Perl accept malformed prefix lengths
Weaknesses CWE-1287
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-09-07T20:07:31.385Z

Reserved: 2026-09-06T14:31:43.537Z

Link: CVE-2026-86287

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-07T19:17:28.370

Modified: 2026-09-07T19:17:28.370

Link: CVE-2026-86287

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-07T20:00:05Z

Weaknesses
  • CWE-1287

    Improper Validation of Specified Type of Input