Stack-based buffer overflow in the push_subg function in parser.y (lib/graph/parser.c) in Graphviz 2.20.2, and possibly earlier versions, allows user-assisted remote attackers to cause a denial of service (memory corruption) or execute arbitrary code via a DOT file with a large number of Agraph_t elements.
https://exchange.xforce.ibmcloud.com/vulnerabilities/45765
http://www.securityfocus.com/bid/31648
http://www.securityfocus.com/archive/1/497150/100/0/threaded
http://securityreason.com/securityalert/4409
http://security.gentoo.org/glsa/glsa-200811-04.xml
http://secunia.com/advisories/32656
http://secunia.com/advisories/32186
http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00012.html