Out-of-bounds Write Affecting chess package, versions [,2.6.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.47% (73rd 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 Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-CHESS-2374257
  • published26 Jan 2022
  • disclosed29 Aug 2019
  • creditUnknown

Introduced: 29 Aug 2019

CVE-2019-15767  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade chess to version 2.6.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. In GNU Chess 6.2.5, there is a stack-based buffer overflow in the cmd_load function in frontend/cmd.cc via a crafted chess position in an EPD file.

CVSS Base Scores

version 3.1