Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS v3.1 score of 5.3 (Medium) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L reflects a network-accessible, low-complexity attack with no privilege or interaction requirements that causes availability loss (denial of service). The confidentiality and integrity impacts are zero, limiting the threat to process crashes. Real-world risk is moderate: the attack vector is straightforward (HTTP GET/POST via WMS), complexity is low (crafting malformed XML), and unauthenticated access is available. However, the impact is limited to availability (DoS), not data breach or code execution. No EPSS score, KEV status, or public POC data were provided; therefore, active exploitation cannot be confirmed. This is a legitimate DoS vulnerability meriting prompt patching in production MapServer deployments serving public WMS endpoints, but not a critical threat to confidentiality or system control. Organizations with internal-only MapServer instances or those behind authentication/WAF filters face lower immediate risk. |
| Exploit ScenarioDerived | An attacker crafts an HTTP GET request to a publicly accessible MapServer WMS endpoint with an SLD_BODY parameter containing a malformed SLD XML document with a ColorMap/Categorize element defining 101 Threshold children, exceeding the parser's internal buffer allocation. When the MapServer process parses this request, the buffer overflow writes beyond allocated heap memory, corrupting adjacent data structures and causing a process crash or segmentation fault. The MapServer service becomes unavailable until manually restarted, constituting a denial of service. The attack requires no authentication, no special tools beyond curl or a web browser, and can be automated to sustain repeated crashes. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 27, 2026
MapServer versions 4.2 through 8.6.0 are vulnerable to a heap buffer overflow in the SLD (Styled Layer Descriptor) parser that allows remote, unauthenticated attackers to crash the MapServer process by sending a crafted SLD document containing more than 100 Threshold elements within a ColorMap/Categorize structure. The vulnerability is reachable via WMS GetMap requests using the SLD_BODY parameter, requiring no authentication or user interaction. Vendor-released patch: version 8.6.1 eliminates the issue; no public exploit code or active exploitation has been identified at time of analysis.
RemediationAI
Upgrade MapServer to version 8.6.1 or later immediately. See the vendor security advisory at https://github.com/MapServer/MapServer/security/advisories/GHSA-cv4m-mr84-fgjp and release notes at https://github.com/MapServer/MapServer/releases/tag/rel-8-6-1 for patched version availability and installation instructions. If immediate upgrade is not feasible, implement network-level mitigations: restrict WMS GetMap access to trusted IP ranges, deploy a Web Application Firewall (WAF) configured to reject WMS requests with SLD_BODY parameters containing deeply nested or anomalously large XML payloads, and consider disabling SLD support entirely if not required by client applications. Monitor MapServer process logs for unexpected crashes and implement process restart automation (e.g., systemd restarts) as a temporary stability measure pending patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MapServer is a web-based geographic information system (GIS) application server that processes map requests via standard web services including WMS (Web Map Service). The SLD (Styled Layer Descriptor) specification is an XML-based standard for styling geographic data layers. The vulnerability resides in MapServer's SLD parser logic when processing the ColorMap/Categorize element structure, which is used to define color mappings for raster data classification. The root cause is a heap buffer overflow (CWE-787: Out-of-bounds Write) triggered when the parser allocates a fixed-size buffer for Threshold child elements but fails to validate the actual count, causing a write beyond allocated memory when more than 100 thresholds are present. This memory corruption occurs in a process handling untrusted input from WMS requests, making it network-accessible without prior authentication.
Know when Mapserver gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
MapServer is a system for developing web-based GIS applications. Starting in version 4.2 and prior to version 8.6.1, a heap-buffer-overflow write in MapServer’s SLD (Styled Layer Descriptor) parser lets a remote, unauthenticated attacker crash the MapServer process by sending a crafted SLD with more than 100 Threshold elements inside a ColorMap/Categorize structure (commonly reachable via WMS GetMap with SLD_BODY). Version 8.6.1 patches the issue.
Executive ViewAI
Organizations using version 4.2 and should be aware of moderate risk from CVE-2026-33721, a out-of-bounds write vulnerability rated CVSS 5.3. Exploitation could cause memory corruption or application crashes. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: enable ASLR/DEP, apply network segmentation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
MapServer is a system for developing web-based GIS applications. Rated high severity (CVSS 8.9), this vulnerability is r
Stack-based buffer overflow in MapServer before 6.0.6, 6.2.x before 6.2.4, 6.4.x before 6.4.5, and 7.0.x before 7.0.4 al
Unauthenticated SQL injection in MapServer 8.4.0 through 8.6.3 lets remote attackers who can reach a PostGIS-backed quer
In MapServer before 7.0.3, OGR driver error messages are too verbose and may leak sensitive information if data connecti
Denial of service in MapServer 6.4.0 through 8.6.2 allows remote unauthenticated attackers to crash the server by submit
SQL injection vulnerability in the msPostGISLayerSetTimeFilter function in mappostgis.c in MapServer before 6.4.1, when
Reflected XSS in MapServer 6.0 through 8.6.1 allows unauthenticated remote attackers to inject arbitrary HTML and JavaSc
Reflected cross-site scripting (CWE-79) in MapServer's OpenLayers HTML output affects versions 6.0 through 8.6.3 and is
MapServer before 7.0.8, 7.1.x and 7.2.x before 7.2.3, 7.3.x and 7.4.x before 7.4.5, and 7.5.x and 7.6.x before 7.6.3 doe
EUVD-2026-16501
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB