Hide Forgot
Sauli Pahlman of CERT-FI provided us with fuzzed PDF file which causes xpdf / poppler PDF parser to crash. The crash is caused by an attempt to dereference uninitialized Gfx::parser pointer in Gfx::getPos(), which assumes parser is either NULL or valid Parser pointer. http://cgit.freedesktop.org/poppler/poppler/tree/poppler/Gfx.cc?id=71063d51#n879
Created attachment 416048 [details] Proposed patch This makes sure that parser in initialized to NULL in Gfx constructors.
(In reply to comment #2) > Created attachment 416048 [details] > Proposed patch > > This makes sure that parser in initialized to NULL in Gfx constructors. Upstream came up with the identical fix to my proposal based on what seems to be an independent report from Joel Voss: http://cgit.freedesktop.org/poppler/poppler/commit/?id=e853106b58d6b4b0467dbd6436c9bb1cfbd372cf http://secunia.com/advisories/41596/
Created poppler tracking bugs for this issue Affects: fedora-all [bug 639861]
This is likely to affect other applications that embed xpdf code, such as pdfedit and koffice 1.x. Official xpdf patch may appear later this week.
This issue has been addressed in following products: Red Hat Enterprise Linux 5 Via RHSA-2010:0749 https://rhn.redhat.com/errata/RHSA-2010-0749.html
This issue has been addressed in following products: Red Hat Enterprise Linux 3 Via RHSA-2010:0750 https://rhn.redhat.com/errata/RHSA-2010-0750.html
This issue has been addressed in following products: Red Hat Enterprise Linux 4 Via RHSA-2010:0751 https://rhn.redhat.com/errata/RHSA-2010-0751.html
This issue has been addressed in following products: Red Hat Enterprise Linux 4 Via RHSA-2010:0752 https://rhn.redhat.com/errata/RHSA-2010-0752.html
This issue has been addressed in following products: Red Hat Enterprise Linux 4 Red Hat Enterprise Linux 5 Via RHSA-2010:0753 https://rhn.redhat.com/errata/RHSA-2010-0753.html
This issue has been addressed in following products: Red Hat Enterprise Linux 3 Via RHSA-2010:0754 https://rhn.redhat.com/errata/RHSA-2010-0754.html
This issue has been addressed in following products: Red Hat Enterprise Linux 4 Via RHSA-2010:0755 https://rhn.redhat.com/errata/RHSA-2010-0755.html
Created attachment 455425 [details] xpdf-3.02pl5.patch xpdf upstream patch - xpdf-3.02pl5.patch Fixes the issue in the same way poppler patch does.
This issue has been addressed in following products: Red Hat Enterprise Linux 6 Via RHSA-2010:0859 https://rhn.redhat.com/errata/RHSA-2010-0859.html
Created attachment 605823 [details] patch used for tetex
This issue has been addressed in following products: Red Hat Enterprise Linux 5 Via RHSA-2012:1201 https://rhn.redhat.com/errata/RHSA-2012-1201.html