Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-77326— MapServer: Heap buffer overflow in WMS GetLegendGraphic via repeated LAYER parameters

Quick assessment

Affected
MapServer MapServer
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

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()

CVSS 8.6 · High

Affected Version Matrix 1

VendorProduct Version RangeStatus
MapServer MapServer < 8.6.5 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-77326

Vulnerability Information

Shenlong is analyzing...


Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
MapServer: Heap buffer overflow in WMS GetLegendGraphic via repeated LAYER parameters
Source: CVE Program / CVE List V5
Vulnerability 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: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
MapServer MapServer < 8.6.5 -

II. Public POCs for CVE-2026-77326

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-77326

请登录查看更多情报信息。

Other References for CVE-2026-77326 (6)

Same Patch Batch · MapServer · 2026-11-20 · 6 CVEs total

CVE-2026-77324 7.5 HIGH MapServer: WCS POST: NULL-Dereference Denial of Service When `BoundingBox` Omits `crs`
CVE-2026-77327 6.9 MEDIUM MapServer: MySQL JOIN second-order SQL injection in src/mapjoin.c
CVE-2026-77328 6.9 MEDIUM MapServer: PostgreSQL JOIN second-order SQL injection in src/mappostgresql.c
CVE-2026-77325 6.1 MEDIUM MapServer: Reflected XSS in WMS OpenLayers output via the `X-Forwarded-Host` header
CVE-2026-77323 5.3 MEDIUM MapServer Reflected XSS via unescaped offset/limit query params injected into <script> in

IV. Related Vulnerabilities