๐Ÿ” CVE Alert

CVE-2026-77326

HIGH 8.6

MapServer: Heap buffer overflow in WMS GetLegendGraphic via repeated LAYER parameters

CVSS Score
8.6
EPSS Score
0.0%
EPSS Percentile
0th

MapServer is a system for developing web-based GIS applications. From 8.2.0 until 8.6.5, an unauthenticated attacker can send a WMS GetLegendGraphic request with a nonempty BBOX and repeated LAYER parameters to trigger a heap buffer overflow in msWMSDispatch() in src/mapwms.cpp. The handler appends synthesized entries to cgiRequestObj.ParamNames and cgiRequestObj.ParamValues at NumParams without retaining the arrays' capacity or reallocating them, while incrementing NumParams inside the loop. Once the parser's hidden capacity is exhausted, the writes pass the heap allocation boundary. A single request can corrupt heap memory and crash the process; code execution may be possible but was not demonstrated. This issue is fixed in version 8.6.5.

CWE CWE-787
Vendor mapserver
Product mapserver
Published Nov 20, 2026
Last Updated Nov 20, 2026
Stay Ahead of the Next One

Get instant alerts for mapserver mapserver

Be the first to know when new high vulnerabilities affecting mapserver mapserver are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High

Affected Versions

MapServer / MapServer
< 8.6.5

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/MapServer/MapServer/security/advisories/GHSA-4mwc-qc95-5959 github.com: https://github.com/MapServer/MapServer/pull/7555 github.com: https://github.com/MapServer/MapServer/pull/7569 github.com: https://github.com/MapServer/MapServer/commit/a7d5eb844a59ea076b7972a018753242f18e6f7b github.com: https://github.com/MapServer/MapServer/commit/ea1d87a6d45bbe5814a545a8b4d6a5e6b6842ea8 github.com: https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5