Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8.14, 2.0.10, 3.0.0 PDFBox
Description
From our private mailinglist reported by tallison@apache.org:
Tobias Ospelt has been working with fuzzing to identify oom/infinite loops. Tobias' attached file triggers a really long running loop which eventually leads to an OOM. It looks like this loop is the problem in AFMParser's readLine():
while(!this.isEOL(nextByte = this.input.read())) { buf.append((char)nextByte); }
CVE-2018-8036
Description: A carefully crafted (or fuzzed) file can trigger an infinite loop which leads to an out of memory exception in Apache PDFBox's AFMParser.
Affected versions:
<= 1.8.14
<= 2.0.10
Mitigation: update to a more recent version