Description
In GNU Chess 6.2.5, there is a stack-based buffer overflow in the cmd_load function in frontend/cmd.cc via a crafted chess position in an EPD file.
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 | gnuchess | 6.2.7-1 | — |
| Debian 13 | gnuchess | 6.2.7-1 | — |
| Debian 12 | gnuchess | 6.2.7-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | gnuchess | No fix yet | — |
| Ubuntu 18.04 LTS | gnuchess | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | gnuchess | 6.2.9-1.2 | openSUSE-SU-2024:10799-1 |
Advisories 1
- openSUSE-SU-2024:10799-1 gnuchess-6.2.9-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://lists.gnu.org/archive/html/bug-gnu-chess/2019-08/msg00004.html
- https://lists.gnu.org/archive/html/bug-gnu-chess/2019-08/msg00005.html
- FEDORA-2020-8083181df6 vendor-advisory
- FEDORA-2020-3eaf264c4b vendor-advisory
- FEDORA-2020-dbccd7e9be vendor-advisory