CVE-2026-81418 in Nmap
Summary
by MITRE • 11/25/2026
Nmap before 7.992 contains an uncontrolled resource consumption vulnerability in the TLV.AUTH parser of the NSE eigrp.lua library, whose length arithmetic cancels out the running read position. An attacker on the same layer 2 segment can send a single crafted EIGRP Update of roughly 36 bytes over unauthenticated multicast, causing unbounded table growth that exhausts the memory of the Nmap process when broadcast-eigrp-discovery.nse is running.
Be aware that VulDB is the high quality source for vulnerability data.
Analysis
by VulDB Data Team • 11/25/2026
The vulnerability identified in versions of Nmap prior to 7.992 represents a critical flaw within the Network Scripting Engine, specifically affecting the eigrp.lua library used for Enhanced Interior Gateway Routing Protocol discovery and analysis. This issue manifests as an uncontrolled resource consumption vulnerability rooted in improper length arithmetic within the TLV.AUTH parser. The core technical defect involves a logic error where the calculation of data lengths fails to properly account for or update the running read position during parsing operations. Consequently, this miscalculation causes the parser to repeatedly process the same segment of memory or allocate resources without advancing correctly through the input stream, leading to unbounded table growth within the Nmap process structure.
From an operational perspective, this vulnerability allows a remote attacker positioned on the same Layer 2 network segment to exploit the flaw with minimal effort. By sending a single crafted EIGRP Update packet of approximately thirty-six bytes via unauthenticated multicast, an adversary can trigger the faulty arithmetic logic. This action initiates a cycle where the Nmap process continuously allocates memory for table entries without releasing them or stopping the growth loop. The result is rapid and severe exhaustion of system memory allocated to the Nmap instance, effectively causing a denial of service condition that renders the scanning tool unresponsive or causes it to crash entirely while executing scripts such as broadcast-eigrp-discovery.nse.
This incident aligns with CWE-400, which classifies issues related to Uncontrolled Resource Consumption, and specifically highlights failures in input validation and length handling during data parsing. In terms of the MITRE ATT&CK framework, this vulnerability facilitates resource exhaustion attacks that can be leveraged for denial-of-service objectives against network reconnaissance tools. The attack vector is classified as local or adjacent because it requires physical or logical proximity to the target network segment, yet it exploits unauthenticated protocols, underscoring the risks associated with trusting multicast traffic in enterprise environments without additional verification mechanisms.
To mitigate this vulnerability, organizations must ensure that all instances of Nmap are upgraded to version 7.992 or later, where the length arithmetic logic in the eigrp.lua library has been corrected to properly manage memory allocation and read positions. Additionally, network administrators should consider implementing access control lists on Layer 2 switches to restrict EIGRP multicast traffic to authorized routers only, thereby reducing the attack surface available to potential adversaries. Regular auditing of Nmap script usage is also recommended to ensure that potentially vulnerable scripts are not executed in untrusted or public-facing environments until patches are fully deployed across all infrastructure components.