Gentoo Logo EMF/WMF file handling vulnerabilities


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200701-07 / openoffice
Release Date January 12, 2007
Latest Revision January 12, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-office/openoffice-bin < 2.1.0 >= 2.1.0 All supported architectures
app-office/openoffice < 2.0.4 >= 2.0.4 All supported architectures

Related bugreports: #159951


A truncation error and integer overflows in the EMF/WMF file handling of could be exploited to execute arbitrary code.

2.  Impact Information

Background is an open source office productivity suite, including word processing, spreadsheet, presentation, drawing, data charting, formula editing, and file conversion facilities.


John Heasman of NGSSoftware has discovered integer overflows in the EMR_POLYPOLYGON and EMR_POLYPOLYGON16 processing and an error within the handling of META_ESCAPE records.


An attacker could exploit these vulnerabilities to cause heap overflows and potentially execute arbitrary code with the privileges of the user running by enticing the user to open a document containing a malicious WMF/EMF file.

3.  Resolution Information


There is no known workaround known at this time.


All binary users should update to version 2.1.0 or later:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-office/openoffice-bin-2.1.0"

All users should update to version 2.0.4 or later:

Code Listing 3.2: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-office/openoffice-2.0.4"

4.  References


Page updated January 12, 2007

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.