Buffer Overflow Affecting gnuchess package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.35% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2410-GNUCHESS-8201266
  • published21 Jan 2025
  • disclosed7 Apr 2021

Introduced: 7 Apr 2021

CVE-2021-30184  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:24.10 gnuchess.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gnuchess package and not the gnuchess package as distributed by Ubuntu. See How to fix? for Ubuntu:24.10 relevant fixed versions and status.

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.

CVSS Scores

version 3.1