Mapserver: From 8.2.0 until 8.6.5, an unauthenticated attacker can send a WMS GetLegendGraphic request with a nonempty
Affects mapserverSource GCVE Database
Not known to be exploited · CVSS 8.6 High · fixed in 8.6.5 : patch mapserver soon.
Data as of 25 Nov 2026, 22:36 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 8.6 |
|---|
- Patch
- Available – fixed in 8.6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:HExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 20 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CISA SSVC: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
Timeline
CVE ID reserved
by GitHub, Inc.
, 92 days before disclosure
CVE published
on cve.org
, t = 0
CISA SSVC assessment
proof of concept public
, 10 minutes after disclosure
In Threat Radar
record ingested
, 20 minutes after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CISA SSVC, the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSmapserverpkg:deb/ubuntu/mapserver?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSmapserverpkg:deb/ubuntu/mapserver?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSmapserverpkg:deb/ubuntu/mapserver?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSmapserverpkg:deb/ubuntu/mapserver?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSmapserverpkg:deb/ubuntu/mapserver?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Ubuntu 16.04 LTSmapserverpkg:deb/ubuntu/mapserver?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-77326 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-77326 (opens in a new tab)
- github.com/MapServer/MapServer/security/advisories/GHSA-4mwc-qc95-5959 (opens in a new tab)
- github.com/MapServer/MapServer/pull/7555 (opens in a new tab)
- github.com/MapServer/MapServer/pull/7569 (opens in a new tab)
- github.com/MapServer/MapServer/commit/a7d5eb844a59ea076b7972a018753242f18e6f7b (opens in a new tab)
- github.com/MapServer/MapServer/commit/ea1d87a6d45bbe5814a545a8b4d6a5e6b6842ea8 (opens in a new tab)
- github.com/MapServer/MapServer/releases/tag/rel-8-6-5 (opens in a new tab)