Buffer overflow in GNU Chess
CVE-2021-30184
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.018, 78.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNU Chess — versions 6.2.7
- Fedoraproject Fedora — versions 32, 33, 34
Weakness classification (CWE)
References
- lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00000.html (Exploit, Patch, Mailing List, Vendor Advisory)
- lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00001.html (Exploit, Mailing List, Vendor Advisory)
- FEDORA-2021-a58cb9bc7a (vendor-advisory)
- FEDORA-2021-2c714d311f (vendor-advisory)
- FEDORA-2021-ff3297913b (vendor-advisory)
- GLSA-202107-28 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2025/01/msg00007.html