← VULNERABILITIES

DEBIAN-CVE-2026-77326

UnscoredFix available
CVSS
—
EPSS
—
Published
2026-11-20
Age
11d old
Modified
2026-11-25
Product
Debian:14 mapserver

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.

Fixed in

8.0.0-3+deb12u2 · 8.6.5-1

Affected packages

EcosystemPackageRangeFixed
Debian:12mapserver>=0, <8.0.0-3+deb12u28.0.0-3+deb12u2
Debian:14mapserver>=0, <8.6.5-18.6.5-1

Sources

  • OSV · first seen 10d ago · CC-BY 4.0

References

JSON