AZL-116224: CVE-2026-81419 affecting package nmap 7.95-6
Nmap before 7.992 contains an infinite loop vulnerability in the LSUpdate.parse function of the NSE ospf.lua library, which does not advance when it reads an LSA header with a zero length. An attacker on the same layer 2 segment can send a single spoofed, unauthenticated OSPF LS Update packet, causing a permanent 100% CPU hang of the Nmap process as soon as broadcast-ospf2-discover.nse captures it.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
nmapto a version that resolves this vulnerability.Fixed in 7.992
Event History
Frequently Asked Questions
Which Nmap activity is exposed to this issue?
The vulnerable code is reached when the broadcast-ospf2-discover.nse NSE script captures an OSPF LS Update packet. Systems running Nmap without that script capturing the packet are not described as affected by this issue.
What does an attacker need to exploit it?
An attacker must be on the same Layer 2 segment and able to send one spoofed, unauthenticated OSPF LS Update packet containing an LSA header with a zero length. No authentication is required for the crafted packet.
What is the impact if exploitation succeeds?
The affected Nmap process enters a permanent infinite loop and consumes 100% CPU. The hang occurs as soon as the discovery script captures the malicious packet.
What version boundary is provided for remediation?
Nmap versions before 7.992 are affected. The listed package is nmap 7.95-6, which falls below that boundary.