*** This bug has been split off bug 135393 *** ------- Original comment by Mark J. Cox (Security Response Team) on 2004.10.12 10:20 ------- During a source code audit, Chris Evans and others discovered a number of integer overflow bugs that affected all versions of xpdf. An attacker could construct a carefully crafted PDF file that could cause xpdf to crash or possibly execute arbitrary code when opened. CAN-2004-0888 Affects: 2.1AS 2.1AW 2.1ES 2.1WS CAN-2004-0888 Affects: 3AS 3ES 3WS 3Desktop This issue is embargoed until Oct20 1400UTC
The original fix for this issue was incomplete. Please see bug 135393 for a proper fix.
Now that I look at this, I don't think we've fixed this at all in RHEL4.
That fix is upstream in 2.8.2, that's why we have no patch for it.
I looked at the code and I'm not seeing a fix for this issue. If I'm missing something please point it out.
>Now that I look at this, I don't think we've fixed this at all in RHEL4. I was referring to this comment. The original patch for CAN-2004-0888 is actually in the 2.8.2 sources. This is in the Changelog and I verified I can patch -R it. 2004-11-05 Dan Williams <dcbw> * xpdf/Catalog.cc, xpdf/XRef.cc: Fix for a number of integer overflow bugs discovered by Chris Evans. CAN-2004-0888, Bug #156729, Red Hat Bug #137420. We still need to fix the issue discovered with that patch. I have that almost done.
Ok I built gpdf-2.8.2-4.3 with the patch and updated the errata files.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2005-057.html