CVE-2026-33721 MapServer has heap buffer overflow in SLD `Categorize` Threshold parsing
HighCVSS 7.5
EPSS 1.2%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
9 packages: 4 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/mapserver(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/mapserver(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/mapserver(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/mapserver(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/mapserver(Debian 12) | < 8.0.0-3+deb12u1; = 8.0.0-3 | 8.0.0-3+deb12u1 | Fixed |
| debian/mapserver(Debian 13) | < 8.4.0-4+deb13u2; = 8.4.0-4; = 8.4.0-4+deb13u1 | 8.4.0-4+deb13u2 | Fixed |
| debian/mapserver(Debian 14) | < 8.6.1-1; = 8.4.0-4; = 8.4.1-1; = 8.4.1-1~bpo13+1 +7 more | 8.6.1-1 | Fixed |
| osgeo mapserver | >= 4.2.0, < 8.6.1 | 8.6.1 | Fixed |
| MapServer | = >= 4.2, < 8.6.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MapServer | = >= 4.2, < 8.6.1 | No fix listed |
| debian/mapserver(Debian:12) | < 8.0.0-3+deb12u1 | 8.0.0-3+deb12u1 |
| debian/mapserver(Debian:12) | = 8.0.0-3 | No fix listed |
| debian/mapserver(Debian:13) | < 8.4.0-4+deb13u2 | 8.4.0-4+deb13u2 |
| debian/mapserver(Debian:13) | = 8.4.0-4 | No fix listed |
| debian/mapserver(Debian:13) | = 8.4.0-4+deb13u1 | No fix listed |
| debian/mapserver(Debian:14) | < 8.6.1-1 | 8.6.1-1 |
| debian/mapserver(Debian:14) | = 8.4.0-4 | No fix listed |
| debian/mapserver(Debian:14) | = 8.4.1-1 | No fix listed |
| debian/mapserver(Debian:14) | = 8.4.1-1~bpo13+1 | No fix listed |
| debian/mapserver(Debian:14) | = 8.4.1-2 | No fix listed |
| debian/mapserver(Debian:14) | = 8.6.0-1 | No fix listed |
| debian/mapserver(Debian:14) | = 8.6.0-1~bpo13+1 | No fix listed |
| debian/mapserver(Debian:14) | = 8.6.0~beta1-1~exp1 | No fix listed |
| debian/mapserver(Debian:14) | = 8.6.0~beta2-1~exp1 | No fix listed |
| debian/mapserver(Debian:14) | = 8.6.0~rc1-1~exp1 | No fix listed |
| debian/mapserver(Debian:14) | = 8.6.1-1~bpo13+1 | No fix listed |
| ubuntu/mapserver(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/mapserver(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/mapserver(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/mapserver(Ubuntu:26.10) | All versions | No fix listed |
| osgeo mapserver | >= 4.2.0, < 8.6.1 | 8.6.1 |
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
- lists.debian.org
- Debian Security Tracker CVE-2026-33721 vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2452066 issue-tracking
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory