Gentoo Logo

Wine: Windows Metafile SETABORTPROC vulnerability


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200601-09 / wine
Release Date January 13, 2006
Latest Revision February 26, 2007: 03
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-emulation/wine < 20060000, > 20040000 >= 0.9 All supported architectures

Related bugreports: #118101


There is a flaw in Wine in the handling of Windows Metafiles (WMF) files, which could possibly result in the execution of arbitrary code.

2.  Impact Information


Wine is a free implementation of Windows APIs for Unix-like systems.


H D Moore discovered that Wine implements the insecure-by-design SETABORTPROC GDI Escape function for Windows Metafile (WMF) files.


An attacker could entice a user to open a specially crafted Windows Metafile (WMF) file from within a Wine executed Windows application, possibly resulting in the execution of arbitrary code with the rights of the user running Wine.

3.  Resolution Information


There is no known workaround at this time.


All Wine users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-emulation/wine-0.9.0"

4.  References


Page updated January 13, 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.