CVE-2017-12595

NameCVE-2017-12595
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesELA-942-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
qpdf (PTS)jessie5.1.2-2vulnerable
stretch (lts), stretch6.0.0-2+deb9u2fixed
buster (security), buster, buster (lts)8.4.0-2+deb10u1fixed
bullseye10.1.0-1fixed
bookworm11.3.0-1+deb12u1fixed
sid, trixie11.9.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
qpdfsourcestretch6.0.0-2+deb9u1ELA-942-1
qpdfsource(unstable)7.0.0-1

Notes

[stretch] - qpdf <no-dsa> (Minor issue)
[jessie] - qpdf <no-dsa> (Minor issue)
[wheezy] - qpdf <ignored> (Minor issue)
https://github.com/qpdf/qpdf/issues/146
Fixed by: https://github.com/qpdf/qpdf/commit/ad527a64f93dca12f6aabab2ca99ae5eb352ab4b

Search for package or bug name: Reporting problems