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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | qpdf | 10.1.0-1 | — |
| Debian 13 | qpdf | 10.1.0-1 | — |
| Debian 12 | qpdf | 10.1.0-1 | — |
| Debian 10 | qpdf | 8.4.0-2+deb10u1 | DLA-3548-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | qpdf | 9.1.1-1ubuntu0.1 | USN-5026-1 |
| Ubuntu 18.04 LTS | qpdf | 8.0.2-3ubuntu0.1 | USN-5026-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | qpdf | 8.0.2-3~16.04.1+esm1 | USN-5026-2 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | qpdf | 9.0.2-150200.3.3.1 | SUSE-SU-2022:3248-1 |
| SLES 15 SP3 | qpdf | 9.0.2-150200.3.3.1 | SUSE-SU-2022:3248-1 |
| SLES 15 SP2 | qpdf | 9.0.2-150200.3.3.1 | SUSE-SU-2022:3248-1 |
| SLES 15 SP1 | qpdf | 8.0.2-150000.3.5.1 | SUSE-SU-2022:2670-1 |
| SLES 15 | qpdf | 8.0.2-150000.3.5.1 | SUSE-SU-2022:2670-1 |
Show 19 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | qpdf | 7.1.1-3.8.1 | SUSE-SU-2022:2669-1 |
| SLES 12 SP4 | qpdf | 7.1.1-3.8.1 | SUSE-SU-2022:2669-1 |
| SLES 12 SP3 | qpdf | 7.1.1-3.8.1 | SUSE-SU-2022:2669-1 |
| SLES 12 SP2 | qpdf | 7.1.1-3.8.1 | SUSE-SU-2022:2669-1 |
| SLES for SAP 15 SP2 | qpdf | 9.0.2-150200.3.3.1 | SUSE-SU-2022:3248-1 |
| SLES for SAP 15 SP1 | qpdf | 8.0.2-150000.3.5.1 | SUSE-SU-2022:2670-1 |
| SLES for SAP 15 | qpdf | 8.0.2-150000.3.5.1 | SUSE-SU-2022:2670-1 |
| SLES for SAP 12 SP5 | qpdf | 7.1.1-3.8.1 | SUSE-SU-2022:2669-1 |
| SLES for SAP 12 SP4 | qpdf | 7.1.1-3.8.1 | SUSE-SU-2022:2669-1 |
| SLE HPC 15 SP2 | qpdf | 9.0.2-150200.3.3.1 | SUSE-SU-2022:3248-1 |
| SLE HPC 15 SP1 | qpdf | 8.0.2-150000.3.5.1 | SUSE-SU-2022:2670-1 |
| SLE HPC 15 | qpdf | 8.0.2-150000.3.5.1 | SUSE-SU-2022:2670-1 |
| SUSE OpenStack Cloud Crowbar 9 | qpdf | 7.1.1-3.8.1 | SUSE-SU-2022:2669-1 |
| SUSE OpenStack Cloud 9 | qpdf | 7.1.1-3.8.1 | SUSE-SU-2022:2669-1 |
| SUSE Manager Server 4.1 | qpdf | 9.0.2-150200.3.3.1 | SUSE-SU-2022:3248-1 |
| SUSE Manager Retail Branch Server 4.1 | qpdf | 9.0.2-150200.3.3.1 | SUSE-SU-2022:3248-1 |
| SUSE Manager Proxy 4.1 | qpdf | 9.0.2-150200.3.3.1 | SUSE-SU-2022:3248-1 |
| SUSE Enterprise Storage 7 | qpdf | 9.0.2-150200.3.3.1 | SUSE-SU-2022:3248-1 |
| SUSE Enterprise Storage 6 | qpdf | 8.0.2-150000.3.5.1 | SUSE-SU-2022:2670-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.4 | qpdf | 8.0.2-150000.3.5.1 | SUSE-SU-2022:3248-1, SUSE-SU-2022:2670-1 |
| openSUSE Leap 15.3 | qpdf | 8.0.2-150000.3.5.1 | SUSE-SU-2022:3248-1, SUSE-SU-2022:2670-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | qpdf +3 | 5.0.1-4.amzn2.0.2 | ALAS2-2024-2409, ALAS2-2023-2104 |
Advisories 8
- USN-5026-2 qpdf vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-5026-1 qpdf vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-3548-1 qpdf - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2022:2669-1 Security update for qpdf SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3248-1 Security update for qpdf SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2670-1 Security update for qpdf SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2024-2409 Important: qpdf security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jan 17, 2024
- ALAS2-2023-2104 Moderate: qpdf security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jun 29, 2023
References
- https://github.com/qpdf/qpdf/issues/492
- https://github.com/qpdf/qpdf/commit/dc92574c10f3e2516ec6445b88c5d584f40df4e5
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/qpdf/OSV-2020-2245.yaml
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28262
- [debian-lts-announce] 20230829 [SECURITY] [DLA 3548-1] qpdf security update mailing-list
- GLSA-202401-20 vendor-advisory