CVE-2018-25282 Nmap 7.70 Denial of Service via XML Entity Expansion

Medium 6.9 Published Updated

Local attackers can crash Nmap ZenMap by importing malicious XML files with exponential entity expansion, causing resource exhaustion.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-25282?

CVE-2018-25282 is a medium-severity vulnerability in ZenMap, published on 26 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Nmap 7.70 contains a denial of service vulnerability that allows local attackers to crash the application by processing malicious XML files with exponential entity expansion. Attackers can create a crafted XML file with nested entity definitions and open it through ZenMap's scan import functionality to cause the program to consume excessive system resources and crash.

Weakness: CWE-674

Which versions are affected by CVE-2018-25282?

How do I fix CVE-2018-25282?

No fix has been published for CVE-2018-25282 yet. Limit exposure of the affected software until one is available.

Is CVE-2018-25282 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-25282 exists.

Sources

Also known as GHSA-fjcc-fh45-xq5m.

Is CVE-2018-25282 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free