VDB
CVE-2021-31811
CVE-2021-31811
PUBLISHED
CVSS 5.5 MEDIUM
Uncontrolled memory consumption
Reported by apache · Published June 12, 2021
pdfbox is fixed in 2.0.24 and 2.0.23 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.pdfbox:pdfbox | Maven Central | 2.0.24, 2.0.23 |
| org.apache.pdfbox:pdfbox-parent | Maven Central | 2.0.24 |
| Apache PDFBox | Apache Software Foundation | 2.0.24 |
| flexcube_universal_banking | oracle | 14.3.0 |
| pdfbox | apache | 2.0.23 |
| primavera_unifier | oracle | 17.12 |
Risk scores
CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache PDFBox | Apache PDFBox |
| Apache Software Foundation | Apache PDFBox | * |
| Maven | org.apache.pdfbox:pdfbox | 2.0.0 |
| Maven | org.apache.pdfbox:pdfbox-parent | 2.0.0 |
Timeline
- Jun 12, 2021 CVE Published
- Jun 12, 2021 PoC Published
- Jun 13, 2021 EPSS Score (30 in total, the first dated here)
- Nov 7, 2023 CVE Updated
- Mar 18, 2026 Security Advisory
- Aug 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-31811
vulnetix vdb fixes CVE-2021-31811
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-31811/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- [announce] 20210612 CVE-2021-31811: Apache PDFBox: A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading a tiny file mailing-listx_refsource_MLIST
- [oss-security] 20210612 CVE-2021-31811: Apache PDFBox: A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading a tiny file mailing-listx_refsource_MLIST
- [ofbiz-notifications] 20210613 [jira] [Updated] (OFBIZ-12256) Update PDFBox to 2.0.24 because of CVE-2021-31811 & CVE-2021-31812 mailing-listx_refsource_MLIST
- [ofbiz-notifications] 20210613 [jira] [Closed] (OFBIZ-12256) Update PDFBox to 2.0.24 because of CVE-2021-31811 & CVE-2021-31812 mailing-listx_refsource_MLIST
- [ofbiz-commits] 20210613 [ofbiz-framework] branch release17.12 updated: Fixed: Update PDFBox to 2.0.24 because of CVE-2021-31811 & CVE-2021-31812 (OFBIZ-12256) mailing-listx_refsource_MLIST
- [ofbiz-commits] 20210613 [ofbiz-framework] branch trunk updated: Fixed: Update PDFBox to 2.0.24 because of CVE-2021-31811 & CVE-2021-31812 (OFBIZ-12256) mailing-listx_refsource_MLIST
- [ofbiz-notifications] 20210613 [jira] [Created] (OFBIZ-12256) Update PDFBox to 2.0.24 because of CVE-2021-31811 & CVE-2021-31812 mailing-listx_refsource_MLIST
- [ofbiz-notifications] 20210613 [jira] [Commented] (OFBIZ-12256) Update PDFBox to 2.0.24 because of CVE-2021-31811 & CVE-2021-31812 mailing-listx_refsource_MLIST
- [ofbiz-commits] 20210613 [ofbiz-framework] branch release18.12 updated: Fixed: Update PDFBox to 2.0.24 because of CVE-2021-31811 & CVE-2021-31812 (OFBIZ-12256) mailing-listx_refsource_MLIST
- FEDORA-2021-4a9ead5fff vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-3d94c14be4 vendor-advisoryx_refsource_FEDORA
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- https://github.com/advisories/GHSA-fg3j-q579-v8x4 advisory
- https://nvd.nist.gov/vuln/detail/CVE-2021-31811 advisory