Infinite Loop Vulnerability in Nmap's OSPF Library Affects Network Scanning
CVE-2026-81419
5.9MEDIUM
What is CVE-2026-81419?
The vulnerability in Nmap manifests as an infinite loop within the LSUpdate.parse function of the ospf.lua library. This occurs when the library encounters an LSA header that has a zero length, preventing the processing from advancing. An attacker on the same layer 2 segment can exploit this flaw by sending a single spoofed, unauthenticated OSPF LS Update packet. Upon interception, typically via the broadcast-ospf2-discover.nse script, this can result in a complete hang of the Nmap process, consuming 100% of the CPU resources indefinitely. Users are advised to update to Nmap version 7.992 or later to mitigate the risk.
Affected Version(s)
Nmap 0 < 7.992
References
CVSS V4
Score:
5.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Adjacent Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Karan Bamal (SentinelOne)
