New integer overflows were discovered in Xpdf, potentially resulting in the execution of arbitrary code. GPdf includes Xpdf code and therefore is vulnerable to the same issues.
Package | app-text/xpdf on all architectures |
---|---|
Affected versions | <= 3.00-r6 |
Unaffected versions | >= 3.00-r7 |
Package | app-text/gpdf on all architectures |
---|---|
Affected versions | <= 2.8.1 |
Unaffected versions | >= 2.8.1-r1 |
Xpdf is an open source viewer for Portable Document Format (PDF) files. GPdf is a Gnome-based PDF viewer that includes some Xpdf code.
A new integer overflow issue was discovered in Xpdf's Gfx::doImage() function.
An attacker could entice an user to open a specially-crafted PDF file, potentially resulting in execution of arbitrary code with the rights of the user running Xpdf or GPdf.
There is no known workaround at this time.
All Xpdf users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-text/xpdf-3.00-r7"
All GPdf users should also upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-text/gpdf-2.8.1-r1"