CVE-2021-30184

gnuchess: buffer overflows in the cmd_pgnload() and cmd_pgnreplay() functions in frontend/cmd.cc

Published Apr 7, 2021 CVSS 3.1 · 7.8 High EPSS 1.8% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4014-1 gnuchess security update
EUVD EUVD EUVD-2021-17117 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 USN Ubuntu USN USN-7336-1 GNU Chess vulnerability
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jan 12, 2025, 9:02 PM
Reserved
Apr 7, 2021, 12:00 AM
Status
Modified
Published
Apr 7, 2021, 12:15 PM
Modified
Jun 17, 2026, 3:49 AM
Severity
Moderate
Public date
Apr 4, 2021, 12:00 AM