Every CVE Search/ Get API key

CVE-2018-8036

Loop with Unreachable Exit Condition in Apache PDFBox

6.5 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

3.99%Down 0.3 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

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.

Record
CVE-2018-8036
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-835
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2018-8036
Updated
2026-11-02
EUVDEUVD-2022-4264 No score

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.

Record
EUVD-2022-4264
Updated
2026-11-03
GitHub AdvisoriesGHSA-j2xq-pfff-mvgg 6.5

Loop with Unreachable Exit Condition in Apache PDFBox

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.

Record
GHSA-j2xq-pfff-mvgg
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-835
Updated
2026-11-02
OSV 6.5

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.

Record
CVE-2018-8036
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-8036 6.5

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.

Record
DEBIAN-CVE-2018-8036
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 5 moreShow less
OSVGHSA-j2xq-pfff-mvgg 6.5

Loop with Unreachable Exit Condition in Apache PDFBox

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.

Record
GHSA-j2xq-pfff-mvgg
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-835
Updated
2026-11-02
OSVUBUNTU-CVE-2018-8036 6.5

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.

Record
UBUNTU-CVE-2018-8036
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2024:10622-1 No score

apache-pdfbox-2.0.23-1.3 on GA media

These are all security issues fixed in the apache-pdfbox-2.0.23-1.3 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10622-1
Updated
2026-11-02
OSVSUSE-SU-2018:2630-1 No score

Security update for apache-pdfbox

This update for apache-pdfbox fixes the following issues:

Security issue fixed:

  • CVE-2018-8036: Fix infinite loop while parsing files that leads to an out of memory issue (bsc#1099721).
Record
SUSE-SU-2018:2630-1
Updated
2026-11-02
OSVSUSE-SU-2018:3318-1 No score

Security update for apache-pdfbox

This update for apache-pdfbox fixes the following security issue:

  • CVE-2018-8036: A crafted file could have triggered an infinite loop which lead to DoS (bsc#1099721).
  • CVE-2018-11797: A carefully crafted PDF file can trigger an extremely long running computation when parsing the page tree. (bsc#1111009):
Record
SUSE-SU-2018:3318-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.pdfbox:pdfbox
Maven
1.8.0 to 1.8.14
1.8.15
org.apache.pdfbox:pdfbox
Maven
2.0.0RC1 to 2.0.10
2.0.11
libpdfbox-java
Debian:12
before 1:1.8.15-1
1:1.8.15-1
libpdfbox-java
Debian:13
before 1:1.8.15-1
1:1.8.15-1
libpdfbox-java
Debian:14
before 1:1.8.15-1
1:1.8.15-1
libpdfbox2-java
Debian:12
before 2.0.11-1
2.0.11-1
libpdfbox2-java
Debian:13
before 2.0.11-1
2.0.11-1
libpdfbox2-java
Debian:14
before 2.0.11-1
2.0.11-1
org.apache.pdfbox:pdfbox
Maven
1.8.0 up to 1.8.15, plus listed versions
1.8.11.8.101.8.111.8.121.8.13
Show 9 moreShow less
1.8.141.8.21.8.31.8.41.8.51.8.61.8.71.8.81.8.9
1.8.15
org.apache.pdfbox:pdfbox
Maven
2.0.0RC1 up to 2.0.11, plus listed versions
2.0.02.0.0-RC12.0.0-RC22.0.0-RC32.0.1
Show 9 moreShow less
2.0.102.0.22.0.32.0.42.0.52.0.62.0.72.0.82.0.9
2.0.11
Show 5 moreShow less
Affected packages
PackageAffectedFixed
apache-pdfbox
SUSE:Linux Enterprise Module for Development Tools 15
before 1.8.12-5.3.13
1.8.12-5.3.13
apache-pdfbox
SUSE:Linux Enterprise Software Development Kit 12 SP3
From an advisory covering 2 CVEs
before 1.8.12-3.5.4
1.8.12-3.5.4
libpdfbox-java
Ubuntu:16.04:LTS
All versions, plus listed versions
1:1.8.7+dfsg-11:1.8.10-11:1.8.10-21:1.8.11+dfsg-1
None known
libpdfbox-java
Ubuntu:18.04:LTS
before 1:1.8.16-2~18.04, plus listed versions
1:1.8.13-11:1.8.13-2
1:1.8.16-2~18.04
libpdfbox2-java
Ubuntu:18.04:LTS
before 2.0.13-2~18.04, plus listed versions
2.0.7-12.0.8-12.0.8-22.0.9-1
2.0.13-2~18.04

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-8036 is a medium vulnerability (CVSS 6.5) in Apache Pdfbox, published July 3, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.99%, the 90th percentile. Fixed in org.apache.pdfbox:pdfbox 1.8.15.

References

Show 18 moreShow less
MoveEnter Open