Skip to main content

MapServer EUVDEUVD-2026-32631

| CVE-2026-45104 HIGH
Improper Validation of Array Index (CWE-129)
2026-05-27 GitHub_M
7.5
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed WMS endpoint
  2. Exploit
    Send crafted SLD via SLD_BODY parameter
  3. Execution
    Trigger NULL pointer dereference in _SLDApplyRuleValues
  4. Impact
    Crash MapServer process (denial of service)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
Exploitation Conditions

Exploitation requires a MapServer 6.4.0-8.6.2 instance exposed via WMS that accepts the SLD_BODY= parameter (user-supplied SLD styling). The malicious payload must be a structurally valid SLD whose <Rule> contains <ElseFilter/> and defines no symbolizer, which forces msSLDParseRule to create zero classes while _SLDApplyRuleValues still indexes class -1. No authentication and no user interaction are required (PR:N/UI:N). The principal limiting factor is configuration: a deployment that does not expose WMS, or does not accept user-controlled SLD via SLD_BODY, is not reachable through this vector.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H scores 7.5 and is internally consistent with the description: network-reachable, low complexity, no privileges, no user interaction, with impact confined to availability (no confidentiality or integrity loss). This is a clean denial-of-service primitive - a roughly 200-byte SLD reliably crashes the parser - making it trivially repeatable against any internet-facing WMS endpoint that accepts user-supplied SLD via SLD_BODY. Tempering that, exploitation is currently no public exploit identified at time of analysis, the CVE is not in CISA KEV, and EPSS data was not provided, so widespread active exploitation cannot be asserted. SSVC decision data was also not supplied. Net assessment: a genuine availability risk for exposed SLD-enabled WMS deployments that warrants prompt patching, but not a code-execution or data-exposure threat.

Exploit ScenarioDerived

An attacker locates an internet-facing MapServer WMS endpoint and issues an unauthenticated request with an SLD_BODY parameter containing a small, well-formed SLD whose <Rule> includes <ElseFilter/> but no symbolizer. Parsing dereferences a NULL pointer and the MapServer process crashes, denying service to legitimate users; the request can be replayed to sustain the outage. No public exploit is identified, but the trigger is described in enough detail to reconstruct easily given AV:N/AC:L.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 27, 2026

Denial of service in MapServer 6.4.0 through 8.6.2 allows remote unauthenticated attackers to crash the server by submitting a small well-formed SLD document via the WMS SLD_BODY= parameter. The flaw is a NULL pointer dereference reached when an SLD <Rule> carries <ElseFilter/> but defines no symbolizer, causing the styling code to index a class array at position -1. No public exploit has been identified at time of analysis, and the issue is fixed in version 8.6.3.

RemediationAI

Apply the vendor-released patch: upgrade to MapServer 8.6.3, which contains the fix. Where immediate upgrade is not possible, reduce exposure by disabling or restricting user-supplied SLD on the WMS service - block or reject the SLD_BODY and SLD parameters at a reverse proxy or WAF, and restrict network access to the WMS endpoint to trusted clients; the trade-off is that legitimate clients relying on dynamic SLD styling will lose that capability until patched. Refer to the advisory at https://github.com/MapServer/MapServer/security/advisories/GHSA-4h8g-378q-r75m for authoritative guidance.

Affected VersionsENISA

MapServer 6.4.0, < 8.6.3

Affected Packages

euvd mapserver_6_4_0 fix: 8.6.3

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 widely deployed open-source server for web-based GIS that implements OGC services including WMS. The vulnerability lives in its Styled Layer Descriptor (SLD) handling: msSLDParseUserStyle unconditionally calls _SLDApplyRuleValues(psRule, psLayer, 1) for any rule containing <ElseFilter/>, assuming msSLDParseRule had created exactly one class. When the rule is structurally valid but contains no symbolizer, msSLDParseRule adds zero classes, so _SLDApplyRuleValues dereferences _class[-1]. This maps to CWE-129 (Improper Validation of Array Index): the code trusts an assumed array length instead of checking the actual class count before indexing, and the resulting negative index produces a NULL pointer dereference and process crash.

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

GitHub Advisory PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE HIGH

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
May 27, 2026 - 21:04 EUVD

DescriptionGitHub Advisory

MapServer is a system for developing web-based GIS applications. From 6.4.0 to before 8.6.3, msSLDParseUserStyle always calls _SLDApplyRuleValues(psRule, psLayer, 1); for any <Rule> carrying <ElseFilter/> - it assumes msSLDParseRule added one class. When the rule has no symbolizer (a structurally valid SLD), msSLDParseRule adds zero, and _SLDApplyRuleValues ends up indexing _class[-1], resulting in a NULL pointer dereference. A 200-byte well-formed SLD via the WMS SLD_BODY= parameter is enough to trigger this, no auth required. This vulnerability is fixed in 8.6.3.

Executive ViewAI

Why It Matters

MapServer versions 6.4.0 through 8.6.2 contain a denial-of-service vulnerability allowing remote attackers to crash the server through a malformed WMS styling request. Organizations operating MapServer for web mapping or GIS services face service unavailability risk; business impact depends on whether affected systems are critical to operational workflows.

Business Impact: High
Compensating Controls

Vendor-released patch: version 8.6.3. If immediate patching is infeasible, implement network-level access controls limiting exposure to WMS endpoints, disable the SLD_BODY parameter where operationally acceptable, and enforce request rate limiting to reduce denial-of-service surface.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: High

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy