# CVE-2026-33721: MapServer has heap buffer overflow in SLD \`Categorize\` Threshold parsing

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-27 · Modified: 2026-04-17
- Aliases: UBUNTU-CVE-2026-33721, DEBIAN-CVE-2026-33721, openSUSE-SU-2026:10452-1, openSUSE-SU-2026:20476-1, DLA-4537-1
- Record: https://cvemate.com/vulnerability/CVE-2026-33721 · JSON: https://cvemate.com/vulnerability/CVE-2026-33721/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.264%, percentile 70.684%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian mapserver (Debian): \< 8.0.0-3+deb12u1 \| \< 8.4.0-4+deb13u2 \| \< 8.6.1-1 \| \< 7.6.2-1+deb11u2
- ubuntu mapserver (Ubuntu): All versions (No fix recorded)
- mapserver mapserver: ≥ 4.2, \< 8.6.1
- osgeo mapserver: ≥ 4.2.0, \< 8.6.1
- opensuse mapserver&distro=openSUSE Leap 16.0 (openSUSE): \< 8.6.1-bp160.1.1
- opensuse mapserver&distro=openSUSE Tumbleweed (openSUSE): \< 8.6.1-1.1

## References

- <https://github.com/MapServer/MapServer/security/advisories/GHSA-cv4m-mr84-fgjp>
- <https://github.com/MapServer/MapServer/releases/tag/rel-8-6-1>
- <https://lists.debian.org/debian-lts-announce/2026/04/msg00017.html>
- <https://ubuntu.com/security/CVE-2026-33721>
- <https://www.cve.org/CVERecord?id=CVE-2026-33721>
- <https://security-tracker.debian.org/tracker/CVE-2026-33721>
- <https://www.suse.com/security/cve/CVE-2026-33721>
- <https://bugzilla.suse.com/1260869>

---

Data as of 2026-12-05T10:00:45.755Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
