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://securitytracker.com/id?1020615
https://support.ca.com/irj/portal/anonymous/phpsupcontent?contentID=181989
https://euvd.enisa.europa.eu/vulnerability/EUVD-2008-3375
http://www.securityfocus.com/archive/1/495177/100/0/threaded
http://www.ingres.com/support/security-alert-080108.php
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=732