GLSA-200501-28 : Xpdf, GPdf: Stack overflow in Decrypt::makeFileKey2

This script is Copyright (C) 2005-2015 Tenable Network Security, Inc.

Synopsis :

The remote Gentoo host is missing one or more security-related

Description :

The remote host is affected by the vulnerability described in GLSA-200501-28
(Xpdf, GPdf: Stack overflow in Decrypt::makeFileKey2)

iDEFENSE reports that the Decrypt::makeFileKey2 function in Xpdf's insufficiently checks boundaries when processing /Encrypt
/Length tags in PDF files.

Impact :

An attacker could entice an user to open a specially crafted PDF
file which would trigger a stack overflow, potentially resulting in
execution of arbitrary code with the rights of the user running Xpdf or

Workaround :

There is no known workaround at this time.

See also :

Solution :

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'

Risk factor :

High / CVSS Base Score : 7.5

Family: Gentoo Local Security Checks

Nessus Plugin ID: 16419 (gentoo_GLSA-200501-28.nasl)

Bugtraq ID:

CVE ID: CVE-2005-0064