Improper input validation in Qpdf Project
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 unspecified other impact via a PDF document with a deep data structure, as demonstrated by a crash in QPDFObjectHandle::parseInternal in libqpdf/QPDFObjectHandle.cc.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.018, 78.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Qpdf Project — versions 6.0.0, 7.0.b1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (9emin1/advisories). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/qpdf/qpdf/issues/146 (Patch, Third Party Advisory, Issue Tracking)
- USN-3638-1 (vendor-advisory)
- github.com/qpdf/qpdf/commit/ad527a64f93dca12f6aabab2ca99ae5eb352ab4b (Patch, Third Party Advisory, Issue Tracking)