GNU Chess Command Buffer Overflow Vulnerability

BID:3949

Info

GNU Chess Command Buffer Overflow Vulnerability

Bugtraq ID: 3949
Class: Boundary Condition Error
CVE: CVE-2002-0204
Remote: No
Local: No
Published: Jan 22 2002 12:00AM
Updated: Jul 11 2009 09:56AM
Credit: This vulnerability was submitted to BugTraq by Bernhard Kuemel <[email protected]> on January 22nd, 2002.
Vulnerable: GNU Chess 5.0 2
- Debian Linux 2.2 r3 unstable
Not Vulnerable: GNU Chess 5.0 3beta

Discussion

GNU Chess Command Buffer Overflow Vulnerability

GNU Chess is a freely available, open-source Chess engine that will run on most Unix and Linux variants.

GNU Chess does not perform sufficient bounds checking on commands. This is theoretically a security concern depending on the type of interface that is being used with the engine, if any. In situations where data can be supplied from an external source, this may become an exploitable security issue.

If the buffer can be overrun by an attacker via a maliciously constructed command which is passed through an interface, then it is possible to overwrite stack variables (including the return address) with attacker-supplied instructions.

Exploit / POC

GNU Chess Command Buffer Overflow Vulnerability

Currently the SecurityFocus staff are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] &lt;mailto:[email protected]&gt;.

Solution / Fix

GNU Chess Command Buffer Overflow Vulnerability

Solution:
The vendor has addressed this issue in v5.03beta of the software.


GNU Chess 5.0 2

References

GNU Chess Command Buffer Overflow Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report