Out-of-bounds write in MapServer - CVE-2026-33721

 

Out-of-bounds write in MapServer - CVE-2026-33721

Published: April 20, 2026


Vulnerability identifier: #VU126491
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-33721
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: MapServer
Affected software:
MapServer

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to out-of-bounds write in msSLDParseRasterSymbolizer when parsing a crafted SLD ColorMap/Categorize structure with more than 100 Threshold elements. A remote attacker can send a specially crafted SLD request to cause a denial of service.

The issue is commonly reachable via WMS GetMap with SLD_BODY, depending on deployment configuration.


How to mitigate CVE-2026-33721

Install security update from vendor's website.

Sources