CVE-2017-2818
High · 7.5CVSS
7.5
EPSS
2.0%
Published
Jul 12, 2017
CISA due date
—
Cloudanix analysis
A flaw in a common PDF viewing tool lets attackers take over a computer if someone opens a specially made document file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap overflow during PDF image rendering when an excessive number of color components are processed, resulting in memory corruption that can lead to arbitrary code execution or application crash.
Why it matters to the business
Attackers can compromise systems that process untrusted PDFs, potentially enabling malware deployment or data theft; the flaw affects widely used document rendering libraries with high downstream prevalence in document workflows.
How an attack unfolds
An attacker crafts a PDF containing an image with an abnormally large number of color components that triggers the heap overflow in Poppler's rendering code; the malicious file is delivered to a victim who opens it with an affected application, causing memory corruption that the attacker can leverage for code execution.
How to fix it
Upgrade affected Poppler installations to the fixed versions provided for each package (temporal-fips and temporal-compat-fips both fixed in 0.11.0-r1); rebuild or redeploy any dependent applications after the library update.
How to confirm the fix worked
Confirm the installed Poppler version is at or above the fixed release for each package; test rendering of known-malicious sample PDFs in an isolated environment to verify absence of crashes or corruption; monitor application logs for heap-related errors during PDF processing.
Typical attack path
- Attacker generates a malicious PDF exploiting the color component parsing flaw
- Malicious PDF is distributed via email attachment, web download, or file share
- Victim opens the PDF using an application linked against the vulnerable Poppler library
- Heap corruption occurs during image rendering, enabling payload execution or denial of service
How to detect it
Review application and system logs for crashes or errors during PDF rendering; inspect file shares and email gateways for PDFs with unusually large color component counts; correlate with endpoint process anomalies following document opens.
What your security team should do
- Prioritize patching Poppler in all environments that render PDFs within the next 30 days given the memory corruption class
- Implement PDF sandboxing or conversion to safer formats for high-risk workflows until patches are applied
- Add Poppler version checks to vulnerability scanning and software bill of materials processes
The record
An exploitable heap overflow vulnerability exists in the image rendering functionality of Poppler 0.53.0. 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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | poppler | 0 | No fix |
| Debian:11 | poppler | 0 | No fix |
| Debian:12 | poppler | 0 | No fix |
| Debian:13 | poppler | 0 | No fix |
Related vulnerabilities
- CVE-2017-14518 In Poppler 0.59.0, a floating point exception exists in the… Also affects poppler
- CVE-2017-14517 In Poppler 0.59.0, a NULL Pointer Dereference exists in the XRef::parseEntry() function… Also affects poppler
- CVE-2017-2820 An exploitable integer overflow vulnerability exists in the JPEG 2000 image parsing… Also affects poppler
- CVE-2017-2814 An exploitable heap overflow vulnerability exists in the image rendering functionality of… Also affects poppler
- CVE-2017-9083 poppler 0.54.0, as used in Evince and other products, has a NULL pointer dereference in… Also affects poppler
- CVE-2013-4472 The openTempFile function in goo/gfile.cc in Xpdf and Poppler 0.24.3 and earlier, when… Also affects poppler
- CVE-2013-4474 Format string vulnerability in the extractPages function in utils/pdfseparate.cc in… Also affects poppler
- CVE-2013-4473 Stack-based buffer overflow in the extractPages function in utils/pdfseparate.cc in… Also affects poppler