Nmap < 7.992 Infinite Loop via Zero-Length LSA Header in ospf.lua

State
Published
Severity
5.9 Medium
Published
Nov 25, 2026
Updated
Nov 25, 2026
Reserved
Aug 26, 2026

Read the record on cve.org

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.

ProductVersions
Nmap Nmapbefore 7.992 Affected

Weaknesses

  • CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.