Description
The read_game_map function in src/terrain_translation.cpp in Wesnoth before r32987 allows remote attackers to cause a denial of service (memory consumption and daemon hang) via a map with a large (1) width or (2) height.
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 5.0 | wesnoth | 1:1.4.4-2+lenny1 | DSA-1737-1 |
| Debian 4.0 | wesnoth | 1.2-5 | DSA-1737-1 |
Advisories 1
- DSA-1737-1 wesnoth - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://launchpad.net/bugs/336396
- http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.5.12-1/changelog
- wesnoth-readgamemap-dos(49294) vdb-entry
- http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.4.7-4/changelog
- http://svn.gna.org/viewcvs/wesnoth/trunk/src/terrain_translation.cpp?r2=32987&rev=32987&r1=31859&dir_pagestart=200
- http://svn.gna.org/viewcvs/wesnoth/trunk/src/terrain_translation.cpp?rev=33078&dir_pagestart=200&view=log
- https://gna.org/bugs/index.php?13031
- http://launchpad.net/bugs/335089