Stack-based buffer overflow in the libbecompat library in Ingres 2.6, Ingres 2006 release 1 (aka 9.0.4), and Ingres 2006 release 2 (aka 9.1.0) on Linux and HP-UX allows local users to gain privileges by setting a long value of an environment variable before running (1) verifydb, (2) iimerge, or (3) csreport.
https://exchange.xforce.ibmcloud.com/vulnerabilities/44179
http://www.vupen.com/english/advisories/2008/2313
http://www.vupen.com/english/advisories/2008/2292
http://www.securityfocus.com/bid/30512
http://www.securityfocus.com/archive/1/495177/100/0/threaded
http://securitytracker.com/id?1020615