CVE-2021-30184
published 2021-04-07CVE-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…
PriorityP337high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
1.77%
75.7th percentile
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.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | gnuchess | < gnuchess 6.2.7-1+deb12u1 (bookworm) | gnuchess 6.2.7-1+deb12u1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| gnu | chess | — | — |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-x7m2-6mfm-whq5: GNU Chess 6
ghsa_unreviewed·2022-05-24
CVE-2021-30184 [HIGH] CWE-120 GHSA-x7m2-6mfm-whq5: GNU Chess 6
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.
OSV
CVE-2021-30184: GNU Chess 6
osv·2021-04-07·CVSS 7.8
CVE-2021-30184 [HIGH] CVE-2021-30184: GNU Chess 6
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.
Ubuntu
GNU Chess vulnerability
vendor_ubuntu·2025-03-06
CVE-2021-30184 GNU Chess vulnerability
Title: GNU Chess vulnerability
Summary: gnuchess could be made to crash or run programs as your login if it
opened a specially crafted file.
Michael Vaughan discovered an overflow vulnerability in GNU Chess that
occurs when reading a specially crafted Portable Game Notation (PGN)
file. An attacker could possibly use this issue to cause GNU Chess to
crash, resulting in a denial of service, or the execution of arbitrary
code.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
gnuchess: buffer overflows in the cmd_pgnload() and cmd_pgnreplay() functions in frontend/cmd.cc
vendor_redhat·2021-04-04·CVSS 7.8
CVE-2021-30184 [HIGH] CWE-119 gnuchess: buffer overflows in the cmd_pgnload() and cmd_pgnreplay() functions in frontend/cmd.cc
gnuchess: buffer overflows in the cmd_pgnload() and cmd_pgnreplay() functions in frontend/cmd.cc
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.
Package: gnuchess (Red Hat Enterprise Linux 6) - Not affected
Debian
CVE-2021-30184: gnuchess - GNU Chess 6.2.7 allows attackers to execute arbitrary code via crafted PGN (Port...
vendor_debian·2021·CVSS 7.8
CVE-2021-30184 [HIGH] CVE-2021-30184: gnuchess - GNU Chess 6.2.7 allows attackers to execute arbitrary code via crafted PGN (Port...
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.
Scope: local
bookworm: resolved (fixed in 6.2.7-1+deb12u1)
bullseye: resolved (fixed in 6.2.7-1+deb11u1)
forky: resolved (fixed in 6.2.9-0.1)
sid: resolved (fixed in 6.2.9-0.1)
trixie: resolved (fixed in 6.2.9-0.1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QC74RWMDLSQGV6Z3ZABNTPABB33S4YNF/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SOGPLC77ZL2FACSOE5MWDS3YH3RBNQAQ/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.htmlhttps://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00001.htmlhttps://security.gentoo.org/glsa/202107-28https://lists.debian.org/debian-lts-announce/2025/01/msg00007.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QC74RWMDLSQGV6Z3ZABNTPABB33S4YNF/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SOGPLC77ZL2FACSOE5MWDS3YH3RBNQAQ/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.htmlhttps://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00001.htmlhttps://security.gentoo.org/glsa/202107-28
2021-04-07
Published