The Automatic Downloading option in the id3 Quake 3 Engine and the Icculus Quake 3 Engine (ioquake3) before revision 804 allows remote attackers to overwrite arbitrary files in the quake3 directory (fs_homepath cvar) via a long string of filenames, as contained in the neededpaks buffer.
aluigi.altervista.org/adv/q3cfilevar-adv.txt
secunia.com/advisories/20401
secunia.com/advisories/20851
securityreason.com/securityalert/1171
svn.icculus.org/quake3?rev=804&view=rev
www.securityfocus.com/archive/1/438515/100/0/threaded
www.securityfocus.com/archive/1/438660/100/0/threaded
www.securityfocus.com/bid/18685
www.vupen.com/english/advisories/2006/2569
exchange.xforce.ibmcloud.com/vulnerabilities/27486