Uncontrolled Memory Allocation in MapServer - #VU147314

 

Uncontrolled Memory Allocation in MapServer - #VU147314

Published: September 7, 2026


Vulnerability identifier: #VU147314
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-789
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to insufficient validation of image dimensions in msWMSLoadGetMapParams() when handling WMS GetMap requests that request in-image exceptions and trigger an early error. A remote attacker can submit a WMS GetMap request with oversized WIDTH and HEIGHT values to cause a denial of service.

A valid layer name and knowledge of the target mapfile are not required.


Affected software

MapServer

Remediation

Install security update from vendor's website.

MapServer - update to 8.6.6

External References

Related Security Bulletins