Gentoo Logo

Dia: Arbitrary code execution through XFig import


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200604-14 / dia
Release Date April 23, 2006
Latest Revision April 23, 2006: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-office/dia < 0.94-r5 >= 0.94-r5 All supported architectures

Related bugreports: #128107


Buffer overflows in Dia's XFig import could allow remote attackers to execute arbitrary code.

2.  Impact Information


Dia is a GTK+ based diagram creation program.


infamous41md discovered multiple buffer overflows in Dia's XFig file import plugin.


By enticing a user to import a specially crafted XFig file into Dia, an attacker could exploit this issue to execute arbitrary code with the rights of the user running Dia.

3.  Resolution Information


There is no known workaround at this time.


All Dia users should upgrade to the latest available version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-office/dia-0.94-r5"

4.  References


Page updated April 23, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.