blob: a603e2d4ac6f8edb415684053388c2e8ae1e9632 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200501-28">
<title>Xpdf, GPdf: Stack overflow in Decrypt::makeFileKey2</title>
A stack overflow was discovered in Xpdf, potentially resulting in the
execution of arbitrary code. GPdf includes Xpdf code and therefore is
vulnerable to the same issue.
<product type="ebuild">Xpdf</product>
<announced>January 21, 2005</announced>
<revised>January 21, 2005: 01</revised>
<package name="app-text/xpdf" auto="yes" arch="*">
<unaffected range="ge">3.00-r8</unaffected>
<vulnerable range="le">3.00-r7</vulnerable>
<package name="app-text/gpdf" auto="yes" arch="*">
<unaffected range="ge">2.8.2</unaffected>
<vulnerable range="lt">2.8.2</vulnerable>
Xpdf is an open source viewer for Portable Document Format (PDF)
files. GPdf is a Gnome-based PDF viewer that includes some Xpdf code.
iDEFENSE reports that the Decrypt::makeFileKey2 function in Xpdf's insufficiently checks boundaries when processing /Encrypt
/Length tags in PDF files.
<impact type="normal">
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
There is no known workaround at this time.
All Xpdf users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=app-text/xpdf-3.00-r8&quot;</code>
All GPdf users should also upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=app-text/gpdf-2.8.2&quot;</code>
<uri link="">CAN-2005-0064</uri>
<uri link=";type=vulnerabilities&amp;flashstatus=true">iDEFENSE Advisory</uri>
<metadata tag="submitter" timestamp="Tue, 18 Jan 2005 13:34:11 +0000">
<metadata tag="bugReady" timestamp="Fri, 21 Jan 2005 20:37:01 +0000">