Vulnerability Details : 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.
Vulnerability category: Memory CorruptionInput validationDenial of service
Products affected by CVE-2017-12595
- cpe:2.3:a:qpdf_project:qpdf:6.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:qpdf_project:qpdf:7.0.b1:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2017-12595
0.44%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 72 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2017-12595
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
7.8
|
HIGH | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2017-12595
-
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.Assigned by: nvd@nist.gov (Primary)
References for CVE-2017-12595
-
https://usn.ubuntu.com/3638-1/
USN-3638-1: QPDF vulnerabilities | Ubuntu security notices
-
https://github.com/qpdf/qpdf/issues/146
QPDF v6.0 Stack Corruption · Issue #146 · qpdf/qpdf · GitHubIssue Tracking;Patch;Third Party Advisory
-
https://github.com/qpdf/qpdf/commit/ad527a64f93dca12f6aabab2ca99ae5eb352ab4b
Parse iteratively to avoid stack overflow (fixes #146) · qpdf/qpdf@ad527a6 · GitHubIssue Tracking;Patch;Third Party Advisory
Jump to