The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2018-25282

CVE-2018-25282: Nmap 7.70 DoS Vulnerability via XML

CVE-2018-25282 is a denial of service vulnerability in Nmap 7.70 caused by exponential entity expansion in XML files. Attackers can crash the application via ZenMap's import feature. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: April 30, 2026

CVE-2018-25282 Overview

CVE-2018-25282 is a denial of service vulnerability affecting Nmap version 7.70. The vulnerability allows local attackers to crash the application by processing malicious XML files containing exponential entity expansion. When an attacker creates a crafted XML file with nested entity definitions and opens it through ZenMap's scan import functionality, the program consumes excessive system resources and crashes.

This attack technique is commonly known as an "XML Bomb" or "Billion Laughs" attack, where recursively defined XML entities expand exponentially when parsed, overwhelming system memory and CPU resources.

Critical Impact

Local attackers can cause denial of service by importing malicious XML files through ZenMap, potentially disrupting security scanning operations and consuming system resources.

Affected Products

  • Nmap 7.70
  • ZenMap (GUI component of Nmap 7.70)

Discovery Timeline

  • 2026-04-26 - CVE CVE-2018-25282 published to NVD
  • 2026-04-27 - Last updated in NVD database

Technical Details for CVE-2018-25282

Vulnerability Analysis

This vulnerability is classified under CWE-674 (Uncontrolled Recursion), which occurs when software does not properly control the depth of recursion during entity expansion. The XML parser in ZenMap fails to limit entity expansion depth, allowing malicious XML files to trigger exponential memory consumption.

The attack requires local access and user interaction—specifically, an attacker must convince a user to import a specially crafted XML file through ZenMap's scan import feature. Once imported, the nested entity definitions expand recursively, rapidly consuming available system memory and CPU cycles until the application becomes unresponsive or crashes entirely.

While this vulnerability affects availability rather than confidentiality or integrity, it can significantly disrupt security operations that depend on Nmap/ZenMap for network reconnaissance and vulnerability scanning.

Root Cause

The root cause is improper handling of XML entity expansion in ZenMap's XML parsing functionality. The parser does not implement safeguards against recursive entity definitions, allowing attackers to craft XML documents where a single entity reference expands into billions of characters through nested references.

This is a classic XML parsing vulnerability where the absence of entity expansion limits permits resource exhaustion attacks. The XML parser processes all entity definitions without checking the total expansion size or depth of recursion.

Attack Vector

The attack vector is local, requiring the attacker to either have direct access to the target system or to socially engineer a user into importing a malicious XML file. The attack flow involves:

  1. An attacker crafts a malicious XML file containing nested entity definitions
  2. The attacker delivers this file to a victim (via email, file share, or physical media)
  3. The victim imports the XML file using ZenMap's scan import functionality
  4. The XML parser expands the nested entities exponentially
  5. System resources are exhausted, causing ZenMap to crash or become unresponsive

The malicious XML file typically contains entity definitions that reference other entities in a nested fashion. When the parser attempts to resolve these entities, each level of nesting causes exponential growth in the expanded content size. For detailed technical analysis and proof-of-concept examples, refer to the Exploit-DB #45357 entry.

Detection Methods for CVE-2018-25282

Indicators of Compromise

  • Presence of XML files with excessive nested <!ENTITY> declarations in import directories
  • ZenMap process consuming abnormally high memory (gigabytes) or CPU resources
  • Unexpected ZenMap crashes when importing XML scan results
  • System-wide resource exhaustion symptoms coinciding with ZenMap operations

Detection Strategies

  • Monitor ZenMap processes for unusual memory consumption patterns exceeding normal operational baselines
  • Implement file integrity monitoring on directories used for scan result imports
  • Configure endpoint detection rules to alert on rapid memory consumption by Nmap-related processes
  • Scan incoming XML files for suspicious entity expansion patterns before import

Monitoring Recommendations

  • Enable process monitoring to track memory usage of ZenMap and related Nmap processes
  • Configure system alerts for memory exhaustion conditions tied to specific applications
  • Review imported XML files using static analysis tools that detect entity expansion attacks
  • Implement SentinelOne Singularity platform to detect anomalous resource consumption patterns indicative of DoS attacks

How to Mitigate CVE-2018-25282

Immediate Actions Required

  • Upgrade Nmap to a version newer than 7.70 that includes XML parsing protections
  • Avoid importing XML scan results from untrusted or unknown sources
  • Implement organizational policies restricting XML file imports to verified sources only
  • Consider using command-line Nmap with output formats other than XML when processing untrusted data

Patch Information

Users should upgrade to a more recent version of Nmap that addresses this XML parsing vulnerability. The vulnerable version 7.70 can be identified via the Nmap Installer. For additional security guidance, consult the VulnCheck Advisory on Nmap DoS.

Workarounds

  • Disable or restrict access to ZenMap's XML import functionality in high-security environments
  • Use command-line Nmap with -oN (normal output) or -oG (grepable output) instead of XML output formats
  • Pre-validate XML files with security tools that detect entity expansion attacks before importing
  • Run ZenMap in a sandboxed environment with strict resource limits to contain potential DoS impacts

Organizations using SentinelOne can leverage the Singularity platform's behavioral AI to detect and respond to resource exhaustion attacks, providing an additional layer of defense against exploitation of this vulnerability.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechNmap

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-674
  • Technical References
  • Nmap Installer Executable

  • Exploit-DB #45357

  • VulnCheck Advisory on Nmap DoS
  • Latest CVEs
  • CVE-2025-52479: HTTP.jl & URIs.jl CRLF Injection Flaw

  • CVE-2026-31740: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31743: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31744: Linux Kernel NULL Pointer Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English