Gentoo Logo

Typespeed: Remote execution of arbitrary code


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200606-20 / typespeed
Release Date June 19, 2006
Latest Revision June 19, 2006: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
games-misc/typespeed < 0.5.0 >= 0.5.0 All supported architectures

Related bugreports: #135071


A buffer overflow in the network code of Typespeed can lead to the execution of arbitrary code.

2.  Impact Information


Typespeed is a game to test and practice 10-finger-typing. Network code allows two users to compete head-to-head.


Niko Tyni discovered a buffer overflow in the addnewword() function of Typespeed's network code.


By sending specially crafted network packets to a machine running Typespeed in multiplayer mode, a remote attacker can execute arbitrary code with the permissions of the user running the game.

3.  Resolution Information


Do not run Typespeed in multiplayer mode. There is no known workaround at this time for multiplayer mode.


All Typespeed users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=games-misc/typespeed-0.5.0"

4.  References


Page updated June 19, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.