The multiplayer engine in Wesnoth 1.2.x before 1.2.7 and 1.3.x before 1.3.9 allows remote servers to cause a denial of service (crash) via a long message with multibyte characters that can produce an invalid UTF-8 string after it is truncated, which triggers an uncaught exception, involving the truncate_message function in server/server.cpp. NOTE: this issue affects both clients and servers.
The product uses a function that accepts a format string as an argument, but the format string originates from an external source.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Wesnoth | Wesnoth | 1.2 (including) | 1.2 (including) |
Wesnoth | Wesnoth | 1.2.1 (including) | 1.2.1 (including) |
Wesnoth | Wesnoth | 1.2.2 (including) | 1.2.2 (including) |
Wesnoth | Wesnoth | 1.2.3 (including) | 1.2.3 (including) |
Wesnoth | Wesnoth | 1.2.4 (including) | 1.2.4 (including) |
Wesnoth | Wesnoth | 1.2.5 (including) | 1.2.5 (including) |
Wesnoth | Wesnoth | 1.2.6 (including) | 1.2.6 (including) |
Wesnoth | Wesnoth | 1.3.1 (including) | 1.3.1 (including) |
Wesnoth | Wesnoth | 1.3.2 (including) | 1.3.2 (including) |
Wesnoth | Wesnoth | 1.3.3 (including) | 1.3.3 (including) |
Wesnoth | Wesnoth | 1.3.4 (including) | 1.3.4 (including) |
Wesnoth | Wesnoth | 1.3.5 (including) | 1.3.5 (including) |
Wesnoth | Wesnoth | 1.3.6 (including) | 1.3.6 (including) |
Wesnoth | Wesnoth | 1.3.7 (including) | 1.3.7 (including) |
Wesnoth | Wesnoth | 1.3.8 (including) | 1.3.8 (including) |
Wesnoth | Ubuntu | dapper | * |
Wesnoth | Ubuntu | edgy | * |
Wesnoth | Ubuntu | feisty | * |
Wesnoth | Ubuntu | gutsy | * |
Wesnoth | Ubuntu | upstream | * |
When an attacker can modify an externally-controlled format string, this can lead to buffer overflows, denial of service, or data representation problems. It should be noted that in some circumstances, such as internationalization, the set of format strings is externally controlled by design. If the source of these format strings is trusted (e.g. only contained in library files that are only modifiable by the system administrator), then the external control might not itself pose a vulnerability.