Gentoo Logo

KPdf, KOffice: Stack overflow in included Xpdf code


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200501-32 / kpdf, koffice
Release Date January 23, 2005
Latest Revision January 23, 2005: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-office/koffice < 1.3.5-r2 >= 1.3.5-r2 All supported architectures
kde-base/kdegraphics < 3.3.2-r2 >= 3.3.2-r2, revision >= 3.2.3-r4 All supported architectures

Related bugreports: #78619, #78620


KPdf and KOffice both include vulnerable Xpdf code to handle PDF files, making them vulnerable to the execution of arbitrary code.

2.  Impact Information


KPdf is a KDE-based PDF viewer included in the kdegraphics package. KOffice is an integrated office suite for KDE.


KPdf and KOffice both include Xpdf code to handle PDF files. Xpdf is vulnerable to a new stack overflow, as described in GLSA 200501-28.


An attacker could entice a user to open a specially-crafted PDF file, potentially resulting in the execution of arbitrary code with the rights of the user running the affected application.

3.  Resolution Information


There is no known workaround at this time.


All KPdf users should upgrade to the latest version of kdegraphics:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose kde-base/kdegraphics

All KOffice users should upgrade to the latest version:

Code Listing 3.2: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose app-office/koffice

4.  References


Page updated January 23, 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.