CVE-2017-2814
High · 7.5CVSS
7.5
EPSS
3.0%
Published
Jul 12, 2017
CISA due date
—
Cloudanix analysis
A flaw in PDF handling software lets attackers take over a computer when a specially made document is opened.
- 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
A crafted PDF triggers an image resize after allocation in Poppler image rendering, causing heap corruption that enables arbitrary code execution.
Why it matters to the business
Systems processing untrusted PDFs risk full compromise and attacker-controlled code execution; the vulnerability affects multiple OpenJDK package variants and requires prompt patching despite low current exploit activity.
How an attack unfolds
An attacker creates a malicious PDF exploiting the post-allocation resize flaw in Poppler 0.53.0, delivers it to a victim, and achieves code execution upon rendering without user interaction beyond opening the file.
How to fix it
Upgrade affected OpenJDK packages to the listed fixed versions: openjdk-17 (Chainguard): 17.0.5.8-r4, openjdk-17 (Wolfi): 17.0.5.8-r4 and equivalent updates for all listed dbg, default-jdk, jre, and related variants.
How to confirm the fix worked
Verify package versions match or exceed the fixed releases, scan for presence of vulnerable Poppler 0.53.0 binaries, and test PDF rendering with known trigger samples in isolated environments.
Typical attack path
- Craft a PDF that forces image resize after memory allocation
- Distribute the PDF through email, web download, or document sharing
- Victim application renders the PDF using the vulnerable Poppler library
- Heap corruption occurs leading to attacker-supplied code execution
How to detect it
Review application logs for PDF rendering errors or crashes, inspect file access patterns involving suspicious PDFs, and correlate with process execution anomalies on systems using the vulnerable library.
What your security team should do
- Apply the specified package upgrades immediately across all Chainguard and Wolfi OpenJDK deployments
- Block or sandbox untrusted PDF processing until patches are deployed
- Monitor EPSS trend and re-evaluate exploit maturity as new data emerges
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 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.
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-2818 An exploitable heap overflow vulnerability exists in the image rendering functionality of… Also affects poppler
- CVE-2017-2820 An exploitable integer overflow vulnerability exists in the JPEG 2000 image parsing… 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