Gentoo Logo

KOffice shared libraries: Heap corruption


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200612-05 / koffice-libs
Release Date December 10, 2006
Latest Revision December 10, 2006: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-office/koffice-libs < 1.5.0 >= 1.5.0 All supported architectures

Related bugreports: #155914


An integer overflow in koffice-libs allows for a Denial of Service and possibly the execution of arbitrary code when viewing malicious PowerPoint files.

2.  Impact Information


KOffice is an integrated office suite for KDE. koffice-libs is a package containing shared librares used by KOffice programs.


Kees Cook of Ubuntu discovered that 'KLaola::readBigBlockDepot()' in fills 'num_of_bbd_blocks' while reading a .ppt (PowerPoint) file without proper sanitizing, resulting in an integer overflow subsequently overwriting the heap with parts of the file being read.


By enticing a user to open a specially crafted PowerPoint file, an attacker could crash the application and possibly execute arbitrary code with the rights of the user running KOffice.

3.  Resolution Information


There is no known workaround at this time.


All koffice-libs users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-office/koffice-libs-1.5.0"

4.  References


Page updated December 10, 2006

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.