Loop with Unreachable Exit Condition ('Infinite Loop') Affecting nmap package, versions <7.993+dfsg-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.68% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-NMAP-22989376
  • published26 Nov 2026
  • disclosed25 Nov 2026

Introduced: 25 Nov 2026

NewCVE-2026-81419  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Echo:latest nmap to version 7.993+dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nmap package and not the nmap package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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 Base Scores

version 3.1