CVE-2018-8036Apache Pdfbox
Medium 6.5 No auth needed
Follow: this CVE · Apache · Apache Pdfbox We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.0
- 6.5
- EPSS
- 3.9% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Jul 3, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-835
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Pdfbox.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.pdfbox:pdfbox |
≥ 1.8.0 < 1.8.15 |
1.8.15 |
— |
| Maven | org.apache.pdfbox:pdfbox |
≥ 2.0.0RC1 < 2.0.11 |
2.0.11 |
— |
Per OSV / GitHub Advisories (GHSA-j2xq-pfff-mvgg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | pdfbox | > 1.8.0 ≤ 1.8.14 |
| apache | pdfbox | ≥ 2.0.0 ≤ 2.0.10 |
| apache | pdfbox | 2.0.0 |
| apache | pdfbox | 2.0.0 |
| apache | pdfbox | 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.