Description
Buffer overflow in the TruncateString function in src/gfx.cpp in OpenTTD before 0.6.2 allows remote attackers to cause a denial of service (daemon crash) or possibly execute arbitrary code via a crafted string. NOTE: some of these details are obtained from third party information.
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 | openttd | 0.6.2-1 | — |
| Debian 13 | openttd | 0.6.2-1 | — |
| Debian 12 | openttd | 0.6.2-1 | — |
References
- 34161 third-party-advisory
- GLSA-200903-09 vendor-advisory
- http://sourceforge.net/project/shownotes.php?release_id=617243
- 31350 third-party-advisory
- 30525 vdb-entry
- ADV-2008-2285 vdb-entry
- http://www.openttd.org/index.php
- http://bugs.gentoo.org/show_bug.cgi?id=233929
- openttd-truncatestring-bo(44168) vdb-entry