CVE-2021-31811: apache software foundation apache pdfbox
CVSS: 5.5v3.1MediumModified
AliasesUBUNTU-CVE-2021-31811DEBIAN-CVE-2021-31811GHSA-fg3j-q579-v8x4
Published 12-06-2021Last modified 03-08-2024
Vulnerability summary
CVE-2021-31811 is a medium (CVSS 5.5) vulnerability in apache software foundation apache pdfbox. EPSS estimates a 3.57% chance of exploitation in the next 30 days, higher than 89.2% of scored vulnerabilities.
CVSS score
5.5/10
010
Medium · v3.1 (NVD)EPSS score
3.57%
0%100%
Low · +0.13 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 12-06-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versionsMedium 5.5Preferred score · NVD (NIST)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HSourcesAll 4 agree
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · MavenEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Medium 4.3Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:N/I:N/A:PSourcesSingle source
EPSS trend
Probability
3.57%
Chance of exploitation in the next 30 days
Percentile
89%
Versus all other CVEs
30-day change
+0.13 pp
From 3.45% on 18-09-2026
18-09-202618-10-2026
EPSS score3.57%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-789Memory Allocation with Excessive Size ValueThe 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.
- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected systems
Oracle10 products
- banking_corporate_lending_process_management14.2.0 | 14.3.0 | 14.5.0
- banking_credit_facilities_process_management14.2.0 | 14.3.0 | 14.5.0
- banking_supply_chain_finance14.2.0 | 14.3.0 | 14.5.0
- banking_trade_finance14.5
- banking_treasury_management14.5
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
- pdfbox≥ 2.0.0, ≤ 2.0.23
Apache software foundation1 product
- apache pdfbox≥ Apache PDFBox, < 2.0.24
Fedoraproject1 product
- fedoraEOL33 | 34
7 vendors · 19 products
References
33 links- www.openwall.com/lists/oss-security/2021/06/12/2Mailing ListX Refsource MLISTREPORTWEBThird Party Advisory