CVE-2021-31812 Apache PDFBox
| Affected software | Apache PDFBox |
|---|---|
| Severity | 5.5 Medium CVSS 3.1 2 scores |
| Fixed in | 2.0.24 |
| Weakness | CWE-834 |
| Published | 12 Jun 2021 |
| Updated | 17 Jun 2026 |
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.
CWE-835
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 5 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment no assessment published
- Indexed PoC none indexed
- EPSS 3.1% chance in 30 days
Waratek protection
Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.
A public code fix exists.
- Protection none
- Action unverified
- Review automated Upstream data
- Record active
| Decided by | Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all |
|---|---|
| Finding | This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious. |
CVSS
5.5 MEDIUM
v3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
2 metrics
CVSS
5.5 MEDIUM v3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
NVD | Primary | published |
| CVSS 2.0 | 4.3 | none | AV:N/AC:M/Au:N/C:N/I:N/A:P |
NVD | Primary |
Affected software and releases
Oracle advisories
| Advisory | Type | Quarter | Products Oracle names in its risk matrix |
|---|---|---|---|
| Oracle Critical Patch Update January 2023 ↗ | CPU | 2023-Q1 | Oracle Fusion Middleware / WebCenter Sites (Apache PDFBox) (12.2.1.4.0) |
| Oracle Critical Patch Update July 2022 ↗ | CPU | 2022-Q3 | Oracle Siebel CRM / Smart Answer (Apache PDFBox) (22.6 and prior) |
| Oracle Critical Patch Update April 2022 ↗ | CPU | 2022-Q2 | Oracle Financial Services Applications / Infrastructure (Apache PDFBox) (14.0-14.3, 14.5) Oracle Financial Services Applications / Infrastructure (Apache PDFBox) (14.5) Oracle Financial Services Applications / Infrastructure (Apache PDFBox) (14.5) Oracle Fusion Middleware / Security Framework (Apache PDFbox) (12.2.1.3.0, 12.2.1.4.0) Oracle Hyperion / Installation and Configuration (Apache PDFbox) (Prior to 11.2.8.0) Oracle Retail Applications / Xstore Office (Apache PDFbox) (16.0.6, 17.0.4, 18.0.3, 19.0.2, 20.0.1) |
| Oracle Critical Patch Update January 2022 ↗ | CPU | 2022-Q1 | Oracle Retail Applications / Security (Apache PDFbox) (18.1) |
| Oracle Critical Patch Update October 2021 ↗ | CPU | 2021-Q4 | Oracle Communications Applications / Monitoring (Apache PDFBox) (8.1) Oracle Financial Services Applications / Collateral Review (Apache PDFBox) (14.2, 14.3, 14.5) Oracle Financial Services Applications / Lending (Apache PDFBox) (14.2, 14.3, 14.5) Oracle Financial Services Applications / Security (Apache PDFBox) (14.2, 14.3, 14.5) |
Oracle components and versions
| Family | Component | Versions, as Oracle lists them | Read as |
|---|---|---|---|
| Oracle Communications Applications | Monitoring (Apache PDFBox) | 8.1 | 8.1 |
| Oracle Financial Services Applications | Collateral Review (Apache PDFBox) | 14.2, 14.3, 14.5 | 14.2 · 14.3 · 14.5 |
| Oracle Financial Services Applications | Infrastructure (Apache PDFBox) | 14.0-14.3, 14.5 | 14.5 |
| Oracle Financial Services Applications | Lending (Apache PDFBox) | 14.2, 14.3, 14.5 | 14.2 · 14.3 · 14.5 |
| Oracle Financial Services Applications | Security (Apache PDFBox) | 14.2, 14.3, 14.5 | 14.2 · 14.3 · 14.5 |
| Oracle Fusion Middleware | Security Framework (Apache PDFbox) | 12.2.1.3.0, 12.2.1.4.0 | 12.2.1.3.0 · 12.2.1.4.0 |
| Oracle Fusion Middleware | WebCenter Sites (Apache PDFBox) | 12.2.1.4.0 | 12.2.1.4.0 |
| Oracle Hyperion | Installation and Configuration (Apache PDFbox) | Prior to 11.2.8.0 | |
| Oracle Retail Applications | Security (Apache PDFbox) | 18.1 | 18.1 |
| Oracle Retail Applications | Xstore Office (Apache PDFbox) | 16.0.6, 17.0.4, 18.0.3, 19.0.2, 20.0.1 | 16.0.6 · 17.0.4 · 18.0.3 · 19.0.2 · 20.0.1 |
| Oracle Siebel CRM | Smart Answer (Apache PDFBox) | 22.6 and prior |
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.pdfbox:pdfbox |
2.0.0 | 2.0.24 |
unbounded |
org.apache.pdfbox:pdfbox-parent |
2.0.0 | 2.0.24 |
unbounded |
Products and versions
9 products, 16 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | apache | pdfbox | generic | ≥ 2.0.0 and ≤ 2.0.23 |
| nvd | fedoraproject | fedora | generic | 33 · 34 |
| nvd | oracle | banking corporate lending process management | generic | 14.2.0 · 14.3.0 · 14.5.0 |
| nvd | oracle | banking credit facilities process management | generic | 14.2.0 · 14.3.0 · 14.5.0 |
| nvd | oracle | banking supply chain finance | generic | 14.2.0 · 14.3.0 · 14.5.0 |
| nvd | oracle | communications messaging server | generic | 8.1 |
| nvd | oracle | retail customer management and segmentation foundation | generic | 18.1 |
| osv | org.apache.pdfbox | pdfbox | generic | ≥ 2.0.0 and < 2.0.24 |
| osv | org.apache.pdfbox | pdfbox-parent | generic | ≥ 2.0.0 and < 2.0.24 |
References
Timeline
Timeline
| Published | 2021-06-12 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |