# CVE-2021-30184: gnuchess: GNU Chess 6.2.7 allows attackers to execute arbitrary code via crafted PGN(Portable Game Notation) data

CVE-2021-30184 is fixed in gnuchess on 1 platform, first by gnuchess 6.2.7-1+deb11u1build0.22.04.1, released April 7, 2021. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-30184
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0177
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 7, 2021

## Description

GNU Chess 6.2.7 allows attackers to execute arbitrary code via crafted PGN(Portable Game Notation) data. This is related to a buffer overflow in theuse of a .tmp.epd temporary file in the cmd_pgnload and cmd_pgnreplayfunctions in frontend/cmd.cc.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | gnuchess Debian 11.6 (bullseye) | 6.2.7-1+deb11u1 | [DLA-4014-1](https://patchblox.com/security/data/fix/linux/dla-4014-1.md) | Jan 12, 2025 |
| Linux | gnuchess Ubuntu 22.04.1 LTS (jammy) | 6.2.7-1+deb11u1build0.22.04.1 | [gnuchess 6.2.7-1+deb11u1build0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-gnuchess-6.2.7-1-deb11u1build0.22.04.1.md) | Apr 7, 2021 |
| Linux | gnuchess Ubuntu 24.04.5 LTS (noble) | 6.2.7-1+deb11u1build0.24.04.1 | [gnuchess 6.2.7-1+deb11u1build0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-gnuchess-6.2.7-1-deb11u1build0.24.04.1.md) | Apr 7, 2021 |
| Linux | gnuchess Ubuntu 24.10 (oracular) | 6.2.7-1+deb11u1build0.24.10.1 | [gnuchess 6.2.7-1+deb11u1build0.24.10.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-gnuchess-6.2.7-1-deb11u1build0.24.10.1.md) | Jan 16, 2026 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
