CVE Vulnerabilities

CVE-2018-8036

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Jul 03, 2018 | Modified: Nov 07, 2023
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu

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 PDFBoxs AFMParser.

Weakness

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Software

Name Vendor Start Version End Version
Pdfbox Apache 1.8.0 (excluding) 1.8.14 (including)
Pdfbox Apache 2.0.0 (including) 2.0.10 (including)
Pdfbox Apache 2.0.0-rc1 (including) 2.0.0-rc1 (including)
Pdfbox Apache 2.0.0-rc2 (including) 2.0.0-rc2 (including)
Pdfbox Apache 2.0.0-rc3 (including) 2.0.0-rc3 (including)

References