Gentoo Logo

o3read: Buffer overflow during file conversion


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200501-20 / o3read
Release Date January 11, 2005
Latest Revision January 11, 2005: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-text/o3read <= 0.0.3 >= 0.0.4 All supported architectures

Related bugreports: #74478


A buffer overflow in o3read allows an attacker to execute arbitrary code by way of a specially crafted XML file.

2.  Impact Information


o3read is a standalone converter for files. It allows a user to dump the contents tree (o3read) and convert to plain text (o3totxt) or to HTML (o3tohtml) Writer and Calc files.


Wiktor Kopec discovered that the parse_html function in o3read.c copies any number of bytes into a 1024-byte t[] array.


Using a specially crafted file, possibly delivered by e-mail or over the Web, an attacker may execute arbitrary code with the permissions of the user running o3read.

3.  Resolution Information


There is no known workaround at this time.


All o3read users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/o3read-0.0.4"

4.  References


Page updated January 11, 2005

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.