CVE-2017-9083
Medium · 6.5CVSS
6.5
EPSS
1.1%
Published
May 19, 2017
CISA due date
—
Cloudanix analysis
A bug in the software that reads PDF files can make programs using it stop working when they encounter certain badly formed documents.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
NULL pointer dereference in JPXStream::readUByte during parsing of malformed JPX streams inside PDF files, causing immediate segmentation fault and process termination.
Why it matters to the business
Applications that render or inspect untrusted PDFs become unavailable until restarted, creating denial-of-service conditions; the affected Chainguard package indicates downstream build pipelines and exporters may also be disrupted if they transitively depend on the vulnerable poppler library.
How an attack unfolds
An attacker crafts a minimal invalid PDF containing a JPX stream that triggers the NULL dereference, then delivers the file to a target that opens it with an affected poppler-based viewer or utility; the application crashes on first access without requiring authentication.
How to fix it
Upgrade prometheus-mongodb-exporter-0.37 (Chainguard) to version 0.37.0-r7 or later; rebuild any containers or images that embed the vulnerable poppler library and restart affected services.
How to confirm the fix worked
Confirm installed package version is 0.37.0-r7 or higher; run the perf_test utility or equivalent PDF parser against a known triggering malformed file and verify absence of segmentation fault.
Typical attack path
- Generate PDF with malformed JPX stream that reaches readUByte with NULL data pointer
- Host or email the crafted PDF to the target environment
- Victim or automated process opens or indexes the PDF
- Application dereferences NULL and terminates with segmentation fault
How to detect it
Search application and system logs for segmentation fault entries that coincide with PDF file access or indexing operations; correlate with poppler library stack traces containing JPXStream::readUByte.
What your security team should do
- Apply the 0.37.0-r7 update across all Chainguard-based builds within the next maintenance window
- Add poppler version checks to CI pipelines to prevent re-introduction of vulnerable library versions
- Enable application crash monitoring for PDF-processing workloads as a temporary compensating control
The record
poppler 0.54.0, as used in Evince and other products, has a NULL pointer dereference in the JPXStream::readUByte function in JPXStream.cc. For example, the perf_test utility will crash (segmentation fault) when parsing an invalid PDF file.
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 |
| SUSE:Linux Enterprise Desktop 12 SP2 | poppler | 0 | 0.24.4-14.3.1 |
| SUSE:Linux Enterprise Server 12 SP2 | poppler | 0 | 0.24.4-14.3.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | poppler | 0 | 0.24.4-14.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | poppler | 0 | 0.24.4-14.3.1 |
| Ubuntu:14.04:LTS | poppler | 0 | 0.24.5-2ubuntu4.5 |
| Ubuntu:16.04:LTS | poppler | 0 | 0.41.0-0ubuntu1.2 |
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-2814 An exploitable heap overflow vulnerability exists in the image rendering functionality of… 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