Public Vulnerability Reports

OpenOffice EMF Record Parsing Multiple Integer Overflow Vulnerabilities



OpenOffice is an open-source office application that supports reading and writing a wide variety of file formats. For more information, see the vendor's site found at the following link.


Remote exploitation of multiple integer overflow vulnerabilities in OpenOffice versions 2.4.1 and earlier could allow an attacker to execute arbitrary code with the privileges of the current user.

Integer overflow issues exist within the code responsible for parsing multiple EMR records within an EMF file. This allows an attacker to overflow heap memory with data they supplied.


Exploitation of this issue allows an attacker to execute arbitrary code with the privileges of the current user. An attacker would need to entice a user into opening the malformed file using OpenOffice. The file could be distributed to users via a Web page or e-mail attachments. Upon opening the file, exploitation of this issue would occur and execution of arbitrary code would be possible.


iDefense has confirmed the existence of this vulnerability in OpenOffice version 2.4.1.


iDefense is currently unaware of any workaround for this issue.


OpenOffice has released 2.4.2 which addresses these issues. For more information, consult their advisory at the following URL.


The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2008-2238 to this issue. This is a candidate for inclusion in the CVE list (, which standardizes names for security problems.


09/18/2008 Initial Vendor Notification
09/19/2008 Initial Vendor Reply
09/19/2008 Request Additional Information
09/24/2008 Additional Vendor Feedback
10/29/2008 Coordinated Public Disclosure


These vulnerabilities were reported to iDefense by several parties. Several of the issues were reported by Sebastian Apelt and several were also reported by Code Audit Labs

Get paid for vulnerability research

Free tools, research and upcoming events


Copyright © 2008 Verisign, Inc.

Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of iDefense. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please e-mail customer service for permission.

Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.