CVE-2026-77324: MapServer: WCS POST: NULL-Dereference Denial of Service When `BoundingBox` Omits `crs`
MapServer is a system for developing web-based GIS applications. From 4.4.0 until 8.6.5, an unauthenticated remote attacker can send a WCS GetCoverage XML POST request whose BoundingBox element omits the crs attribute, causing xmlGetProp() in src/mapwcs.cpp to return null. msWCSParseRequest() then calls string functions on the null value before normal WCS exception handling, crashing the CGI or FastCGI worker. The analogous KVP or GET path is not affected because it obtains a count-validated, non-null token. A single request can terminate one worker, and repeated requests can exhaust a fixed worker pool and deny service. This issue is fixed in version 8.6.5.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 8.6.5
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
MapServer versions from 4.4.0 through 8.6.5 are affected when they accept WCS GetCoverage requests sent as XML POST. The KVP/GET request path is not affected.
What does an attacker need to exploit the flaw?
An attacker does not need authentication or user interaction. They need network access to send a WCS GetCoverage XML POST request with a BoundingBox element that omits the crs attribute.
What is the operational impact of repeated exploitation?
One malformed request can terminate a CGI or FastCGI worker. Repeated requests can exhaust a fixed worker pool and deny service.
What can be done if upgrading is not immediately possible?
Restrict or disable access to the WCS GetCoverage XML POST endpoint where feasible. The unaffected KVP/GET path can be used instead of XML POST requests.
How can I determine whether a system is vulnerable?
Confirm whether the deployment runs an affected version and accepts WCS GetCoverage XML POST requests. Systems on version 8.6.5 have the documented fix.