CVE-2017-12595 The tokenizer in QPDF 6.0.0 and 7.0.b1 is recursive for arrays and dictionaries, which allows remote attackers to cause a denial of service (stack consumption and segmentation fault) or possibly have....
HighCVSS 7.8
EPSS 1.8%
- Published
- Updated
- Exploit status
- No public exploit known
Description
The tokenizer in QPDF 6.0.0 and 7.0.b1 is recursive for arrays and dictionaries, which allows remote attackers to cause a denial of service (stack consumption and segmentation fault) or possibly have unspecified other impact via a PDF document with a deep data structure, as demonstrated by a crash in QPDFObjectHandle::parseInternal in libqpdf/QPDFObjectHandle.cc.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/qpdf(Debian:12) | < 7.0.0-1 | 7.0.0-1 |
| debian/qpdf(Debian:13) | < 7.0.0-1 | 7.0.0-1 |
| debian/qpdf(Debian:14) | < 7.0.0-1 | 7.0.0-1 |
| qpdf project qpdf | = 6.0.0 | No fix listed |
| qpdf project qpdf | = 7.0.b1 | No fix listed |
| alpine/qpdf(Alpine:v3.10) | < 7.0.0-r0 | 7.0.0-r0 |
| alpine/qpdf(Alpine:v3.11) | < 7.0.0-r0 | 7.0.0-r0 |
| alpine/qpdf(Alpine:v3.12) | < 7.0.0-r0 | 7.0.0-r0 |
| alpine/qpdf(Alpine:v3.13) | < 7.0.0-r0 | 7.0.0-r0 |
| alpine/qpdf(Alpine:v3.14) | < 7.0.0-r0 | 7.0.0-r0 |
| alpine/qpdf(Alpine:v3.15) | < 7.0.0-r0 | 7.0.0-r0 |
| alpine/qpdf(Alpine:v3.16) | < 7.0.0-r0 | 7.0.0-r0 |
| alpine/qpdf(Alpine:v3.17) | < 7.0.0-r0 | 7.0.0-r0 |
| alpine/qpdf(Alpine:v3.18) | < 7.0.0-r0 | 7.0.0-r0 |
| alpine/qpdf(Alpine:v3.19) | < 7.0.0-r0 | 7.0.0-r0 |
| alpine/qpdf(Alpine:v3.20) | < 7.0.0-r0 | 7.0.0-r0 |
| alpine/qpdf(Alpine:v3.21) | < 7.0.0-r0 | 7.0.0-r0 |
| alpine/qpdf(Alpine:v3.22) | < 7.0.0-r0 | 7.0.0-r0 |
| alpine/qpdf(Alpine:v3.23) | < 7.0.0-r0 | 7.0.0-r0 |
| alpine/qpdf(Alpine:v3.24) | < 7.0.0-r0 | 7.0.0-r0 |
| alpine/qpdf(Alpine:v3.8) | < 7.0.0-r0 | 7.0.0-r0 |
| alpine/qpdf(Alpine:v3.9) | < 7.0.0-r0 | 7.0.0-r0 |
References
- Debian Security Tracker CVE-2017-12595 vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking patch third-party-advisory
- USN-3638-1 vendor-advisory
- security.alpinelinux.org vendor-advisory