Gentoo Logo

KOffice, KWord, KPDF, KDE Graphics Libraries: Stack-based buffer overflow

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200710-08 / koffice, kword, kdegraphics, kpdf
Release Date October 09, 2007
Latest Revision October 09, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-office/koffice < 1.6.3-r1 >= 1.6.3-r1 All supported architectures
app-office/kword < 1.6.3-r1 >= 1.6.3-r1 All supported architectures
kde-base/kdegraphics < 3.5.7-r1 >= 3.5.7-r1 All supported architectures
kde-base/kpdf < 3.5.7-r1 >= 3.5.7-r1 All supported architectures

Related bugreports: #187139

Synopsis

KPDF includes code from xpdf that is vulnerable to a stack-based buffer overflow.

2.  Impact Information

Background

KOffice is an integrated office suite for KDE. KWord is the KOffice word processor. KPDF is a KDE-based PDF viewer included in the kdegraphics package.

Description

KPDF includes code from xpdf that is vulnerable to an integer overflow in the StreamPredictor::StreamPredictor() function.

Impact

A remote attacker could entice a user to open a specially crafted PDF file in KWord or KPDF that would exploit the integer overflow to cause a stack-based buffer overflow in the StreamPredictor::getNextLine() function, possibly resulting in the execution of arbitrary code with the privileges of the user running the application.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All KOffice users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-office/koffice-1.6.3-r1"

All KWord users should upgrade to the latest version:

Code Listing 3.2: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-office/kword-1.6.3-r1"

All KDE Graphics Libraries users should upgrade to the latest version:

Code Listing 3.3: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=kde-base/kdegraphics-3.5.7-r1"

All KPDF users should upgrade to the latest version:

Code Listing 3.4: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=kde-base/kpdf-3.5.7-r1"

4.  References



Print

Page updated October 09, 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.