cvelo
P3 · MediumCVSS 5.3EPSS 0.6%

Nmap < 7.992 Memory Exhaustion and Quadratic CPU Use via SOA-over-TCP Response in dns.lua

  • CVE-2026-81414
  • GHSA-mxw7-c647-fm6p
  • EUVD-2026-135609

Description

Nmap before 7.992 contains an uncontrolled resource consumption vulnerability in the sendPacketsTCP function of the NSE dns.lua library, which reads a DNS-over-TCP response without a size limit and builds it by repeated string concatenation. A malicious DNS server on a scanned host can stream unbounded data in response to the initial SOA lookup made by dns-zone-transfer.nse, before any AXFR request is sent, causing unbounded memory growth and quadratic CPU cost in the Nmap process.

Text from the CVE.org record.

Recommendation

  • Nmap

    • If you run a version before 7.992update to 7.992 or later

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Nmap

    Affected versionsFixed in
    before 7.9927.992

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.