PT-2026-153126

CVE-2026-77326

·

Published

2026-11-20

·

Updated

2026-11-20

Description by

CVSS 3.1
8.6
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Name of the Vulnerable Software and Affected Versions MapServer versions 8.2.0 through 8.6.4
Description An unauthenticated attacker can trigger a heap buffer overflow in the msWMSDispatch() function within src/mapwms.cpp by sending a WMS GetLegendGraphic request containing a nonempty BBOX and repeated LAYER parameters. The issue occurs because the handler appends synthesized entries to cgiRequestObj.ParamNames and cgiRequestObj.ParamValues at NumParams without reallocating the arrays or retaining their capacity while incrementing NumParams in a loop. When the hidden capacity of the parser is exhausted, writes exceed the heap allocation boundary, which can corrupt heap memory and crash the process. Code execution may be possible.
Recommendations Update MapServer to version 8.6.5.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-4MWC-QC95-5959
Found an issue in the description? Have something to add? Feel free to write us 👾