Stack-based buffer overflow in libdb2.so in IBM DB2 7.x and 8.1 allows local users to execute arbitrary code via a long DB2LPORT environment variable.
https://exchange.xforce.ibmcloud.com/vulnerabilities/17616
http://www.securityfocus.com/bid/11390
http://www.ngssoftware.com/advisories/db205012005B.txt
http://www-1.ibm.com/support/docview.wss?uid=swg1IY62042