Loop with Unreachable Exit Condition ('Infinite Loop') Affecting libpdfbox-java package, versions <1:1.8.16-2~18.04


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
4.81% (92nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1804-LIBPDFBOXJAVA-343665
  • published11 Jul 2018
  • disclosed3 Jul 2018

Introduced: 3 Jul 2018

CVE-2018-8036  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 libpdfbox-java to version 1:1.8.16-2~18.04 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libpdfbox-java package and not the libpdfbox-java package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

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.