
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2018-25282 is a denial-of-service vulnerability in Nmap 7.70 (specifically its ZenMap GUI component) caused by improper handling of XML files with exponential entity expansion ("XML bomb"). Local attackers can craft a malicious XML file with deeply nested entity definitions and import it via ZenMap's scan import functionality, causing the application to consume excessive CPU and memory resources until it crashes. The vulnerability was formally published to the NVD on April 26, 2026, and assigned by VulnCheck. It carries a CVSS v3.1 base score of 6.2 (Medium) and a CVSS v4.0 base score of 6.9 (Medium) (GitHub Advisory, Red Hat Bugzilla).
The root cause is classified under CWE-674 (Uncontrolled Recursion) and CWE-776 (Improper Restriction of Recursive Entity References in DTDs — XML Entity Expansion). ZenMap's XML parser does not impose limits on recursive entity resolution, allowing a crafted XML file containing exponentially expanding entity definitions (a classic "billion laughs" or XML bomb attack) to trigger unbounded recursion and resource exhaustion. Exploitation requires the attacker to place a malicious XML file on the local system and have a user (or the attacker themselves) open it via ZenMap's scan import feature. A public proof-of-concept exploit is referenced on Exploit-DB (EDB-45357) (GitHub Advisory).
Successful exploitation results in a denial-of-service condition: the ZenMap application crashes due to excessive consumption of system resources (CPU and memory). The impact is limited to availability — there is no confidentiality or integrity impact, and the vulnerability does not enable code execution, privilege escalation, or lateral movement. The scope is confined to the local ZenMap/Nmap application instance and does not affect other system services or networked components (GitHub Advisory, Red Hat Bugzilla).
<!ENTITY lol "lol">, <!ENTITY lol2 "&lol;&lol;...">), structured to be parseable as a ZenMap scan result.zenmap or associated Python process) exhibiting abnormally high CPU and memory usage prior to crashing; OS-level out-of-memory (OOM) kill events attributed to the ZenMap process./var/log/syslog, Windows Event Viewer) recording application crashes or OOM conditions associated with the ZenMap process; Python traceback logs referencing XML parsing errors.Users should upgrade Nmap/ZenMap to a version beyond 7.70 that addresses this vulnerability, as patches are confirmed available (GitHub Advisory, Red Hat Bugzilla). As a workaround, restrict ZenMap's scan import functionality to XML files from trusted sources only, and implement access controls to limit who can place files in directories accessible to ZenMap. Disabling external entity expansion in the underlying XML parser (e.g., setting defusedxml or equivalent safe-parsing libraries) is a recommended defense-in-depth measure for environments where upgrading is not immediately possible.
Red Hat opened a security tracking bug (Bugzilla #2461936) for this CVE, classifying it as medium severity and assigning it to their Product Security DevOps Team for evaluation against Red Hat products. The CISA weekly vulnerability bulletin for the week of April 20, 2026 referenced this CVE. No notable independent researcher commentary or significant social media discussion has been identified beyond standard vulnerability database aggregation.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."