cve.bz

CVE-2021-30184 Classic Buffer Overflow

7.8 highExploit referenceEPSS 1.8%Fix available

High (7.8). EPSS 1.8% estimated probability of exploitation activity in the next 30 days.

On this page
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

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-30184 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-30184?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-30184?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-30184 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:chess6.2.7
fedoraproject:fedora32
fedoraproject:fedora33
fedoraproject:fedora34

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11gnuchess6.2.7-1+deb11u1DLA-4014-1
Debian12gnuchess6.2.7-1+deb12u1DEBIAN-CVE-2021-30184
Debian13, 14gnuchess6.2.9-0.1DEBIAN-CVE-2021-30184
Ubuntu22.04:LTSgnuchess6.2.7-1+deb11u1build0.22.04.1UBUNTU-CVE-2021-30184 USN-7336-1
Ubuntu24.04:LTSgnuchess6.2.7-1+deb11u1build0.24.04.1UBUNTU-CVE-2021-30184 USN-7336-1
openSUSETumbleweedgnuchess6.2.9-1.2openSUSE-SU-2024:10799-1
Alpinev3.15, v3.16, v3.17 and 7 moregnuchess6.2.9-r0ALPINE-CVE-2021-30184

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6gnuchessNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-30184.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON