CVE-2021-30184
publishedgnuchess: buffer overflows in the cmd_pgnload() and cmd_pgnreplay() functions in frontend/cmd.cc
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | gnuchess | Fixed | 6.2.9-r0 | Package fix record |
| Debian | bullseye | gnuchess | Advisory build | 6.2.7-1+deb11u1 | DLA-4014-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gnuchessaarch64 | Advisory build | 6.2.9-1.2 | OPENSUSE-SU-2024:10799-1 |
| Ubuntu | jammy | gnuchess | Advisory build | 6.2.7-1+deb11u1build0.22.04.1 | USN-7336-1 |
| Alpine Linux | v3.15 | gnuchess | Fixed | 6.2.9-r0 | Package fix record |
| Alpine Linux | v3.16 | gnuchess | Fixed | 6.2.9-r0 | Package fix record |
| Alpine Linux | v3.17 | gnuchess | Fixed | 6.2.9-r0 | Package fix record |
Show 11 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.18 | gnuchess | Fixed | 6.2.9-r0 | Package fix record |
| Alpine Linux | v3.19 | gnuchess | Fixed | 6.2.9-r0 | Package fix record |
| Alpine Linux | v3.20 | gnuchess | Fixed | 6.2.9-r0 | Package fix record |
| Alpine Linux | v3.21 | gnuchess | Fixed | 6.2.9-r0 | Package fix record |
| Alpine Linux | v3.22 | gnuchess | Fixed | 6.2.9-r0 | Package fix record |
| Alpine Linux | v3.23 | gnuchess | Fixed | 6.2.9-r0 | Package fix record |
| Alpine Linux | v3.24 | gnuchess | Fixed | 6.2.9-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | gnuchessppc64le | Advisory build | 6.2.9-1.2 | OPENSUSE-SU-2024:10799-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gnuchesss390x | Advisory build | 6.2.9-1.2 | OPENSUSE-SU-2024:10799-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gnuchessx86_64 | Advisory build | 6.2.9-1.2 | OPENSUSE-SU-2024:10799-1 |
| Ubuntu | noble | gnuchess | Advisory build | 6.2.7-1+deb11u1build0.24.04.1 | USN-7336-1 |
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 the use of a .tmp.epd temporary file in the cmd_pgnload and cmd_pgnreplay functions in frontend/cmd.cc.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
7- https://lists.debian.org/debian-lts-announce/2025/01/msg00007.html
- FEDORA-2021-2c714d311f https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QC74RWMDLSQGV6Z3ZABNTPABB33S4YNF/
- FEDORA-2021-ff3297913b https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SOGPLC77ZL2FACSOE5MWDS3YH3RBNQAQ/
- FEDORA-2021-a58cb9bc7a https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XXOTMUSBVUZNA3JMPG6BU37DQW2YOJWS/
- https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00000.html
- https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00001.html
- GLSA-202107-28 https://security.gentoo.org/glsa/202107-28
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0f88f140747b41823180393ac437b55a2845d6824a87ac10a73207a11d38a61a
- Ingested
- 23 Sep 2026, 07:54:09 UTC
- Source record
- Official CVE record