Description
Buffer overflow in the processLine function in maptemplate.c in MapServer before 4.10.3 allows attackers to cause a denial of service and possibly execute arbitrary code via a mapfile with a long layer name, group name, or metadata entry name.
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 | 4.10.3-1 | — |
| Debian 13 | mapserver | 4.10.3-1 | — |
| Debian 12 | mapserver | 4.10.3-1 | — |
| Debian 4.0 | mapserver | 4.10.0-5.1+etch2 | DSA-1539-1 |
Advisories 1
- DSA-1539-1 mapserver - multiple vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://trac.osgeo.org/mapserver/ticket/2252
- 29688 third-party-advisory
- http://mapserver.gis.umn.edu/download/current/HISTORY.TXT/
- 3082 third-party-advisory
- 26561 third-party-advisory
- 26718 third-party-advisory
- FEDORA-2007-2018 vendor-advisory
- ADV-2007-2974 vdb-entry
- 25582 vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=272081
- DSA-1539 vendor-advisory