The Self Tuning Memory Manager (STMM) component in IBM DB2 9.1 before FP8, 9.5 before FP5, and 9.7 before FP1 uses 0666 permissions for the STMM log file, which allows local users to cause a denial of service or have unspecified other impact by writing to this file.
http://www.vupen.com/english/advisories/2009/3520
http://www.securityfocus.com/bid/37332
http://www-01.ibm.com/support/docview.wss?uid=swg21412902
http://www-01.ibm.com/support/docview.wss?uid=swg21293566
http://www-01.ibm.com/support/docview.wss?uid=swg1IZ50355
http://www-01.ibm.com/support/docview.wss?uid=swg1IZ48106