Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Nmap | Nmap | < 7.992 | 7.992 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nmap | 7.993+dfsg-1 | — |
| Debian 13 | nmap | No fix yet | — |
| Debian 12 | nmap | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 0 repositories
-
googlesky/CVE-2026-81419 ★ 0 · Nov 25, 2026
Nmap before 7.992: NSE script threads have no execution time limit — a never-returning script spins forever and hangs the scan. Verbatim timer from 390c0b7: unbounded on vuln, killed at limit on fixed
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- WID-SEC-2026-4820 nmap: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 25, 2026
References
- Fix Commit (OSPF header length check) patch
- NSE 5-Second Non-Yielding Thread Kill Commit patch
- Nmap 7.992 Changelog release-notes
- Nmap Changelog release-notes
- VulnCheck Advisory: Nmap < 7.992 Infinite Loop via Zero-Length LSA Header in ospf.lua third-party-advisory