Home › CVE › Vulnerabilities
CVE-2026-81406 — Nmap
One of 15 Nmap vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesResearch article
Nmap 7.992 Memory Exhaustion Vulnerability in DB2 DAS Info Script
| CVE | CVE-2026-81406 |
|---|---|
| Vendor and product | Nmap |
| Published | November 25, 2026 21:35 UTC |
| Research cut-off | November 25, 2026 21:10 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-25); CISA KEV catalog |
Executive summary
CVE-2026-81406 is a memory exhaustion flaw in Nmap's db2-das-info.nse script, impacting versions prior to 7.992 [1]. The CVSS 3.1 score is 6.5 MEDIUM, with a CVSS 4.0 score of 7.1 HIGH [1]. The vulnerability is not included in CISA's Known Exploited Vulnerabilities Catalog [2]. The primary mitigation is to upgrade to version 7.992 [1].
Key points
- CVE-2026-81406 is a memory exhaustion vulnerability in Nmap's db2-das-info.nse script [1].
- The CVSS 3.1 score is 6.5 MEDIUM, with a CVSS 4.0 score of 7.1 HIGH [1].
- The vulnerability is not listed in CISA's Known Exploited Vulnerabilities Catalog [2].
- The main action is to upgrade to Nmap version 7.992 or later [1].
- The vulnerability affects Nmap versions before 7.992 [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 4.0 | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|---|
| CVE-2026-81406 | Nmap | Nmap | CWE-770 | 7.1 HIGH, scored by disclosure@vulncheck.com (Secondary) | 6.5 MEDIUM, scored by disclosure@vulncheck.com (Secondary) | 2026-11-25T18:18:55 | 2026-11-25T19:17:40 | Received |
Vulnerability description
The readdb2packet function in Nmap's db2-das-info.nse script, prior to version 7.992, relies on an unmasked 32-bit length field provided by the server. This allows a malicious DB2 Administration Server to specify a packet size up to approximately 4.29GB [1]. The script runs during version detection (-sV), and the Nmap process can exhaust memory [1].
Attack surface and exploitation prerequisites
According to the CVSS vector, the vulnerability requires network access (AV:N) and passive user interaction (UI:P) [1]. According to the CVSS 4.0 vector, the attack requires no privileges (PR:N) [1].
Impact analysis
The CVSS 3.1 vector indicates that the vulnerability does not affect confidentiality (C:N) or integrity (I:N), but it causes a high impact on availability (A:H) [1]. The CVSS 4.0 vector shows a high impact on availability (VA:H), with no impact on confidentiality (VC:N), integrity (VI:N), or other metrics [1].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| Nmap < 7.992 | 7.992 |
Exploitation and threat intelligence status
CVE-2026-81406 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-25 [2]. The CISA catalog does not list CVE-2026-81406, and that absence is not evidence that it has not been exploited [2].
Detection and exposure assessment
Users can determine if they are at risk by checking whether their installed Nmap version is below 7.992 [1]. The sources do not provide specific steps for detection [1].
Remediation
The vendor has released a fixed version, 7.992 [1]. Users are advised to update to this version to reduce the risk [1].
Remediation checklist
Evidence gaps
- The sources do not describe the technical background of the product.
- The sources do not explain the root cause of the vulnerability beyond the CWE.
- The sources do not describe the technical mechanics of how the flaw operates.
- The sources do not provide any exploitation scenarios or attack lifecycle details.
- The sources do not mention any indicators of compromise.
- The sources do not list any workarounds or compensating controls.
References
- CVE-2026-81406 record. NIST National Vulnerability Database (NVD), 2026-11-25. https://nvd.nist.gov/vuln/detail/CVE-2026-81406. Accessed 2026-11-25.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-25. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-25.
Summary
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).
Severity breakdown
High · 7.1
An attacker without an account can exploit this over the network if a user views or visits something.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
- CWE-770: Allocation of Resources Without Limits or Throttling
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Nmap | < 7.992 | 7.992 |
References by type
Patches and fixed releases
- github.com/nmap/nmap/commit/9de32e381e5fde01e18f1a62b04b3c44ded59c24
- github.com/nmap/nmap/commit/c6ae85544d97b10897937da3c78adb95107b01bd
Other references
Affected
- Nmap
Frequently asked questions
What is CVE-2026-81406?
CVE-2026-81406 is a memory exhaustion flaw in Nmap's db2-das-info.nse script, impacting versions prior to 7.992. The CVSS 3.1 score is 6.5 MEDIUM, with a CVSS 4.0 score of 7.1 HIGH. The vulnerability is not included in CISA's Known Exploited Vulnerabilities Catalog. The primary mitigation is to upgrade to version 7.992. Weakness type: Allocation of Resources Without Limits or Throttling (CWE-770).
How severe is CVE-2026-81406?
CVE-2026-81406 has a CVSS 4.0 base score of 7.1 (high), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network if a user views or visits something.
Is CVE-2026-81406 being exploited?
Not as far as is known: CVE-2026-81406 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.7% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-81406?
Nmap < 7.992 (fixed in 7.992).
How do I fix CVE-2026-81406?
Upgrade Nmap to version 7.992 or later to address the vulnerability. Verify that all affected systems are running the fixed version of Nmap. Review network access controls to limit exposure to untrusted DB2 Administration Servers (general guidance, not from the record).