skeleton.c in yacc does not properly handle reduction of a rule with an empty right hand side, which allows context-dependent attackers to cause an out-of-bounds stack access when the yacc stack pointer points to the end of the stack.
http://www.vupen.com/english/advisories/2008/2151/references
http://secunia.com/advisories/31073