Name | CVE-2021-36978 |
Description | QPDF 9.x through 9.1.1 and 10.x through 10.0.4 has a heap-based buffer overflow in Pl_ASCII85Decoder::write (called from Pl_AES_PDF::flush and Pl_AES_PDF::finish) when a certain downstream write fails. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3548-1, ELA-942-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
qpdf (PTS) | jessie | 5.1.2-2 | vulnerable |
| stretch (lts), stretch | 6.0.0-2+deb9u2 | fixed |
| buster (security), buster, buster (lts) | 8.4.0-2+deb10u1 | fixed |
| bullseye | 10.1.0-1 | fixed |
| bookworm | 11.3.0-1+deb12u1 | fixed |
| sid, trixie | 11.9.1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
qpdf | source | jessie | (unfixed) | end-of-life | | |
qpdf | source | stretch | 6.0.0-2+deb9u1 | | ELA-942-1 | |
qpdf | source | buster | 8.4.0-2+deb10u1 | | DLA-3548-1 | |
qpdf | source | (unstable) | 10.1.0-1 | | | |
Notes
[stretch] - qpdf <no-dsa> (Minor issue)
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28262
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/qpdf/OSV-2020-2245.yaml
Fixed by: https://github.com/qpdf/qpdf/commit/dc92574c10f3e2516ec6445b88c5d584f40df4e5 (release-qpdf-10.1.0)