Bug 1470139 (CVE-2017-2818) - CVE-2017-2818 poppler: Heap-buffer overflow in the image rendering functionality
Summary: CVE-2017-2818 poppler: Heap-buffer overflow in the image rendering functionality
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2017-2818
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1470140
TreeView+ depends on / blocked
 
Reported: 2017-07-12 12:35 UTC by Andrej Nemec
Modified: 2021-02-17 01:57 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-22 05:52:36 UTC


Attachments (Terms of Use)

Description Andrej Nemec 2017-07-12 12:35:28 UTC
An exploitable heap overflow vulnerability exists in the image rendering functionality of Poppler. A specifically crafted PDF can cause an overly large number of color components during image rendering, resulting in heap corruption. An attacker controlled PDF file can be used to trigger this vulnerability.

External References:

https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0319

Comment 1 Huzaifa S. Sidhpurwala 2017-08-22 05:52:36 UTC
As per the upstream advisory:

"The Poppler library, by default, uses a private implementation of reading and rendering images. There is a 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.


Note You need to log in before you can comment on or make changes to this bug.