5.3medium
MapServer has heap buffer overflow in SLD `Categorize` Threshold parsing
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.26% (higher than 70% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MapServer MapServer | >= 4.2, < 8.6.1 | CVE List |
| osgeo mapserver | from 4.2.0 before 8.6.1 | NVD |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
MapServer es un sistema para desarrollar aplicaciones GIS basadas en web. A partir de la versión 4.2 y antes de la versión 8.6.1, una escritura de desbordamiento de búfer de pila en el analizador SLD (Styled Layer Descriptor) de MapServer permite a un atacante remoto no autenticado bloquear el proceso de MapServer al enviar un SLD manipulado con más de 100 elementos Threshold dentro de una estructura ColorMap/Categorize (comúnmente accesible a través de WMS GetMap con SLD_BODY). La versión 8.6.1 corrige el problema.
References
| https://github.com/MapServer/MapServer/security/advisories/GHSA-cv4m-mr84-fgjp | exploit, mitigation, vendor-advisory | |
| https://github.com/MapServer/MapServer/releases/tag/rel-8-6-1 | product, release-notes | |
| https://lists.debian.org/debian-lts-announce/2026/04/msg00017.html | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-33721 changed 2026-04-17 | CVE Terms of Use |
| NVD | CVE-2026-33721 changed 2026-06-17 | Public domain |