XPDF MAKEFILEKEY2 Function Remote Buffer Overflow Vulnerability

BID:12302

Info

XPDF MAKEFILEKEY2 Function Remote Buffer Overflow Vulnerability

Bugtraq ID: 12302
Class: Boundary Condition Error
CVE: CVE-2005-0064
Remote: Yes
Local: No
Published: Jan 18 2005 12:00AM
Updated: Jul 12 2009 10:06AM
Credit: The individual that discovered this vulnerability wishes to remain anonymous.
Vulnerable: Xpdf Xpdf 3.0 pl2
Xpdf Xpdf 3.0 0
Xpdf Xpdf 2.0 3
Xpdf Xpdf 2.0 2
Xpdf Xpdf 2.0 1
+ Mandriva Linux Mandrake 9.1 ppc
+ Mandriva Linux Mandrake 9.1 ppc
+ Mandriva Linux Mandrake 9.1 ppc
+ Mandriva Linux Mandrake 9.1
+ Mandriva Linux Mandrake 9.1
+ Mandriva Linux Mandrake 9.1
+ Terra Soft Solutions Yellow Dog Linux 3.0
Xpdf Xpdf 2.0
Xpdf Xpdf 1.0 1
+ Gentoo Linux 1.4 _rc1
+ Gentoo Linux 1.4 _rc1
+ Gentoo Linux 1.4 _rc1
+ Gentoo Linux 1.2
+ Gentoo Linux 1.2
+ Gentoo Linux 1.2
+ MandrakeSoft Corporate Server 2.1 x86_64
+ MandrakeSoft Corporate Server 2.1
+ MandrakeSoft Corporate Server 2.1
+ MandrakeSoft Corporate Server 2.1
+ Mandriva Linux Mandrake 9.0
+ Mandriva Linux Mandrake 9.0
+ Mandriva Linux Mandrake 9.0
+ Mandriva Linux Mandrake 8.2 ppc
+ Mandriva Linux Mandrake 8.2 ppc
+ Mandriva Linux Mandrake 8.2 ppc
+ Mandriva Linux Mandrake 8.2
+ Mandriva Linux Mandrake 8.2
+ Mandriva Linux Mandrake 8.2
+ Mandriva Linux Mandrake 8.1 ia64
+ Mandriva Linux Mandrake 8.1 ia64
+ Mandriva Linux Mandrake 8.1 ia64
+ Mandriva Linux Mandrake 8.1
+ Mandriva Linux Mandrake 8.1
+ Mandriva Linux Mandrake 8.1
+ Mandriva Linux Mandrake 8.0 ppc
+ Mandriva Linux Mandrake 8.0 ppc
+ Mandriva Linux Mandrake 8.0 ppc
+ Mandriva Linux Mandrake 8.0
+ Mandriva Linux Mandrake 8.0
+ Mandriva Linux Mandrake 8.0
+ Mandriva Linux Mandrake 7.2
+ Mandriva Linux Mandrake 7.2
+ Mandriva Linux Mandrake 7.2
Xpdf Xpdf 1.0 0a
Xpdf Xpdf 1.0 0
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0
+ Debian Linux 3.0
+ Debian Linux 3.0
+ Turbolinux Turbolinux Server 8.0
+ Turbolinux Turbolinux Server 8.0
+ Turbolinux Turbolinux Server 8.0
+ Turbolinux Turbolinux Workstation 8.0
Xpdf Xpdf 0.93
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0
+ Debian Linux 3.0
Xpdf Xpdf 0.92
Xpdf Xpdf 0.91
- Debian Linux 2.2
Xpdf Xpdf 0.90
Trustix Secure Linux 3.0
Trustix Secure Linux 2.2
Trustix Secure Linux 2.1
Trustix Secure Linux 1.5
Trustix Secure Enterprise Linux 2.0
teTeX teTeX 2.0.2
teTeX teTeX 2.0.1
teTeX teTeX 2.0
teTeX teTeX 1.0.7
SuSE Linux 8.1
SuSE Linux 8.0 i386
SuSE Linux 8.0
SuSE Linux 7.3 sparc
SuSE Linux 7.3 ppc
SuSE Linux 7.3 i386
SuSE Linux 7.3
SuSE Linux 7.2 i386
SuSE Linux 7.2
SuSE Linux 7.1 x86
SuSE Linux 7.1 sparc
SuSE Linux 7.1 ppc
SuSE Linux 7.1 alpha
SuSE Linux 7.1
SuSE Linux 7.0 sparc
SuSE Linux 7.0 ppc
SuSE Linux 7.0 i386
SuSE Linux 7.0 alpha
SuSE Linux 7.0
SuSE Linux 6.4 ppc
SuSE Linux 6.4 i386
SuSE Linux 6.4 alpha
SuSE Linux 6.4
SuSE Linux 6.3 ppc
SuSE Linux 6.3 alpha
SuSE Linux 6.3
SuSE Linux 6.2
SuSE Linux 6.1 alpha
SuSE Linux 6.1
SuSE Linux 6.0
SuSE Linux 5.3
SuSE Linux 5.2
SuSE Linux 5.1
SuSE Linux 5.0
SuSE Linux 4.4.1
SuSE Linux 4.4
SuSE Linux 4.3
SuSE Linux 4.2
SuSE Linux 4.0
SuSE Linux 3.0
SuSE Linux 2.0
SuSE Linux 1.0
SGI ProPack 3.0
SCO Open Server 6.0
SCO Open Server 5.0.7
S.u.S.E. Linux Personal 9.2 x86_64
S.u.S.E. Linux Personal 9.2
S.u.S.E. Linux Personal 9.1 x86_64
S.u.S.E. Linux Personal 9.1
S.u.S.E. Linux Personal 9.0 x86_64
S.u.S.E. Linux Personal 9.0
S.u.S.E. Linux Personal 8.2
Redhat Linux 9.0 i386
Redhat Fedora Core3
Redhat Fedora Core2
Redhat Fedora Core1
Redhat Enterprise Linux WS 4
Redhat Enterprise Linux ES 4
Redhat Enterprise Linux AS 4
Redhat Desktop 4.0
PDFTOHTML PDFTOHTML 0.36
PDFTOHTML PDFTOHTML 0.35
PDFTOHTML PDFTOHTML 0.34
PDFTOHTML PDFTOHTML 0.33 a
PDFTOHTML PDFTOHTML 0.33
PDFTOHTML PDFTOHTML 0.32 b
PDFTOHTML PDFTOHTML 0.32 a
Mandriva Linux Mandrake 10.1 x86_64
Mandriva Linux Mandrake 10.1
Mandriva Linux Mandrake 10.0 AMD64
Mandriva Linux Mandrake 10.0
MandrakeSoft Corporate Server 3.0
KDE KOffice 1.3.5
KDE KOffice 1.3.4
KDE KOffice 1.3.3
+ Mandriva Linux Mandrake 10.1 x86_64
+ Mandriva Linux Mandrake 10.1
KDE KOffice 1.3.2
KDE KOffice 1.3.1
KDE KOffice 1.3 beta3
KDE KOffice 1.3 beta2
KDE KOffice 1.3 beta1
KDE KOffice 1.3
KDE kdegraphics 3.2
+ Mandriva Linux Mandrake 10.1 x86_64
+ Mandriva Linux Mandrake 10.1
+ Mandriva Linux Mandrake 10.0 AMD64
+ Mandriva Linux Mandrake 10.0
KDE KDE 3.3.2
KDE KDE 3.3.1
+ Redhat Fedora Core3
KDE KDE 3.3
KDE KDE 3.2.3
KDE KDE 3.2.2
+ KDE KDE 3.2.2
+ Redhat Fedora Core2
KDE KDE 3.2.1
KDE KDE 3.2
GNOME GPdf 2.8.2
+ Redhat Fedora Core3
+ Redhat Fedora Core2
GNOME GPdf 0.132
+ Mandriva Linux Mandrake 10.1 x86_64
+ Mandriva Linux Mandrake 10.1
GNOME GPdf 0.131
GNOME GPdf 0.112
GNOME GPdf 0.110
+ Redhat Fedora Core1
Gentoo Linux
Easy Software Products CUPS 1.1.23 rc1
Easy Software Products CUPS 1.1.23
Easy Software Products CUPS 1.1.22 rc1
Easy Software Products CUPS 1.1.22
Easy Software Products CUPS 1.1.21
+ Mandriva Linux Mandrake 10.1 x86_64
+ Mandriva Linux Mandrake 10.1
Easy Software Products CUPS 1.1.20
Easy Software Products CUPS 1.1.19 rc5
Easy Software Products CUPS 1.1.19
Easy Software Products CUPS 1.1.18
Easy Software Products CUPS 1.1.17
+ Redhat Desktop 3.0
+ Redhat Enterprise Linux AS 3
+ Redhat Enterprise Linux ES 3
+ Redhat Enterprise Linux WS 3
Easy Software Products CUPS 1.1.16
Easy Software Products CUPS 1.1.15
+ Conectiva Linux Enterprise Edition 1.0
+ SuSE Linux 8.1
Easy Software Products CUPS 1.1.14
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0
+ Mandriva Linux Mandrake 8.2 ppc
+ Mandriva Linux Mandrake 8.2
Easy Software Products CUPS 1.1.13
Easy Software Products CUPS 1.1.12
+ SuSE Linux 8.0 i386
+ SuSE Linux 8.0
Easy Software Products CUPS 1.1.10
+ Caldera OpenLinux Server 3.1.1
+ Caldera OpenLinux Workstation 3.1.1
+ Mandriva Linux Mandrake 8.1 ia64
+ Mandriva Linux Mandrake 8.1
+ SuSE Linux 7.3 sparc
+ SuSE Linux 7.3 ppc
+ SuSE Linux 7.3 i386
Easy Software Products CUPS 1.1.7
Easy Software Products CUPS 1.1.6
+ Caldera OpenLinux Server 3.1
+ Caldera OpenLinux Workstation 3.1
+ Mandriva Linux Mandrake 8.0 ppc
+ Mandriva Linux Mandrake 8.0
+ SuSE Linux 7.2 i386
+ SuSE Linux 7.1 x86
+ SuSE Linux 7.1 sparc
+ SuSE Linux 7.1 ppc
+ SuSE Linux 7.1 alpha
Easy Software Products CUPS 1.1.4 -5
Easy Software Products CUPS 1.1.4 -3
+ Mandriva Linux Mandrake 7.2
Easy Software Products CUPS 1.1.4 -2
+ Debian Linux 2.3
Easy Software Products CUPS 1.1.4
Easy Software Products CUPS 1.1.1
+ Redhat PowerTools 7.0
Easy Software Products CUPS 1.0.4 -8
+ Debian Linux 2.2
Easy Software Products CUPS 1.0.4
Debian Linux 3.0 sparc
Debian Linux 3.0 s/390
Debian Linux 3.0 ppc
Debian Linux 3.0 mipsel
Debian Linux 3.0 mips
Debian Linux 3.0 m68k
Debian Linux 3.0 ia-64
Debian Linux 3.0 ia-32
Debian Linux 3.0 hppa
Debian Linux 3.0 arm
Debian Linux 3.0 alpha
CSTeX cstetex 2.0.2
ASCII pTeX 3.1.4
Not Vulnerable: Xpdf Xpdf 3.0 pl3

Discussion

XPDF MAKEFILEKEY2 Function Remote Buffer Overflow Vulnerability

xpdf is reported prone to a remote buffer overflow vulnerability. This issue exists because the applications fails to perform proper boundary checks before copying user-supplied data in to process buffers. A remote attacker may execute arbitrary code in the context of a user running the application. This can result in the attacker gaining unauthorized access to the vulnerable computer.

It is reported that this issue presents itself in the 'Decrypt::makeFileKey2' function residing in the 'xpdf/Decrypt.cc' file.

This issue is reported to affect xpdf 3.00, however, it is likely that earlier versions are prone to this vulnerability as well. Applications using embedded xpdf code may be vulnerable to this issue as well.

Exploit / POC

XPDF MAKEFILEKEY2 Function Remote Buffer Overflow Vulnerability

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

Solution / Fix

XPDF MAKEFILEKEY2 Function Remote Buffer Overflow Vulnerability

Solution:
The vendor has released xpdf version 3.00pl3 to address this vulnerability. A vendor-supplied patch is also available at the following location:

ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.00pl3.patch

SGI has released advisory 20050201-01-U (SGI Advanced Linux Environment 3 Security Update # 25) to address various issues in SGI Advanced Linux Environment 3. This advisory includes updated SGI ProPack 3 Service Pack 3 packages and patch 10140. Please see the referenced advisory for more information.

SGI has released advisory 20050202-01-U (SGI Advanced Linux Environment 3 Security Update #26) to address various issues in SGI Advanced Linux Environment 3. This advisory includes updated SGI ProPack 3 Service Pack 3 packages and patch 10141. Please see the referenced advisory for more information.

SuSE Linux has released a security summary report (SUSE-SR:2005:002) that contains fixes to address this and other vulnerabilities. Customers are advised to peruse the referenced advisory for further information regarding obtaining and applying appropriate updates.

Conectiva has released a security advisory (CLA-2005:921) and fixes to address this vulnerability. Please see the referenced advisory for further information regarding obtaining and applying fixes.

Red Hat Fedora Core 2 and Core 3 advisories FEDORA-2005-051 and FEDORA-2005-052 are available to address this issue. Please see the referenced advisories for more information.

Debian has released a security advisory (DSA 645-1) and fixes for their CUPS packages to address this vulnerability. Customers are advised to see the referenced advisory for further details regarding obtaining and applying appropriate updates.

Debian has released advisory DSA 648-1 along with fixes for thier XPDF packages dealing with this issue. Please see the referenced advisory for more information.

Ubuntu Linux has released advisory USN-64-1 along with fixes for both the affected XPDF and CUPS packages. Please see the referenced advisory for more information.

Red Hat Fedora Core 2 and Core 3 advisories FEDORA-2005-044 and FEDORA-2005-045 are available to address this issue in CUPS. Please see the referenced advisories for more information.

Red Hat Fedora Core 2 and Core 3 advisories FEDORA-2005-046 and FEDORA-2005-047 are available to address this issue in gpdf. Please see the referenced advisories for more information.

KDE has released advisory advisory-20050120-1 along with fixes for KOffice. Please see the referenced advisory for more information.

Gentoo Linux has released advisory GLSA 200501-28 to address this issue:
All Xpdf users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/xpdf-3.00-r8"
All GPdf users should also upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/gpdf-2.8.2"
Please see the referenced advisory for further information.

Gentoo Linux has released advisory GLSA 200501-30 to address this issue in CUPS. Users of affected packages are urged to execute the following commands with superuser privileges:
emerge --sync
emerge --ask --oneshot --verbose ">=net-print/cups-1.1.23-r1"
Please see the referenced advisory for further information.

Gentoo Linux has released advisory GLSA 200501-31 to address this issue in teTeX, pTeX, and CSTeX. Users of affected packages are urged to execute the following commands with superuser privileges:
teTeX users:
emerge --sync
emerge --ask --oneshot --verbose ">=app-text/tetex-2.0.2-r5"
CSTeX users:
emerge --sync
emerge --ask --oneshot --verbose ">=app-text/cstetex-2.0.2-r1"
pTeX users:
emerge --sync
emerge --ask --oneshot --verbose ">=app-text/ptex-3.1.4-r2"
Please see the referenced advisory for further information.

Gentoo Linux has released advisory GLSA 200501-32 to address this issue in KPdf and KOffice. Users of affected packages are urged to execute the following commands with superuser privileges:
KPdf users:
emerge --sync
emerge --ask --oneshot --verbose kde-base/kdegraphics
KOffice users:
emerge --sync
emerge --ask --oneshot --verbose app-office/koffice
Please see the referenced Gentoo Linux advisory for further information.

KDE has released advisory-20050119-1 along with fixes dealing with this issue for their kdegraphics packages. Please see the referenced advisory for more information.

Fedora advisories FEDORA-2004-048 and FEDORA-2004-049 for Fedora Core 2 and Core 3 are available. These advisories contain updated tetex packages. Please see the referenced advisories for more information.

Fedora advisories FEDORA-2005-059 and FEDORA-2005-060 for Fedora Core 2 and Core 3 are available. These advisories contain updated koffice packages. Please see the referenced advisories for more information.

Fedora advisories FEDORA-2005-061 and FEDORA-2005-062 for Fedora Core 2 and Core 3 are available. These advisories contain updated kdegraphics packages. Please see the referenced advisories for more information.

Mandrake has issued advisories and fixes for affected components:

- MDKSA-2005:016: gpdf
- MDKSA-2005:017: xpdf
- MDKSA-2005:019: KOffice
- MDKSA-2005:018: CUPS
- MDKSA-2005:020: KDEGraphics
- MDKSA-2005:021: tetex

Red Hat has released advisory RHSA-2005:049-08 and fixes to address this issue in their CUPS packages on Red Hat Linux Enterprise platforms. Customers who are affected by this issue are advised to apply the appropriate updates. Customers subscribed to the Red Hat Network may apply the appropriate fixes using the Red Hat Update Agent (up2date). Please see referenced advisory for additional information.

SuSE Linux has released a security summary report (SUSE-SR:2005:003) that contains fixes to address this and other vulnerabilities. Customers are advised to peruse the referenced advisory for further information regarding obtaining and applying appropriate updates.

Gentoo Linux has released advisory GLSA 200502-10 dealing with this issue for their pdftohtml packages. Gentoo advises that all pdftohtml users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/pdftohtml-0.36-r3"

For more information, please see the referenced Gentoo linux advisory.

The Fedora Legacy project has released advisory FLSA:2353 to address this issue for RedHat Fedora Core 1. Please see the referenced advisory for further information.

Trustix has released advisory TSLSA-2005-0003 to address various issues in multiple products. Please see the referenced advisory for more information.

Fedora has released Fedora Legacy Advisory (FLSA:2127) to address various issues affecting CUPS in Red Hat Linux 7.3, Red Hat Linux 9, and Fedora Core 1 for the i386 architecture. Please see the referenced advisory for more information.

SuSE Linux has released advisory SUSE-SA:2005:015. The pending vulnerabilities section reports new Koffice packages are available on their FTP server. Please see the referenced advisory for further information.

Red Hat has released advisory RHSA-2005:026-15 to address this issue in tetex for Red Hat Enterprise Linux 4. Please see the advisory in Web references for more information.

SUSE has released an advisory SUSE-SR:2005:008 to address various security issues affecting SUSE products. Please see the referenced advisory for more information.

SCO has released an advisory SCOSA-2005.42 to address this issue. Please see the referenced advisory for more information.

Trustix has released advisory TSLSA-2005-0057 to address multiple issues. Please see the referenced advisory for more information.


GNOME GPdf 0.110

GNOME GPdf 0.131

GNOME GPdf 0.132

Xpdf Xpdf 0.91

Xpdf Xpdf 0.93

Xpdf Xpdf 1.0 1

Xpdf Xpdf 1.0 0

Easy Software Products CUPS 1.1.14

Easy Software Products CUPS 1.1.15

Easy Software Products CUPS 1.1.17

Easy Software Products CUPS 1.1.21

KDE KOffice 1.3 beta1

KDE KOffice 1.3 beta2

KDE KOffice 1.3.3

KDE KOffice 1.3.5

Xpdf Xpdf 2.0 1

teTeX teTeX 2.0

Xpdf Xpdf 2.0

teTeX teTeX 2.0.1

GNOME GPdf 2.8.2

Xpdf Xpdf 3.0 pl2

SGI ProPack 3.0

KDE KDE 3.2

KDE KDE 3.2.2

KDE KDE 3.2.3

KDE KDE 3.3

References

XPDF MAKEFILEKEY2 Function Remote Buffer Overflow Vulnerability

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report