MapServer has heap buffer overflow in SLD `Categorize` Threshold parsing
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA MapServer (MapServer) Fixed in 8.6.1
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-33721
References
More OSGeo Mapserver vulnerabilities
- TI-2025-36983 MapServer - WFS XML Filter Query SQL injection CVSS 4.0HIGH 8.9
- TI-2026-30409 MapServer: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in OpenLayers viewer CVSS 3.1MEDIUM 6.1
- TI-2009-00797 Stack-based buffer overflow in mapserv.c in mapserv in MapServer 4.x before 4.10.4 and… CVSS 2.0HIGH 10.0
- TI-2009-02173 Multiple heap-based buffer underflows in the readPostBody function in cgiutil.c in… CVSS 2.0HIGH 10.0
- TI-2009-00799 Directory traversal vulnerability in mapserv.c in mapserv in MapServer 4.x before 4.10.4… CVSS 2.0HIGH 10.0
- TI-2009-00798 Heap-based buffer underflow in the readPostBody function in cgiutil.c in mapserv in… CVSS 2.0HIGH 10.0
Sources
- CVE-2026-33721 · CVE Program
- CVE-2026-33721 · NVD
- FIRST EPSS
- CVE-2026-33721 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences