Skip to content
Medium 7.1

Nmapに過大なメモリ確保の脆弱性、悪意あるSMBサーバーで処理が停止するおそれ

CVE-2026-81412 First seen on SecPulse

Summary

Nmap 7.992より前のバージョンには、スキャン対象のSMBサーバーが申告する配列の件数を検証せずに信用し、過大なメモリを確保してしまう脆弱性が見つかりました。悪意あるSMBサーバーに対してNmapを実行すると、CPUを長時間占有し、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 7.992より前のバージョンには、スキャン対象のSMBサーバーが申告する配列の件数を検証せずに信用し、過大なメモリを確保してしまう脆弱性が見つかりました。悪意あるSMBサーバーに対してNmapを実行すると、CPUを長時間占有し、Nmapプロセスのメモリを使い果たすおそれがあります。対策として、7.992以降に更新してください。

Affected packages

PackageAffected → Fixed
NmapNmap
< 7.992→ 7.992

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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).

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details