Home / Apache Software Foundation / Apache PDFBox / CVE-2018-8036
CVE-2018-8036: is it exploited, and which versions of Apache Software Foundation Apache PDFBox are affected and fixed?
CVE-2018-8036 is an infinite loop (denial of service) vulnerability in Apache Software Foundation Apache PDFBox. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: org.apache.pdfbox:pdfbox from 1.8.0 before 1.8.15 and org.apache.pdfbox:pdfbox from 2.0.0RC1 before 2.0.11 (GitHub advisory GHSA-j2xq-pfff-mvgg). Fixed in 1.8.15 and 2.0.11 (GitHub advisory GHSA-j2xq-pfff-mvgg). Severity: Medium (6.5, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:31 UTC.
What is CVE-2018-8036?
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.
From the CVE record by apache, last updated September 16, 2024, 18:28 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache PDFBox | 1.8.0 to 1.8.14 2.0.0RC1 to 2.0.10 |
As the CVE record by apache states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| 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 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 29, 2022. Summary: Loop with Unreachable Exit Condition in Apache PDFBox.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | pdfbox | after 1.8.0 through 1.8.14 | application |
| apache | pdfbox | from 2.0.0 through 2.0.10 | application |
| apache | pdfbox | 2.0.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:04 UTC.
How severe is CVE-2018-8036?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-8036 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.93% probability of exploitation activity in the next 30 days, percentile 90.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-835 Loop with Unreachable Exit Condition
Where are the vendor advisories and references?
- RHSA-2018:2669 vendor-advisory, x_refsource_REDHAT
- [users] 20180629 [CVE-2018-8036] DoS (OOM) Vulnerability in Apache PDFBox's AFMParser mailing-list, x_refsource_MLIST
- FEDORA-2019-9e91afa2be vendor-advisory, x_refsource_FEDORA
- FEDORA-2019-6fa01d12b4 vendor-advisory, x_refsource_FEDORA
- https://www.oracle.com/security-alerts/cpuapr2020.html x_refsource_MISC
- [syncope-dev] 20200423 Re: Time to cut 2.1.6 / 2.0.15? mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- March 9, 2018
- Published
- July 3, 2018, 20:00 UTC
- CVE record updated
- September 16, 2024, 18:28 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 02:04 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:31 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache PDFBox?
- Jun 12, 2021CVE-2021-31812 Apache Software Foundation Apache PDFBox: excessive iteration
- Jun 12, 2021CVE-2021-31811 Apache Software Foundation Apache PDFBox: memory Allocation with Excessive Size Value
- Mar 19, 2021CVE-2021-27906 Apache Software Foundation Apache PDFBox: memory Allocation with Excessive Size Value
- Mar 19, 2021CVE-2021-27807 Apache Software Foundation Apache PDFBox: excessive iteration
- Oct 5, 2018CVE-2018-11797 Apache Software Foundation Apache PDFBox: denial of service (uncontrolled resource consumption)
Questions about CVE-2018-8036
Is CVE-2018-8036 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 3.93% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache PDFBox are affected by CVE-2018-8036?
org.apache.pdfbox:pdfbox from 1.8.0 before 1.8.15 and org.apache.pdfbox:pdfbox from 2.0.0RC1 before 2.0.11, per the GitHub advisory GHSA-j2xq-pfff-mvgg. The tables above give every range the sources list.
Which version fixes CVE-2018-8036?
1.8.15 and 2.0.11, per the GitHub advisory GHSA-j2xq-pfff-mvgg. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-8036?
Medium (6.5, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-8036?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.