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.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
http://security.gentoo.org/glsa/glsa-200811-04.xml | vendor advisory |
http://secunia.com/advisories/32186 | third party advisory vendor advisory |
https://exchange.xforce.ibmcloud.com/vulnerabilities/45765 | vdb entry |
http://roeehay.blogspot.com/2008/10/graphviz-buffer-overflow-code-execution.html | exploit |
http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00012.html | vendor advisory |
http://www.securityfocus.com/bid/31648 | patch vdb entry |
http://www.securityfocus.com/archive/1/497150/100/0/threaded | mailing list |
http://bugs.gentoo.org/show_bug.cgi?id=240636 | |
http://securityreason.com/securityalert/4409 | third party advisory |
http://secunia.com/advisories/32656 | third party advisory |