CVE-2026-81419Nmap Loop with Unreachable Exit Condition (Infinite Loop)
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 5.9 (MEDIUM)
CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NAttack VectorAdjacent
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 4.8)
CVSS v3.1 Base Metrics — Score 4.8 (MEDIUM)
CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:HAttack VectorAdjacent
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh
Affected & Patched Versions
- Nmap < 7.992
- Nmap 7.992
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Nmap and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 25, 2026Published
- Nov 25, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Nmap CVEsYou are reading CVE-2026-81419. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://github.com/nmap/nmap/commit/5fda523bc07cf813cdff725f769eeac92b2de2f2
- Patchhttps://github.com/nmap/nmap/commit/390c0b72fa687b2ff8d945ff3ffd0a0c2f049096
- Referencehttps://github.com/nmap/nmap/blob/v7.992/CHANGELOG
- Referencehttps://nmap.org/changelog.html
- Referencehttps://www.vulncheck.com/advisories/nmap-7.992-infinite-loop-via-zero-length-lsa-header-in-ospf-lua
Data last checked: Nov 26, 2026 16:13 UTC