CVE-2021-31812: A carefully crafted PDF file can trigger an infinite loop while loading the file

Published Jun 12, 2021
·
Updated

Apache PDFBox is vulnerable to a denial of service, caused by an error while loading a file. By persuading a victim to open a specially-crafted PDF file, a remote attacker could exploit this vulnerability to cause the system to enter into an infinite loop.

Other sources

In Apache PDFBox, a carefully crafted PDF file can trigger an infinite loop while loading the file. This issue affects Apache PDFBox version 2.0.23 and prior 2.0.x versions.

Affected Software

16 affected componentsFixes available
redhat/pdfbox<2.0.24
2.0.24
IBM Security Risk Manager on CP4S<=CP4S 1.7.2.0
Apache PDFBox>=2.0.0<=2.0.23
Fedoraproject Fedora=33
Fedoraproject Fedora=34
Oracle Banking Corporate Lending Process Management=14.2.0
Oracle Banking Corporate Lending Process Management=14.3.0
Oracle Banking Corporate Lending Process Management=14.5.0
Oracle Banking Credit Facilities Process Management=14.2.0
Oracle Banking Credit Facilities Process Management=14.3.0
Oracle Banking Credit Facilities Process Management=14.5.0
Oracle Banking Supply Chain Finance=14.2.0
Oracle Banking Supply Chain Finance=14.3.0
Oracle Banking Supply Chain Finance=14.5.0
Oracle Retail Customer Management and Segmentation Foundation=18.1
Oracle Communications Messaging Server=8.1

Event History

Jun 12, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·09:45 AM
Data Sourced
via MITRE·09:45 AM
DescriptionWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-31812?

CVE-2021-31812 is a vulnerability in Apache PDFBox that can trigger an infinite loop while loading a PDF file.

2

How does CVE-2021-31812 affect Apache PDFBox?

CVE-2021-31812 affects Apache PDFBox by causing a denial of service due to an error while loading a specially-crafted PDF file.

3

What is the severity of CVE-2021-31812?

CVE-2021-31812 has a severity rating of medium with a CVSS score of 5.5.

4

How can CVE-2021-31812 be exploited?

CVE-2021-31812 can be exploited by persuading a victim to open a specially-crafted PDF file, which will cause the system to enter into an infinite loop.

5

How can I fix CVE-2021-31812 in Apache PDFBox?

To fix CVE-2021-31812 in Apache PDFBox, update to version 2.0.24 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203