p PatchFirst

PatchFirst · Latest vulnerabilities

nmap vulnerabilities

Vulnerabilities published for nmap in the last 30 days: 15. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 21

  1. CVE-2026-81419

    Medium · CVSS 5.9Public exploitNo fix published

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

    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.

    Published Updated
  2. CVE-2026-81418

    Medium · CVSS 5.9Public exploitNo fix published

    Nmap < 7.992 Unbounded Allocation via EIGRP TLV Parser Arithmetic Error in eigrp.lua

    Nmap before 7.992 contains an uncontrolled resource consumption vulnerability in the TLV.AUTH parser of the NSE eigrp.lua library, whose length arithmetic cancels out the running read position. An attacker on the same layer 2 segment can send a single crafted EIGRP Update of roughly 36 bytes over unauthenticated multicast, causing unbounded table growth that exhausts the memory of the Nmap process when broadcast-eigrp-discovery.nse is running.

    Published Updated
  3. CVE-2026-81417

    Medium · CVSS 6Public exploitNo fix published

    Nmap < 7.992 Scan Freeze via Unreaped Errored Coroutine in tftp.lua

    Nmap before 7.992 contains an infinite loop vulnerability in the dispatcher of the NSE tftp.lua library, which removes completed coroutines but not ones that ended in an error, leaving a zero-yield spin. A malicious TFTP exchange reached by snmp-ios-config.nse after an SNMP write sequence can leave a dead coroutine that freezes the entire Nmap invocation, before port scanning begins for any target in the run; the hang is prevented when the script-timeout option is set.

    Published Updated
  4. CVE-2026-81416

    Medium · CVSS 6Public exploitNo fix published

    Nmap < 7.992 Infinite Loop via Malformed Repeat to Address Order in tn3270.lua

    Nmap before 7.992 contains an infinite loop vulnerability in the process_write function of the NSE tn3270.lua library, whose write loop does not advance when it processes a malformed Repeat to Address (RA) order. A malicious TN3270 server on a scanned host can embed a single 6-byte malformed RA order in an ordinary screen-write data stream after a normal negotiation, causing a permanent 100% CPU hang of the Nmap process when tn3270-screen.nse runs, which the script-timeout option does not interrupt.

    Published Updated
  5. CVE-2026-81415

    Medium · CVSS 6No fix published

    Nmap < 7.992 Infinite Loop via Conformant DEVICETYPE IS Response in tn3270.lua

    Nmap before 7.992 contains an infinite loop vulnerability in the negotiate_tn3270 function of the NSE tn3270.lua library, whose device-type search loop does not advance when the server sends a protocol-conformant DEVICETYPE IS response without an LU suffix. A TN3270E server on a scanned host, including a non-malicious one that sends such a response, causes a permanent 100% CPU hang of the Nmap process when tn3270-screen.nse runs, which the script-timeout option does not interrupt.

    Published Updated
  6. CVE-2026-81414

    Medium · CVSS 6No fix published

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

    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.

    Published Updated
  7. CVE-2026-81413

    Medium · CVSS 6No fix published

    Nmap < 7.992 Memory Exhaustion via Uncapped AXFR Read in dns-zone-transfer.nse

    Nmap before 7.992 contains an uncontrolled resource consumption vulnerability in the inline AXFR response reader of the dns-zone-transfer.nse script, which reads the zone transfer response without a size limit. A malicious DNS server on a scanned host can stream unbounded data over TCP port 53 after the AXFR request, causing the memory of the Nmap process to grow at the attacker's send rate until it is exhausted.

    Published Updated
  8. CVE-2026-81412

    High · CVSS 7.1No fix published

    Nmap < 7.992 Unbounded Allocation via Server-Declared Array Count in msrpctypes.lua

    Nmap before 7.992 contains an excessive memory allocation vulnerability in the unmarshall_array function of the NSE msrpctypes.lua library, which trusts the entry count declared by the server. A malicious SMB server on a scanned host can declare an EntriesRead value of 0xFFFFFFFF with an empty buffer, causing a prolonged CPU spin and exhausting the memory of the Nmap process; the library is used by smb-enum-shares.nse in the default script category (-sC, -A).

    Published Updated
  9. CVE-2026-81411

    High · CVSS 7.1No fix published

    Nmap < 7.992 Infinite Loop via Zero-Length GCC Block in rdp.lua

    Nmap before 7.992 contains an infinite loop vulnerability in the ConfCreateResponse GCC block parser of the NSE rdp.lua library, which does not check that each block advances the read position. A malicious RDP server on a scanned host can include a single malformed zero-length block in an otherwise valid handshake, causing a permanent 100% CPU hang of the Nmap process that the script-timeout option does not interrupt; the library is used by rdp-enum-encryption.nse in the default script category (-sC, -A).

    Published Updated
  10. CVE-2026-81410

    Low · CVSS 2.1No fix published

    Nmap < 7.992 Blind Server-Side Request Forgery via Unvalidated UPnP LOCATION URL in broadcast-upnp-info.nse

    Nmap before 7.992 contains a server-side request forgery vulnerability in the broadcast-upnp-info.nse script and the upnp.lua library, which fetch the device description from the LOCATION URL in a UPnP response without checking that it points to the responding host. An attacker on the local network who answers the script's discovery broadcast can supply a LOCATION URL for an arbitrary host, port and path, including internal and loopback addresses, making Nmap send a GET request there; response content is not returned to the attacker.

    Published Updated
  11. CVE-2026-81409

    Medium · CVSS 5.3No fix published

    Nmap < 7.992 Blind Server-Side Request Forgery via Unvalidated Redirect in http-cisco-anyconnect.nse

    Nmap before 7.992 contains a server-side request forgery vulnerability in the http-cisco-anyconnect.nse script and the anyconnect.lua library, whose redirect handler follows a server-supplied redirect target without checking that it stays on the scanned host. A malicious web server on a scanned host can redirect Nmap to an arbitrary host and port, including internal and loopback addresses the attacker cannot reach directly, making Nmap send a HEAD request followed by a POST request there; response content is not returned to the attacker. The script runs in the default script category (-sC, -A).

    Published Updated
  12. CVE-2026-81408

    High · CVSS 7.1No fix published

    Nmap < 7.992 Unbounded Loop via Malicious DRDA Response in drda.lua

    Nmap before 7.992 contains a loop with an unreachable exit condition in the parameter-list parsing of the NSE drda.lua library, which keeps growing its parameter list while processing a malicious DRDA response. A malicious DRDA service on a scanned host can make the loop consume memory without bound on 64-bit builds, exhausting the Nmap process and discarding NSE results for every other host in the same scan batch without reporting an error; the library is reached by service probes during version detection (-sV).

    Published Updated
  13. CVE-2026-81407

    Medium · CVSS 6No fix published

    Nmap < 7.992 Cleartext Credential Recovery via Hardcoded DH Exponent in afp.lua

    Nmap before 7.992 contains a hardcoded cryptographic key vulnerability in the DHCAST128 login of the NSE afp.lua library, which uses a fixed, publicly known Diffie-Hellman private exponent. A passive observer of the network traffic between Nmap and an Apple Filing Protocol server can compute the shared secret from the hardcoded exponent and the server's public value and decrypt the password supplied to scripts such as afp-showmount.nse and afp-brute.nse through the afp.username and afp.password arguments, without man-in-the-middle access or cryptanalysis.

    Published Updated
  14. CVE-2026-81406

    High · CVSS 7.1No fix published

    Nmap < 7.992 Memory Exhaustion via Unbounded DB2 DAS Packet Length in db2-das-info.nse

    Nmap before 7.992 contains an uncontrolled resource consumption vulnerability in the read_db2_packet function of the db2-das-info.nse script, which trusts an unmasked 32-bit length field supplied by the server. A malicious DB2 Administration Server on a scanned host can declare a packet length of up to roughly 4.29GB, causing the script to buffer that much data and the Nmap process to exhaust memory; the script runs during version detection (-sV).

    Published Updated
  15. CVE-2026-81405

    High · CVSS 7.1No fix published

    Nmap < 7.992 Memory Exhaustion via Unbounded ONC-RPC Fragment Length in rpc.lua

    Nmap before 7.992 contains an uncontrolled resource consumption vulnerability in the Comm.ReceivePacket function of the NSE rpc.lua library, which buffers ONC-RPC record fragments using the server-declared fragment length without an upper bound. A malicious RPC service on a scanned host can declare fragments of up to roughly 2.1GB, and up to 400 fragments per call, causing the Nmap process to exhaust memory; the read path is reached by rpcinfo.nse during version detection (-sV) and is shared by the NFS, rusers and NetWorker scripts.

    Published Updated
  16. CVE-2026-72712

    Medium · CVSS 6.9EPSS 0.61%No fix published

    Nmap 7.99 Denial of Service via Zero-Length TCP Option Packet

    Nmap versions up to and including 7.99 contains a denial of service vulnerability that allows remote attackers to crash the application by sending a crafted packet containing a zero-length TCP option. The malformed packet forces the Packet:parse_options() function in nselib/packet.lua to allocate objects in an infinite loop, causing an out-of-memory condition that results in application crash.

    Published Updated
  17. CVE-2026-58058

    Medium · CVSS 6.9EPSS 1.45%Public exploitNo fix published

    Nmap - Integer Underflow in IPv6 Extension Header Parsing

    Nmap through 7.99 does not keep the IPv6 extension-header walk within the captured packet in ipv6_get_data_primitive (libnetutil/netutil.cc), so the pointer advances past the buffer and the remaining-length computation underflows to a large value. A scanned target or on-path attacker returning a crafted IPv6 response with a truncated extension header can trigger out-of-bounds reads and a crash during raw IPv6 scans.

    Published Updated
  18. CVE-2018-1000161

    Medium · CVSS 5.7EPSS 1.03%Fix available

    CVE-2018-1000161

    nmap version 6.49BETA6 through 7.60, up to and including SVN revision 37147 contains a Directory Traversal vulnerability in NSE script http-fetch that can result in file overwrite as the user is running it. This attack appears to be exploitable via a victim that runs NSE script http-fetch against a malicious web site. This vulnerability appears to have been fixed in 7.7.

    • Update to 7.70+dfsg1-1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →