Gentoo Logo Two buffer overflows


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200707-02 / openoffice
Release Date July 02, 2007
Latest Revision July 02, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-office/openoffice < 2.2.1 >= 2.2.1 All supported architectures
app-office/openoffice-bin < 2.2.1 >= 2.2.1 All supported architectures

Related bugreports: #181773


Multiple vulnerabilities have been discovered in, allowing for the remote execution of 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 a heap-based buffer overflow when parsing the "prdata" tag in RTF files where the first token is smaller than the second one (CVE-2007-0245). Additionally, the OpenOffice binary program is shipped with a version of FreeType that contains an integer signedness error in the n_points variable in file truetype/ttgload.c, which was covered by GLSA 200705-22 (CVE-2007-2754).


A remote attacker could entice a user to open a specially crafted document, possibly leading to execution of arbitrary code with the rights of the user running

3.  Resolution Information


There is no known workaround at this time.


All users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

All binary users should upgrade to the latest version:

Code Listing 3.2: Resolution

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

4.  References


Page updated July 02, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.