An exploitable heap overflow vulnerability exists in the image rendering functionality of Poppler. A specifically crafted pdf can cause an image resizing after allocation has already occurred, resulting in heap corruption which can lead to code execution. An attacker controlled PDF file can be used to trigger this vulnerability. External References: https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0311
As per the upstream advisory: "The Poppler library, by default, uses a private implementation of reading and rendering images. There is an compilation option for libjpeg support, but the flag is not enabled by default. This private implementation contains assumptions about the JPEG file headers that can lead to heap corruption when broken." However the version of poppler library shipped with Red Hat Enterprise Linux and Fedora use the system libjpeg library, therefore they are not affected by this flaw.