Bug 1470138 (CVE-2017-2820) - CVE-2017-2820 poppler: Integer overflow in the JPEG 2000 image parsing functionality
Summary: CVE-2017-2820 poppler: Integer overflow in the JPEG 2000 image parsing functi...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2017-2820
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:34 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:50:30 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2017-07-12 12:34:11 UTC
An exploitable integer overflow vulnerability exists in the JPEG 2000 image parsing functionality of freedesktop.org Poppler. A specially crafted PDF file can lead to an integer overflow causing out of bounds memory overwrite on the heap resulting in potential arbitrary code execution. To trigger this vulnerability, a victim must open the malicious PDF in an application using this library.

External References:

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

Comment 1 Huzaifa S. Sidhpurwala 2017-08-22 05:50:30 UTC
As per upstream advisory:

"Poppler is a popular open source PDF parser library. It is used by default in many open source PDF viewers. The library itself implements a decoder for JPEG 2000 encoded images instead of relying on a more complete implementation (such as OpenJPEG), although it does warn about this at compile time and strongly suggests OpenJPEG be used. By default, this internal implementation will be used by applications. "

However the versions of poppler library shipped with Red Hat Enterprise Linux and Fedora use the system libopenjpeg 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.