CVE-2026-77326MapServer out-of-bounds write
CVSS score
8.6
High
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.96%
0.96% chance of exploitation in the next 30 days, higher than 62.3% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running MapServer and compare its version with the affected versions.
Update to a fixed version
- Update MapServer to 8.6.5 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Affected products
| Affected products | Versions |
|---|---|
| MapServer MapServer | < 8.6.5 |
Weakness
- CWE-787 out-of-bounds write
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-77326 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 1.0% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-77326?
CVE-2026-77326 has a CVSS 3.1 base score of 8.6 (high).
Which versions are affected?
Mapserver MapServer (< 8.6.5)
Is there a patch for CVE-2026-77326?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/MapServer/MapServer/commit/a7d5eb844a59ea076b7972a018753242f18e6f7b
- github.com/MapServer/MapServer/commit/ea1d87a6d45bbe5814a545a8b4d6a5e6b6842ea8
- github.com/MapServer/MapServer/pull/7555
- github.com/MapServer/MapServer/pull/7569
- github.com/MapServer/MapServer/releases/tag/rel-8-6-5
- github.com/MapServer/MapServer/security/advisories/GHSA-4mwc-qc95-5959
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.