CVE-2017-18185

NameCVE-2017-18185
DescriptionAn issue was discovered in QPDF before 7.0.0. There is a large heap-based out-of-bounds read in the Pl_Buffer::write function in Pl_Buffer.cc. It is caused by an integer overflow in the PNG filter.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

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+deb9u2vulnerable
buster8.4.0-2fixed
buster (security)8.4.0-2+deb10u1fixed
bullseye10.1.0-1fixed
bookworm11.3.0-1+deb12u1fixed
sid, trixie11.9.0-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
qpdfsource(unstable)7.0.0-1

Notes

[stretch] - qpdf <no-dsa> (Minor issue)
[jessie] - qpdf <no-dsa> (Minor issue)
[wheezy] - qpdf <no-dsa> (Minor issue)
https://github.com/qpdf/qpdf/commit/ec7d74a386c0b2f38990079c3b0d2a2b30be0e71
https://github.com/qpdf/qpdf/issues/150

Search for package or bug name: Reporting problems