CVE-2026-77324: MapServer NULL Pointer Dereference
Published 2026-11-20 · Updated 2026-11-20 · Source security-advisories@github.com
Not known to be exploited · high severity — update MapServer to 8.6.5 or later in your next patch cycle.
What to do
- Update MapServer to version 8.6.5 or later. Versions from 4.4.0 up to, but not including, 8.6.5 are affected.
- Until it is patched, do not leave MapServer reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Limit untrusted input to the affected component and make sure the service restarts automatically.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| MapServer | ≥ 4.4.0, < 8.6.5 | 8.6.5 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on availability is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: NULL Pointer Dereference
Description
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/MapServer/MapServer/commit/3d2bed5de60b2947e39c608cfad4b31d56aeae0e
- Patchhttps://github.com/MapServer/MapServer/commit/debd347ae53caa4969f87fd9dae5ff73a42d48a0
- Patchhttps://github.com/MapServer/MapServer/pull/7556
- Patchhttps://github.com/MapServer/MapServer/pull/7568
- Patchhttps://github.com/MapServer/MapServer/releases/tag/rel-8-6-5
- Advisoryhttps://github.com/MapServer/MapServer/security/advisories/GHSA-35qh-49hm-5rcx
- Advisoryhttps://github.com/MapServer/MapServer/security/advisories/GHSA-35qh-49hm-5rcx