Live threats

All CVEs / Apache

CVE-2018-8036Apache Pdfbox

Medium 6.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pdfbox.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
apachepdfbox> 1.8.0 ≤ 1.8.14
apachepdfbox≥ 2.0.0 ≤ 2.0.10
apachepdfbox2.0.0
apachepdfbox2.0.0
apachepdfbox2.0.0

Official sources

References

Links published by the sources. Open them with care.