An out-of-bounds read flaw was found in the Poppler library as demonstrated by pdfunite. This may result in a denial of service or other undefined behavior. This flaw may be exploitable when a victim opens a specially crafted PDF file. Upstream Patch: https://cgit.freedesktop.org/poppler/poppler/commit/?id=004e3c10df0abda214f0c293f9e269fdd979c5ee
Acknowledgments: Name: Hosein Askari
Created mingw-poppler tracking bugs for this issue: Affects: fedora-all [bug 1607462] Created poppler tracking bugs for this issue: Affects: fedora-all [bug 1607461]
Downgrading this to low. No obvious, quickly discovered evidence that this leads to a buffer overflow. Looks like an out of bounds read triggering a segfault. Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7abc1c1 in XRef::getEntry (this=this@entry=0x6372c0, i=-45027, complainIfMissing=complainIfMissing@entry=true) at XRef.cc:1609 1609 if (i >= size || entries[i].type == xrefEntryNone) { Offsets negatively into entries and triggers the segfault.
This was de-embargoed after the reporter reported this upstream, agreed on a release, and the patch came out.
Statement: Red Hat Product Security has rated this issue as having a security impact of Low, and a future update may address this flaw.
RHEL 5 and 6 have similar code and look vulnerable due to the missing check. Untested as pdfunite was not shipped with those versions of poppler and due to low severity. Assumption is affected.
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2018:3140 https://access.redhat.com/errata/RHSA-2018:3140