qpdf: Stack overflow when processing deeply nested arrays and dictionaries
Published Aug 27, 2017
7.8
HIGHCVSS 3.0
EPSS 1.80%
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
No data.
- 6.0.0
- 7.0.b1
No data.
Red Hat Enterprise Linux 7
qpdf
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | qpdf | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 1.80% (0.01804) | 77.77th | v5 (v2026.06.15) |
| Aug 23, 2026 | 2.69% (0.02688) | 84.67th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.43% (0.00435) | 74.90th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.43% (0.00435) | 73.93th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.43% (0.00433) | 71.40th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.30% (0.00305) | 65.00th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.14% (0.01136) | 59.45th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.14% (0.01136) | 34.23th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.30% (0.01300) | 31.12th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.30% (0.01300) | 0.00th | v1 |
References (7)
- https://access.redhat.com/security/cve/CVE-2017-12595 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1485847 Issue Tracking
- https://github.com/qpdf/qpdf/commit/ad527a64f93dca12f6aabab2ca99ae5eb352ab4b x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://github.com/qpdf/qpdf/issues/146 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-12595
- https://usn.ubuntu.com/3638-1/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2017-12595
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2017-12595 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1485847 | Issue Tracking | |
| https://github.com/qpdf/qpdf/commit/ad527a64f93dca12f6aabab2ca99ae5eb352ab4b | x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory | |
| https://github.com/qpdf/qpdf/issues/146 | x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-12595 | ||
| https://usn.ubuntu.com/3638-1/ | vendor-advisoryx_refsource_UBUNTU | |
| https://www.cve.org/CVERecord?id=CVE-2017-12595 |
Change history (0)
No recorded changes yet.