OpenOffice.org: EMF/WMF file handling vulnerabilities A truncation error and integer overflows in the EMF/WMF file handling of OpenOffice.org could be exploited to execute arbitrary code. openoffice 2007-01-12 2007-01-12 159951 remote 2.1.0 2.1.0 2.0.4 2.0.4

OpenOffice.org 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 OpenOffice.org by enticing the user to open a document containing a malicious WMF/EMF file.

There is no known workaround known at this time.

All OpenOffice.org binary users should update to version 2.1.0 or later:

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

All OpenOffice.org users should update to version 2.0.4 or later:

# emerge --sync # emerge --ask --oneshot --verbose ">=app-office/openoffice-2.0.4"
CVE-2006-5870 DerCorny DerCorny falco