CVE-2018-25282Nmap 7.70 Denial of Service via XML Entity Expansion
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.
What to do
Red Hat has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | nmap | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | nmap | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | nmap | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | nmap | Not affected vulnerable_code_not_present | ||
| Red Hat Enterprise Linux 10 | nmap | Not affected | ||
| Red Hat Enterprise Linux 10 | nmap-ncat | Not affected | ||
| Red Hat Enterprise Linux 9 | nmap | Not affected | ||
| Red Hat Enterprise Linux 9 | nmap-ncat | Not affected | ||
| Red Hat Enterprise Linux 8 | nmap | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nmap-ncat | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | nmap | Not affected | ||
| Red Hat Enterprise Linux 7 | nmap-frontend | Not affected | ||
| Red Hat Enterprise Linux 7 | nmap-ncat | Not affected | ||
| Red Hat Enterprise Linux 6 | nmap | Not affected | ||
| Red Hat Enterprise Linux 6 | nmap-frontend | Not affected |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ZenMap: affected: 7.70
References
- https://www.exploit-db.com/exploits/45357
- https://nmap.org/dist/nmap-7.70-setup.exe
- https://www.vulncheck.com/advisories/nmap-denial-of-service-via-xml-entity-expansion
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.