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.
Severity (CVSS)
| Base score | 5.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-835 — Loop with Unreachable Exit Condition ('Infinite Loop')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Nmap | Nmap | 0 to <7.992 [affected] |
References
- https://github.com/nmap/nmap/commit/5fda523bc07cf813cdff725f769eeac92b2de2f2 (patch)
- https://github.com/nmap/nmap/commit/390c0b72fa687b2ff8d945ff3ffd0a0c2f049096 (patch)
- https://github.com/nmap/nmap/blob/v7.992/CHANGELOG (release-notes)
- https://nmap.org/changelog.html (release-notes)
- https://www.vulncheck.com/advisories/nmap-7.992-infinite-loop-via-zero-length-lsa-header-in-ospf-lua (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 26 Nov 2026 08:03 UTC.