Description
In Apache PDFBox 1.8.0 to 1.8.14 and 2.0.0RC1 to 2.0.10, a carefully crafted (or fuzzed) file can trigger an infinite loop which leads to an out of memory exception in Apache PDFBox's AFMParser.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache PDFBox | 1.8.0 to 1.8.14, 2.0.0RC1 to 2.0.10 | — |
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 | libpdfbox-java | 1:1.8.15-1 | — |
| Debian 14 | libpdfbox2-java | 2.0.11-1 | — |
| Debian 13 | libpdfbox-java | 1:1.8.15-1 | — |
| Debian 13 | libpdfbox2-java | 2.0.11-1 | — |
| Debian 12 | libpdfbox-java | 1:1.8.15-1 | — |
| Debian 12 | libpdfbox2-java | 2.0.11-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libpdfbox-java | 1:1.8.16-2~18.04 | — |
| Ubuntu 18.04 LTS | libpdfbox2-java | 2.0.13-2~18.04 | — |
| Ubuntu 16.04 LTS | libpdfbox-java | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 | apache-pdfbox | 1.8.12-5.3.13 | SUSE-SU-2018:2630-1 |
| SLES 12 SP3 | apache-pdfbox | 1.8.12-3.5.4 | SUSE-SU-2018:3318-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.pdfbox:pdfbox | >= 1.8.0, < 1.8.15 | 1.8.15 | GHSA-j2xq-pfff-mvgg |
| Maven | org.apache.pdfbox:pdfbox | >= 2.0.0RC1, < 2.0.11 | 2.0.11 | GHSA-j2xq-pfff-mvgg |
Advisories 3
- SUSE-SU-2018:2630-1 Security update for apache-pdfbox SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3318-1 Security update for apache-pdfbox SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-0809 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 19, 2024
References
- RHSA-2018:2669 vendor-advisory
- [users] 20180629 [CVE-2018-8036] DoS (OOM) Vulnerability in Apache PDFBox's AFMParser mailing-list
- FEDORA-2019-9e91afa2be vendor-advisory
- FEDORA-2019-6fa01d12b4 vendor-advisory
- https://www.oracle.com/security-alerts/cpuapr2020.html
- [syncope-dev] 20200423 Re: Time to cut 2.1.6 / 2.0.15? mailing-list