What’s Vulnerable › Vulnerabilities
CVE-2021-30184
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-04-07 · updated 2026-06-17
- Weakness: CWE-120
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.
Affected products
- Fedoraproject Fedora: 32, 33, 34
- GNU Chess: 6.2.7
References
- 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.html
- https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00001.html
- https://security.gentoo.org/glsa/202107-28
- https://lists.debian.org/debian-lts-announce/2025/01/msg00007.html
- 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.html
- https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00001.html
Get alerted when CVE-2021-30184 or the next vulnerability affects your stack