{"id":"CVE-2021-30184","aliases":["ALPINE-CVE-2021-30184","DEBIAN-CVE-2021-30184","DLA-4014-1","EUVD-2021-17117","GHSA-x7m2-6mfm-whq5","MGASA-2021-0250","UBUNTU-CVE-2021-30184","USN-7336-1","openSUSE-SU-2024:10799-1"],"status":"published","title":"GNU Chess 6.2.7 allows attackers to execute arbitrary code via crafted PGN (Portable Game...","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.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01769,"percentile":0.78313,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-120"],"published":"2021-04-07T11:30:55Z","modified":"2026-11-03T06:32:28Z","fixes":[{"ecosystem":"Alpine:v3.15","package":"gnuchess","fixed_in":["6.2.9-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"gnuchess","fixed_in":["6.2.9-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"gnuchess","fixed_in":["6.2.9-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"gnuchess","fixed_in":["6.2.9-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"gnuchess","fixed_in":["6.2.9-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"gnuchess","fixed_in":["6.2.9-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"gnuchess","fixed_in":["6.2.9-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"gnuchess","fixed_in":["6.2.9-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"gnuchess","fixed_in":["6.2.9-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"gnuchess","fixed_in":["6.2.9-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"gnuchess","fixed_in":["6.2.7-1+deb12u1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"gnuchess","fixed_in":["6.2.9-0.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"gnuchess","fixed_in":["6.2.9-0.1"],"sources":["osv"]},{"ecosystem":"Debian:11","package":"gnuchess","fixed_in":["6.2.7-1+deb11u1"],"sources":["osv"]},{"ecosystem":"Mageia:7","package":"gnuchess","fixed_in":["6.2.6-1.1.mga7"],"sources":["osv"]},{"ecosystem":"Mageia:8","package":"gnuchess","fixed_in":["6.2.7-1.1.mga8"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"gnuchess","fixed_in":["6.2.7-1+deb11u1build0.22.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:24.04:LTS","package":"gnuchess","fixed_in":["6.2.7-1+deb11u1build0.24.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.15","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.9-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.9-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.9-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.9-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.9-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.9-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.9-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.9-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.9-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.9-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.7-1+deb12u1"}]}],"versions":["6.2.7-1"]},{"source":"osv","ecosystem":"Debian:13","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.9-0.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.9-0.1"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.7-1+deb11u1"}]}],"versions":["6.2.7-1"]},{"source":"osv","ecosystem":"Mageia:7","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.6-1.1.mga7"}]}]},{"source":"osv","ecosystem":"Mageia:8","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.7-1.1.mga8"}]}]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.7-1+deb11u1build0.22.04.1"}]}],"versions":["6.2.7-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.7-1+deb11u1build0.24.04.1"}]}],"versions":["6.2.7-1","6.2.7-1build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.7-1+deb11u1build0.22.04.1"}]}],"versions":["6.2.7-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.7-1+deb11u1build0.24.04.1"}]}],"versions":["6.2.7-1","6.2.7-1build1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"gnuchess","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.9-1.2"}]}],"bundled":2}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"gnu","product":"chess"}],"references":[{"url":"https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00000.html","tags":["x_refsource_MISC","x_transferred","Exploit","Mailing List","Patch","Vendor Advisory","fix","report"]},{"url":"https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00001.html","tags":["x_refsource_MISC","x_transferred","Exploit","Mailing List","Vendor Advisory","evidence","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XXOTMUSBVUZNA3JMPG6BU37DQW2YOJWS/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QC74RWMDLSQGV6Z3ZABNTPABB33S4YNF/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SOGPLC77ZL2FACSOE5MWDS3YH3RBNQAQ/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://security.gentoo.org/glsa/202107-28","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00007.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-30184"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QC74RWMDLSQGV6Z3ZABNTPABB33S4YNF"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SOGPLC77ZL2FACSOE5MWDS3YH3RBNQAQ"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XXOTMUSBVUZNA3JMPG6BU37DQW2YOJWS"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QC74RWMDLSQGV6Z3ZABNTPABB33S4YNF"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SOGPLC77ZL2FACSOE5MWDS3YH3RBNQAQ"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XXOTMUSBVUZNA3JMPG6BU37DQW2YOJWS"},{"url":"https://github.com/advisories/GHSA-x7m2-6mfm-whq5"},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-30184","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-30184","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0250.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29026","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/QC74RWMDLSQGV6Z3ZABNTPABB33S4YNF/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2021-30184","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-30184","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7336-1","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2019-15767","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-30184","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-30184","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.","status":"published","published":"2021-04-07T11:30:55Z","modified":"2025-01-12T21:02:32.373Z","updated_at":"2026-11-02T14:33:02.20241Z"}],"euvd":[{"id":"EUVD-2021-17117","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.","status":"published","published":"2021-04-07T11:30:55Z","modified":"2025-01-12T21:02:32Z","updated_at":"2026-11-03T00:04:21.239531Z"}],"ghsa":[{"id":"GHSA-x7m2-6mfm-whq5","title":"GNU Chess 6.2.7 allows attackers to execute arbitrary code via crafted PGN (Portable Game...","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.","status":"published","published":"2022-05-24T17:46:49Z","modified":"2025-01-12T21:30:21Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:59:28.464672Z"}],"nvd":[{"id":"CVE-2021-30184","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.","status":"published","published":"2021-04-07T12:15:16.437Z","modified":"2026-06-17T03:49:49.807Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:06:51.610648Z"}],"osv":[{"id":"ALPINE-CVE-2021-30184","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.","status":"published","published":"2021-04-07T12:15:16.437Z","modified":"2026-11-03T06:32:28.427674104Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T07:17:41.158523Z"},{"id":"CVE-2021-30184","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.","status":"published","published":"2021-04-07T12:15:16.437Z","modified":"2026-04-16T04:35:22.942567959Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:19.483607Z"},{"id":"DEBIAN-CVE-2021-30184","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.","status":"published","published":"2021-04-07T12:15:16.437Z","modified":"2026-10-23T18:02:52.257676311Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:34.94143Z"},{"id":"UBUNTU-CVE-2021-30184","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.","status":"published","published":"2021-04-07T12:15:00Z","modified":"2026-02-04T02:13:13.85947Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:27.332852Z"},{"id":"DLA-4014-1","title":"gnuchess - security update","status":"published","published":"2025-01-12T00:00:00Z","modified":"2026-03-09T01:21:46.686654Z","updated_at":"2026-11-02T15:46:12.203458Z"},{"id":"MGASA-2021-0250","title":"Updated gnuchess package fix a security vulnerability","description":"GNU Chess 6.2.7 allows attackers to execute arbitrary code via crafted PGN \n(Portable Game Notation) data. This is related to a buffer overflow in the \nuse of a .tmp.epd temporary file in the cmd_pgnload and cmd_pgnreplay \nfunctions in frontend/cmd.cc. (CVE-2021-30184).\n","status":"published","published":"2021-06-13T21:32:39Z","modified":"2026-04-16T04:41:56.775853666Z","updated_at":"2026-11-02T15:49:41.509337Z"},{"id":"openSUSE-SU-2024:10799-1","title":"gnuchess-6.2.9-1.2 on GA media","description":"These are all security issues fixed in the gnuchess-6.2.9-1.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:08:01.449861Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"USN-7336-1","title":"gnuchess vulnerability","description":"Michael Vaughan discovered an overflow vulnerability in GNU Chess that\noccurs when reading a specially crafted Portable Game Notation (PGN)\nfile. An attacker could possibly use this issue to cause GNU Chess to\ncrash, resulting in a denial of service, or the execution of arbitrary\ncode.\n","status":"published","published":"2025-03-06T20:58:10Z","modified":"2026-02-10T04:47:18Z","updated_at":"2026-11-02T16:58:19.988474Z"}]}}
