Description
mapserv.c in mapserv in MapServer 4.x before 4.10.4 and 5.x before 5.2.2 does not ensure that the string holding the id parameter ends in a '\0' character, which allows remote attackers to conduct buffer-overflow attacks or have unspecified other impact via a long id parameter in a query action.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mapserver | 5.2.2-1 | — |
| Debian 13 | mapserver | 5.2.2-1 | — |
| Debian 12 | mapserver | 5.2.2-1 | — |
| Debian 5.0 | mapserver | 5.0.3-3+lenny4 | DSA-1914-1 |
| Debian 4.0 | mapserver | 4.10.0-5.1+etch4 | DSA-1914-1 |
Advisories 1
- DSA-1914-1 mapserver - serveral vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://www.positronsecurity.com/advisories/2009-000.html
- 1021952 vdb-entry
- 20090330 Positron Security Advisory #2009-000: Multiple Vulnerabilities in MapServer v5.2.1 and v4.10.3 mailing-list
- 34603 third-party-advisory
- FEDORA-2009-3383 vendor-advisory
- 34306 vdb-entry
- FEDORA-2009-3357 vendor-advisory
- [mapserver-users] 20090326 MapServer 5.2.2 and 4.10.4 released with security fixes mailing-list