home / blog
2026-11-26 · medium
CVE-2026-81419: Nmap infinite loop vulnerability causes local DoS
CVE-2026-81419 in Nmap causes infinite loop in ospf.lua library. Local attack causes 100% CPU hang.

CVE-2026-81419 is an infinite loop vulnerability in Nmap, within the ospf.lua NSE library. The LSUpdate.parse function does not properly handle LSA headers with zero length, causing an infinite loop that hangs the process at 100% CPU when the broadcast-ospf2-discover.nse script detects a spoofed, unauthenticated OSPF LS Update packet.
The vulnerability has a CVSS score of 4.8 (medium severity) and was officially published on November 25, 2026. There are reports on GitHub repositories indicating that the vulnerable script has unlimited execution time, confirming the potential for exploitation. No currently confirmed active exploits are known.
Organizations using Nmap should check the installed version and immediately update to Nmap 7.992 or later. Patches should be applied even to systems where Nmap is installed but not actively used, to prevent potential exploits that could cause local DoS.
At a glance
- What
- Infinite loop vulnerability in the LSUpdate.parse function of the NSE ospf.lua library in Nmap, which does not advance when it reads an LSA header with a zero length
- Severity
- CVSS 4.8, medium
- Affected versions
- Nmap before version 7.992
- Fix
- Update to Nmap version 7.992 or later
- Status
- Published on 2026-11-25
- Action
- Apply the patch or update Nmap, verify if the installed version is vulnerable
Sources: NVD, CVE-2026-81419