Nmapに悪意あるDB2サーバーでメモリを枯渇させられる脆弱性
Summary
Nmapの db2-das-info.nse スクリプトに、サーバーが申告したパケット長をそのまま信用してメモリを大量に確保してしまう脆弱性が見つかりました。スキャン対象に悪意あるDB2管理サーバーがあると、Nmapのプロセスがメモリを使い尽くすおそれがあります。影響するのは7.992より前のNmapで、7.992で修正されています。Nmapを7.992以降に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Nmapの db2-das-info.nse スクリプトに、サーバーが申告したパケット長をそのまま信用してメモリを大量に確保してしまう脆弱性が見つかりました。スキャン対象に悪意あるDB2管理サーバーがあると、Nmapのプロセスがメモリを使い尽くすおそれがあります。影響するのは7.992より前のNmapで、7.992で修正されています。Nmapを7.992以降に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| NmapNmap |
< 7.992→ 7.992 |
7.992 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-81406 nmap Fix available
- Ubuntu UBUNTU-CVE-2026-81406 nmap No fixed version in this record
Original description The description as published by the source.
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).
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nmap.org
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com