Gentoo Logo

libwmf: User-assisted execution of arbitrary code


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200907-01 / libwmf
Release Date July 02, 2009
Latest Revision July 02, 2009: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/libwmf < >= All supported architectures

Related bugreports: #268161


libwmf bundles an old GD version which contains a "use-after-free" vulnerability.

2.  Impact Information


libwmf is a library for converting WMF files.


The embedded fork of the GD library introduced a "use-after-free" vulnerability in a modification which is specific to libwmf.


A remote attacker could entice a user to open a specially crafted WMF file, possibly resulting in the execution of arbitrary code with the privileges of the user running the application, or a Denial of Service.

3.  Resolution Information


There is no known workaround at this time.


All libwmf users should upgrade to the latest version which no longer builds the GD library:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/libwmf-"

4.  References


Page updated July 02, 2009

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.