GNU Chess: Buffer overflow A buffer overflow in GNU Chess might allow arbitrary code execution. gnuchess 2021-07-12 2021-07-12 780855 remote 6.2.8-r1 6.2.8-r1

GNU Chess is a console based chess interfae.

The cmd_pgnload() and cmd_pgnreplay() functions in cmd.cc in GNU Chess to not sufficiently validate PGN file input, potentially resulting in a buffer overflow.

A remote attacker could entice a user to open a specially crafted PGN file using GNU Chess, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.

There is no known workaround at this time.

All GNU Chess users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=games-board/gnuchess-6.2.8-r1"
CVE-2021-30184 ajak ajak