新着 / 2026年11月26日 / CVE-2026-81405
Nmap NSE rpc.lua における メモリ枯渇(リソース消費)の脆弱性
掲載
何が問題か
Nmap 7.992 より前のバージョンには、NSE の rpc.lua ライブラリ Comm.ReceivePacket 関数において、ONC-RPC のレコード断片をサーバー側が宣言した断片長の上限なしでバッファリングする問題(CWE-770)があります。スキャン対象ホスト上の悪意ある RPC サービスが巨大な断片長を宣言することで、Nmap プロセスのメモリを枯渇させる可能性があります。この読み取り処理は rpcinfo.nse によるバージョン検出(-sV)から到達し、NFS、rusers、NetWorker のスクリプトでも共有されています。
悪用されると
悪用されると、Nmap プロセスがメモリを使い果たし、スキャンが異常終了または停止する可能性があります。影響の範囲や実際の悪用状況については公表されていません。
取るべき対応
Nmap を 7.992 以降のバージョンへ更新してください。更新までは、信頼できない機器やホストに対して -sV などの RPC 関連スクリプトを使ったスキャンを行わないことを検討してください。
AIが出典から要約し、数値を機械照合しています。
更新履歴
初回掲載。
指標
| 深刻度(CVSS v4.0) | 重要 7.1CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
|---|---|
| 実際の攻撃での悪用 | CISA KEVには未掲載 |
| 問題の種類 | CWE-770 |
| CVE公開日 | 2026-11-25 |
出典
- NVD: CVE-2026-81405
- https://github.com/nmap/nmap/blob/v7.992/CHANGELOG
- https://github.com/nmap/nmap/commit/9de32e381e5fde01e18f1a62b04b3c44ded59c24
- https://github.com/nmap/nmap/commit/f0e4ac576afacccfff5c669c196b2109315e1ca5
- https://nmap.org/changelog.html
- https://www.vulncheck.com/advisories/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.