Buffer overflow in the environment variable substitution code in main.c in OSH 1.7-14 allows local users to inject arbitrary environment variables, such as LD_PRELOAD, via pathname arguments of the form "$VAR/EVAR=arg", which cause the EVAR portion to be appended to a buffer returned by a getenv function call.
https://exchange.xforce.ibmcloud.com/vulnerabilities/23091
http://www.vupen.com/english/advisories/2005/2378
http://www.securityfocus.com/bid/15370
http://www.debian.org/security/2005/dsa-918
http://secunia.com/advisories/17967
http://secunia.com/advisories/17527