Description
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.
Published: 2026-03-27
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch Now
AI Analysis

Impact

A heap buffer overflow occurs in the Styled Layer Descriptor (SLD) parser of MapServer when more than 100 Threshold elements are present in a ColorMap/Categorize block. An attacker can supply a crafted SLD via the WMS GetMap request (using the SLD_BODY parameter) to trigger the overflow, causing the MapServer process to crash. The overflow is a classic memory corruption flaw (CWE‑787) that leads to a denial‑of‑service condition.

Affected Systems

This weakness impacts MapServer versions starting from 4.2 up to, but not including, 8.6.1. The affected product is the MapServer GIS server developed by OSGeo.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, while the EPSS score of less than 1 % suggests a low probability of widespread exploitation. The vulnerability is not listed in the CISA KEV catalog. Attackers would need network access to a MapServer instance that accepts SLD_BODY in WMS GetMap requests, but no authentication is required. Once the crafted SLD is processed, the server crashes, interrupting availability for all clients until restarted.

Generated by OpenCVE AI on April 2, 2026 at 04:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update MapServer to version 8.6.1 or later.
  • If an immediate upgrade is not possible, disable SLD_BODY processing or restrict WMS endpoints to trusted networks.
  • Monitor server logs for repeated crash indications and apply temporary service hardening such as limiting the number of Threshold elements allowed.
  • Verify that no older MapServer binaries are running on the system.

Generated by OpenCVE AI on April 2, 2026 at 04:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4537-1 mapserver security update
History

Fri, 17 Apr 2026 18:30:00 +0000

Type Values Removed Values Added
References

Wed, 01 Apr 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Osgeo
Osgeo mapserver
CPEs cpe:2.3:a:osgeo:mapserver:*:*:*:*:*:*:*:*
Vendors & Products Osgeo
Osgeo mapserver

Mon, 30 Mar 2026 12:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 27 Mar 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Fri, 27 Mar 2026 08:45:00 +0000

Type Values Removed Values Added
First Time appeared Mapserver
Mapserver mapserver
Vendors & Products Mapserver
Mapserver mapserver

Fri, 27 Mar 2026 04:00:00 +0000

Type Values Removed Values Added
Description 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.
Title MapServer has heap buffer overflow in SLD `Categorize` Threshold parsing
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}


Subscriptions

Mapserver Mapserver
Osgeo Mapserver
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-17T17:18:03.353Z

Reserved: 2026-03-23T17:34:57.559Z

Link: CVE-2026-33721

cve-icon Vulnrichment

Updated: 2026-04-17T17:18:03.353Z

cve-icon NVD

Status : Modified

Published: 2026-03-27T01:16:19.670

Modified: 2026-04-17T18:16:31.640

Link: CVE-2026-33721

cve-icon Redhat

Severity : Important

Publid Date: 2026-03-27T00:15:00Z

Links: CVE-2026-33721 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-02T07:55:55Z

Weaknesses