Vulnerability · Published Mar 27, 2026 · Assigned by GitHub_M

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

Medium 5.3

In plain English

A medium-severity out-of-bounds write in MapServer from MapServer. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)1.2%top 31.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12mapserver8.0.0-3+deb12u1DEBIAN-CVE-2026-33721
Debian:13mapserver8.4.0-4+deb13u2DEBIAN-CVE-2026-33721
Debian:14mapserver8.6.1-1DEBIAN-CVE-2026-33721
Ubuntu:22.04:LTSmapserverno fix listedUBUNTU-CVE-2026-33721
Ubuntu:24.04:LTSmapserverno fix listedUBUNTU-CVE-2026-33721
Ubuntu:25.10mapserverno fix listedUBUNTU-CVE-2026-33721
Ubuntu:26.04:LTSmapserverno fix listedUBUNTU-CVE-2026-33721
Ubuntu:26.10mapserverno fix listedUBUNTU-CVE-2026-33721

Affected products (as reported)

VendorProductVersions
MapServer MapServer >= 4.2, < 8.6.1

Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References