Graphviz: User-assisted execution of arbitrary code — GLSA 200811-04

A buffer overflow in Graphviz might lead to user-assisted execution of arbitrary code via a DOT file.

Affected Packages

media-gfx/graphviz on all architectures
Affected versions < 2.20.3
Unaffected versions >= 2.20.3

Background

Graphviz is an open source graph visualization software.

Description

Roee Hay reported a stack-based buffer overflow in the push_subg() function in parser.y when processing a DOT file with a large number of Agraph_t elements.

Impact

A remote attacker could entice a user or automated system to open a specially crafted DOT file in an application using Graphviz, possibly leading to the execution of arbitrary code.

Workaround

There is no known workaround at this time.

Resolution

All Graphviz users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=media-gfx/graphviz-2.20.3"

References

Release Date
November 09, 2008

Latest Revision
November 09, 2008: 01

Severity
normal

Exploitable
remote

Bugzilla entries