Gentoo Logo

Dia: Arbitrary code execution through SVG import


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200510-06 / dia
Release Date October 06, 2005
Latest Revision October 06, 2005: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-office/dia < 0.94-r3 >= 0.94-r3 All supported architectures

Related bugreports: #107916


Improperly sanitised data in Dia allows remote attackers to execute arbitrary code.

2.  Impact Information


Dia is a gtk+ based diagram creation program released under the GPL license.


Joxean Koret discovered that the SVG import plugin in Dia fails to properly sanitise data read from an SVG file.


An attacker could create a specially crafted SVG file, which, when imported into Dia, could lead to the execution of arbitrary code.

3.  Resolution Information


There is no known workaround at this time.


All Dia users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References


Page updated October 06, 2005

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.