Poppler: Two buffer overflow vulnerabilities
Gentoo Linux Security Advisory
||GLSA 200709-12 / poppler
||September 19, 2007
||September 19, 2007: 01
All supported architectures
Poppler is vulnerable to an integer overflow and a stack overflow.
Poppler is a cross-platform PDF rendering library originally based on
Poppler and Xpdf are vulnerable to an integer overflow in the
StreamPredictor::StreamPredictor function, and a stack overflow in the
StreamPredictor::getNextLine function. The original vulnerability was
discovered by Maurycy Prodeus. Note: Gentoo's version of Xpdf is
patched to use the Poppler library, so the update to Poppler will also
By enticing a user to view a specially crafted program with a
Poppler-based PDF viewer such as Gentoo's Xpdf, Epdfview, or Evince, a
remote attacker could cause an overflow, potentially resulting in the
execution of arbitrary code with the privileges of the user running the
There is no known workaround at this time.
All Poppler users should upgrade to the latest version of Poppler:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/poppler-0.5.4-r2"