// back

Multiple Vendor OpenOffice TIFF File Parsing Multiple Integer Overflow Vulnerabilities



OpenOffice is an open-source desktop office suite for many of today's popular operating systems. Tagged Image File Format (TIFF) is a widely supported image file format. More information about these technologies are available from the following URLs.



Remote exploitation of multiple integer overflow vulnerabilities within OpenOffice, as included in various vendors' operating system distributions, allows attackers to execute arbitrary code.

These vulnerabilities exist within the TIFF parsing code of the OpenOffice suite. When parsing the TIFF directory entries for certain tags, the parser uses untrusted values from the file to calculate the amount of memory to allocate. By providing specially crafted values, an integer overflow occurs in this calculation. This results in the allocation of a buffer of insufficient size, which in turn leads to a heap overflow.


Exploitation of these vulnerabilities allows an attacker to execute arbitrary code with the privileges of the user opening the file.

Exploitation requires that an attacker persuade a targeted user into opening a maliciously crafted document. This could be accomplished by hosting the document on a web site, sending the document via electronic mail, or other means.


iDefense has confirmed the existence of these vulnerabilities in OpenOffice version 2.0.4. All versions prior to version 2.3 are suspected to be vulnerable.


iDefense is currently unaware of any workarounds for this issue.


The OpenOffice.org team has addressed these vulnerabilities with the release of version 2.3. For more information, consult the OOo Security Bulletin at the following URL.



The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2007-2834 to this issue. This is a candidate for inclusion in the CVE list (http://cve.mitre.org/), which standardizes names for security problems.


05/01/2007 Initial vendor notification
06/14/2007 Initial vendor response
09/17/2007 Coordinated public disclosure


The discoverer of these vulnerabilities wishes to remain anonymous.

Get paid for vulnerability research

Free tools, research and upcoming events


Copyright © 2007 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.