# CVE-2021-30184

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-04-07 · Modified: 2025-01-12
- Aliases: MGASA-2021-0250, UBUNTU-CVE-2021-30184, USN-7336-1, DEBIAN-CVE-2021-30184, DLA-4014-1, ALPINE-CVE-2021-30184
- Record: https://cvemate.com/vulnerability/CVE-2021-30184 · JSON: https://cvemate.com/vulnerability/CVE-2021-30184/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 1.769%, percentile 78.895%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference)

## Affected

- alpine gnuchess (Alpine Linux): \< 6.2.9-r0
- debian gnuchess (Debian): \< 6.2.7-1+deb12u1 \| \< 6.2.9-0.1 \| \< 6.2.7-1+deb11u1
- ubuntu gnuchess (Ubuntu): \< 6.2.7-1+deb11u1build0.22.04.1 \| \< 6.2.7-1+deb11u1build0.24.04.1
- fedoraproject fedora: 32 \| 33 \| 34
- gnu chess: 6.2.7
- mageia gnuchess (Mageia): \< 6.2.6-1.1.mga7
- mageia gnuchess (Mageia): \< 6.2.7-1.1.mga8

## References

- <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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XXOTMUSBVUZNA3JMPG6BU37DQW2YOJWS/>
- <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://security.gentoo.org/glsa/202107-28>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00007.html>
- <https://advisories.mageia.org/MGASA-2021-0250.html>
- <https://bugs.mageia.org/show_bug.cgi?id=29026>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/QC74RWMDLSQGV6Z3ZABNTPABB33S4YNF/>
- <https://ubuntu.com/security/CVE-2021-30184>
- <https://www.cve.org/CVERecord?id=CVE-2021-30184>
- <https://ubuntu.com/security/notices/USN-7336-1>
- <https://security-tracker.debian.org/tracker/CVE-2021-30184>
- <https://security.alpinelinux.org/vuln/CVE-2021-30184>

---

Data as of 2026-12-05T03:15:00.306Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
