Back
CVE-2021-27906A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading the file
- 5.5MediumCVSS base score
- 3.3%Exploitation in 30 daysEPSS · top 11% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading the file. This issue affects Apache PDFBox version 2.0.22 and prior 2.0.x versions.
Timeline
ID reserved
By apache
- 17 days later
· 17 days later
Published
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 3.3% · top 11% of all CVEs (17 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
Apache Software Foundation · Apache PDFBox
- affected Apache PDFBox – ≤ 2.0.22
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.pdfbox:pdfboxGHSA-6vqp-h455-42mr (opens in a new tab)
References
References21
- https://lists.apache.org/thread.html/rf35026148ccc0e1af133501c0d003d052883fcc65107b3ff5d3b61cd%40%3Cusers.pdfbox.apache.org%3E (opens in a new tab)x_refsource_MISCmailing-listx_refsource_MLISTx_transferred
- [oss-security] 20210319 CVE-2021-27906: Apache PDFBox: A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading the file (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [announce] 20210320 CVE-2021-27906: Apache PDFBox: a carefully crafted PDF file can trigger an OutOfMemory-Exception while loading the file (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [pdfbox-users] 20210320 CVE-2021-27906: Apache PDFBox: a carefully crafted PDF file can trigger an OutOfMemory-Exception while loading the file (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ofbiz-commits] 20210321 [ofbiz-framework] branch trunk updated: Fixed: Upgrade Apache PDFBox to 2.0.23 because of CVE-2021-27807 and CVE-2021-27906 (OFBIZ-12205) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ofbiz-notifications] 20210321 [jira] [Created] (OFBIZ-12205) Upgrade Apache PDFBox to 2.0.23 because of CVE-2021-27807 and CVE-2021-27906 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ofbiz-notifications] 20210321 [jira] [Commented] (OFBIZ-12205) Upgrade Apache PDFBox to 2.0.23 because of CVE-2021-27807 and CVE-2021-27906 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ofbiz-notifications] 20210321 [jira] [Updated] (OFBIZ-12205) Upgrade Apache PDFBox to 2.0.23 because of CVE-2021-27807 and CVE-2021-27906 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ofbiz-commits] 20210321 [ofbiz-framework] branch release17.12 updated: Fixed: Upgrade Apache PDFBox to 2.0.23 because of CVE-2021-27807 and CVE-2021-27906 (OFBIZ-12205) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ofbiz-notifications] 20210321 [jira] [Closed] (OFBIZ-12205) Upgrade Apache PDFBox to 2.0.23 because of CVE-2021-27807 and CVE-2021-27906 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ofbiz-commits] 20210321 [ofbiz-framework] branch release18.12 updated: Fixed: Upgrade Apache PDFBox to 2.0.23 because of CVE-2021-27807 and CVE-2021-27906 (OFBIZ-12205) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [pdfbox-dev] 20210322 OSS-Fuzz integration (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- FEDORA-2021-93469e0030 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2021-8b17a2725e (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2021-dc83ae690a (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- [ofbiz-notifications] 20210405 [jira] [Updated] (OFBIZ-12205) Upgrade Apache PDFBox to 2.0.23 because of CVE-2021-27807 and CVE-2021-27906 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [james-notifications] 20210501 [GitHub] [james-project] chibenwa opened a new pull request #414: [UPGRADE] Adopt Apache Tika 1.26 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [pdfbox-dev] 20210518 CVE's (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com//security-alerts/cpujul2021.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpuoct2021.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpuapr2022.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-0975 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-6vqp-h455-42mr (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-27906)Record last updated .