5.5

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

Modified
AliasesUBUNTU-CVE-2021-31812DEBIAN-CVE-2021-31812GHSA-7grw-6pjh-jpc9
Published 12-06-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-31812 is a medium (CVSS 5.5) Excessive Iteration vulnerability in apache software foundation apache pdfbox. EPSS estimates a 3.05% chance of exploitation in the next 30 days, higher than 88% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
3.05%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 12-06-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

3.05%

Chance of exploitation in the next 30 days

Percentile

88%

Versus all other CVEs

30-day change

No change 0.00 pp

From 3.05% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Oracle5 products
Debian2 products
  • libpdfbox-javaAll versions (No fix recorded)
  • libpdfbox2-java< 2.0.24-1
Org.apache.pdfbox2 products
  • pdfbox≥ 2.0.0, < 2.0.24
  • pdfbox-parent≥ 2.0.0, < 2.0.24
Ubuntu2 products
  • libpdfbox-javaAll versions (No fix recorded)
  • libpdfbox2-javaAll versions (No fix recorded)
Apache1 product
Apache software foundation1 product
Fedoraproject1 product

7 vendors · 14 products

References

32 links
Show all 32 references