Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 624710 (CVE-2017-2818) - app-text/poppler: Heap-buffer overflow in the image rendering functionality
Summary: app-text/poppler: Heap-buffer overflow in the image rendering functionality
Alias: CVE-2017-2818
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
Whiteboard: A3 [noglsa cve]
Depends on:
Reported: 2017-07-12 15:27 UTC by Agostino Sarubbo
Modified: 2018-01-15 23:16 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2017-07-12 15:27:03 UTC
From ${URL} :

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:

@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 Yury German Gentoo Infrastructure gentoo-dev 2017-08-10 07:00:05 UTC
Setting dependency on Bug #627390
Comment 2 Michael Palimaka (kensington) gentoo-dev 2017-10-01 11:54:59 UTC
Dropping blocker on yet another poppler bug with no evidence of it being fixed...
Comment 3 Andreas Sturmlechner gentoo-dev 2017-11-24 22:43:50 UTC
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."

The default has changed to libjpeg since 0.55. To build this private implementation, one has to pass -DENABLE_DCTDECODER=unmaintained, but Gentoo either passes 'libjpeg' or 'none'. Which by definition makes us unaffected.
Comment 4 Aaron Bauman (RETIRED) gentoo-dev 2018-01-15 23:16:27 UTC
Gentoo by default is not impacted by this vulnerability.