CVE-2017-12595 Denial of service in n/a
Remote attackers can cause denial of service via stack consumption in QPDF by submitting a PDF with deep data structures.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-12595?
CVE-2017-12595 is a high-severity denial of service vulnerability in n/a, published on 27 Aug 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-20
Which versions are affected by CVE-2017-12595?
It affects 1 product.
Products include Qpdf Project Qpdf.
How do I fix CVE-2017-12595?
Upgrade to a fixed version.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2017-12595 being exploited?
There is no known exploitation of CVE-2017-12595 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as ALPINE-CVE-2017-12595, DEBIAN-CVE-2017-12595, GHSA-q7vh-x7xx-x6hx, UBUNTU-CVE-2017-12595.