apache pdfbox CVE-2021-31811 vulnerability in Apache and Other Products
Published on June 12, 2021

A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading a tiny file

product logo product logo product logo
In Apache PDFBox, a carefully crafted PDF file can trigger an OutOfMemory-Exception while loading the file. This issue affects Apache PDFBox version 2.0.23 and prior 2.0.x versions.

Vendor Advisory Vendor Advisory NVD

Weakness Type

What is a Stack Exhaustion Vulnerability?

The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.

CVE-2021-31811 has been classified to as a Stack Exhaustion vulnerability or weakness.


Products Associated with CVE-2021-31811

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2021-31811 are published in these products:

 
 
 
 
 
 
 
 
 
 
 
 

Affected Versions

Apache Software Foundation Apache PDFBox:

Exploit Probability

EPSS
0.33%
Percentile
55.14%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.