Description
Stack-based buffer overflow in MapServer before 6.0.6, 6.2.x before 6.2.4, 6.4.x before 6.4.5, and 7.0.x before 7.0.4 allows remote attackers to cause a denial of service (crash) or execute arbitrary code via vectors involving WFS get feature requests.
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 | 7.0.4-1 | — |
| Debian 13 | mapserver | 7.0.4-1 | — |
| Debian 12 | mapserver | 7.0.4-1 | — |
| Debian 8 | mapserver | 6.4.1-5+deb8u3 | DSA-3766-1 |
| Debian 7 | mapserver | 6.0.1-3.2+deb7u4 | DLA-790-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | mapserver | 7.0.0-9ubuntu3.1 | — |
| Ubuntu 14.04 LTS | mapserver | 6.4.1-2ubuntu0.1 | — |
Advisories 2
- DLA-790-1 mapserver - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3766-1 mapserver - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://github.com/mapserver/mapserver/commit/e52a436c0e1c5e9f7ef13428dba83194a800f4df
- http://www.mapserver.org/development/changelog/changelog-6-4.html#changelog-6-4-5
- http://www.mapserver.org/development/changelog/changelog-6-0-6.html#changelog-6-0-6
- [mapserver-dev] 20170118 MapServer 6.0.6, 6.2.4, 6.4.5 and 7.0.4 are released mailing-list
- http://www.mapserver.org/development/changelog/changelog-7-0.html#changelog-7-0-4
- DSA-3766 vendor-advisory
- http://www.mapserver.org/development/changelog/changelog-6-2-4.html#changelog-6-2-4