# CVE-2018-8036: Loop with Unreachable Exit Condition in Apache PDFBox

Source: https://junglewise.ai/threats/cve-2018-8036-loop-with-unreachable-exit-condition-in-apache-pdfbox  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-13  
License: CC BY 4.0 with a link back

CVE-2018-8036 · Severity: low · CVSS 3 · Published 2022-05-13

Loop with Unreachable Exit Condition in Apache PDFBox

Technologies: [org.apache.pdfbox:pdfbox (Maven)](https://junglewise.ai/threats/technologies/org-apache-pdfbox-pdfbox). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2018-8036 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-8036 being exploited in the wild.

**How severe is CVE-2018-8036?** Low severity, with a CVSS score of 3, published 13 May 2022.

**Which products and versions are affected?** org.apache.pdfbox:pdfbox (Maven) ECOSYSTEM:introduced=1.8.0,fixed=1.8.15.

**Is there a fix for CVE-2018-8036?** Yes. org.apache.pdfbox:pdfbox (Maven): upgrade to 1.8.15 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-8036?** Check whether you run org.apache.pdfbox:pdfbox (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.pdfbox:pdfbox (Maven): upgrade to 1.8.15 or later

  ```sh
  # set org.apache.pdfbox:pdfbox to 1.8.15 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.pdfbox:pdfbox (Maven) ECOSYSTEM:introduced=1.8.0,fixed=1.8.15

## Identifiers

- CVE-2018-8036
- GHSA-j2xq-pfff-mvgg

## Related threats

- [Excessive Iteration Denial of Service in Apache PDFBox](https://junglewise.ai/threats/cve-2021-27807-excessive-iteration-denial-of-service-in-apache-pdfbox)
- [Uncontrolled memory consumption](https://junglewise.ai/threats/cve-2021-31811-uncontrolled-memory-consumption)
- [Infinite Loop in Apache PDFBox](https://junglewise.ai/threats/cve-2021-31812-infinite-loop-in-apache-pdfbox)
- [Uncontrolled Memory Allocation in Apache PDFBox](https://junglewise.ai/threats/cve-2021-27906-uncontrolled-memory-allocation-in-apache-pdfbox)
- [Vulnerability that affects org.apache.pdfbox:pdfbox](https://junglewise.ai/threats/cve-2019-0228-vulnerability-that-affects-org-apache-pdfbox-pdfbox)
