# CVE-2021-27906: A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading the file

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.34%, higher than 88% of CVEs (2026-12-01)
- Published: 2021-03-19T16:05:21.000Z
- Modified: 2026-06-17T03:45:35.387Z
- Also known as: GHSA-6vqp-h455-42mr
- Weaknesses: CWE-789
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache PDFBox: from Apache PDFBox up to 2.0.22
- org.apache.pdfbox:pdfbox (Maven): from 2.0.0 before 2.0.23
- apache pdfbox: from 2.0.0 up to 2.0.22
- fedoraproject fedora: 32; 33; 34
- oracle banking_corporate_lending_process_management: 14.2.0; 14.3.0; 14.5.0
- oracle banking_credit_facilities_process_management: 14.2.0; 14.3.0; 14.5.0
- oracle banking_supply_chain_finance: 14.2.0; 14.3.0; 14.5.0
- oracle banking_trade_finance_process_management: 14.2.0; 14.3.0; 14.5.0
- oracle banking_treasury_management: 14.5
- oracle banking_virtual_account_management: 14.2.0; 14.3.0; 14.5.0
- oracle communications_session_report_manager: from 8.0.0 up to 8.2.4.0
- oracle flexcube_universal_banking: from 14.0.0 up to 14.3.0; 14.5.0
- oracle hyperion_financial_reporting: 11.1.2.4; 11.2.6.0
- oracle hyperion_infrastructure_technology: before 11.2.8.0
- oracle outside_in_technology: 8.5.5
- oracle peoplesoft_enterprise_peopletools: 8.58; 8.59
- oracle primavera_unifier: from 17.7 up to 17.12; 18.8; 19.12; 20.12
- oracle retail_customer_management_and_segmentation_foundation: 19.0
- oracle retail_xstore_point_of_service: 16.0.6; 17.0.4; 18.0.3; 19.0.2; 20.0.1
- oracle webcenter_sites: 12.2.1.3.0; 12.2.1.4.0
- oracle communications_messaging_server: 8.1

## Every score

- GitHub: 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: 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: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://lists.apache.org/thread.html/rf35026148ccc0e1af133501c0d003d052883fcc65107b3ff5d3b61cd%40%3Cusers.pdfbox.apache.org%3E> (mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2021/03/19/10> (mailing-list, vendor-advisory, web)
- <https://lists.apache.org/thread.html/rdf78aef4793362e778e21e34328b0456e302bde4b7e74f229df0ee04%40%3Cannounce.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r64982b768c8a2220b07aaf813bd099a9863de0d13eb212fd4efe208f%40%3Cusers.pdfbox.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r1d268642f8b52456ee8f876b888b8ed7a9e9568c7770789f3ded7f9e%40%3Ccommits.ofbiz.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r7ee634c21816c69ce829d0c41f35afa2a53a99bdd3c7cce8644fdc0e%40%3Cnotifications.ofbiz.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/re1e35881482e07dc2be6058d9b44483457f36133cac67956686ad9b9%40%3Cnotifications.ofbiz.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/rc69140d894c6a9c67a8097a25656cce59b46a5620c354ceba10543c3%40%3Cnotifications.ofbiz.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r9ffe179385637b0b5cbdabd0246118005b4b8232909d2d14cd68ccd3%40%3Ccommits.ofbiz.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/raa35746227f3f8d50fff1db9899524423a718f6f35cd39bd4769fa6c%40%3Cnotifications.ofbiz.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r5c8e2125d18af184c80f7a986fbe47eaf0d30457cd450133adc235ac%40%3Ccommits.ofbiz.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r1218e60c32829f76943ecaca79237120c2ec1ab266459d711a578b50%40%3Cdev.pdfbox.apache.org%3E> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6PT72QOFDXLJ7PLTN66EMG5EHPTE7TFZ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6KDA2U4KL2N3XT3PM4ZJEBBA6JJIH2G4/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2AVLKAHFMPH72TTP25INPZPGX5FODK3H/> (vendor-advisory)
- <https://lists.apache.org/thread.html/r6e067a6d83ccb6892d0ff867bd216704f21fb0b6a854dea34be04f12%40%3Cnotifications.ofbiz.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r4cbc3f6981cd0a1a482531df9d44e4c42a7f63342a7ba78b7bff8a1b%40%3Cnotifications.james.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r54594251369e14c185da9662a5340a52afbbdf75d61c9c3a69c8f2e8%40%3Cdev.pdfbox.apache.org%3E> (mailing-list)
- <https://www.oracle.com//security-alerts/cpujul2021.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-27906> (advisory)
- <https://github.com/apache/pdfbox/commit/8c47be1011c11dc47300faecffd8ab32fba3646f> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6PT72QOFDXLJ7PLTN66EMG5EHPTE7TFZ> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6KDA2U4KL2N3XT3PM4ZJEBBA6JJIH2G4> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2AVLKAHFMPH72TTP25INPZPGX5FODK3H> (web)
- <https://lists.apache.org/thread.html/rf35026148ccc0e1af133501c0d003d052883fcc65107b3ff5d3b61cd@%3Cusers.pdfbox.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/re1e35881482e07dc2be6058d9b44483457f36133cac67956686ad9b9@%3Cnotifications.ofbiz.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rdf78aef4793362e778e21e34328b0456e302bde4b7e74f229df0ee04@%3Cannounce.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rc69140d894c6a9c67a8097a25656cce59b46a5620c354ceba10543c3@%3Cnotifications.ofbiz.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/raa35746227f3f8d50fff1db9899524423a718f6f35cd39bd4769fa6c@%3Cnotifications.ofbiz.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r9ffe179385637b0b5cbdabd0246118005b4b8232909d2d14cd68ccd3@%3Ccommits.ofbiz.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r7ee634c21816c69ce829d0c41f35afa2a53a99bdd3c7cce8644fdc0e@%3Cnotifications.ofbiz.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r6e067a6d83ccb6892d0ff867bd216704f21fb0b6a854dea34be04f12@%3Cnotifications.ofbiz.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r64982b768c8a2220b07aaf813bd099a9863de0d13eb212fd4efe208f@%3Cusers.pdfbox.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r5c8e2125d18af184c80f7a986fbe47eaf0d30457cd450133adc235ac@%3Ccommits.ofbiz.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r54594251369e14c185da9662a5340a52afbbdf75d61c9c3a69c8f2e8@%3Cdev.pdfbox.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r4cbc3f6981cd0a1a482531df9d44e4c42a7f63342a7ba78b7bff8a1b@%3Cnotifications.james.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r1d268642f8b52456ee8f876b888b8ed7a9e9568c7770789f3ded7f9e@%3Ccommits.ofbiz.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r1218e60c32829f76943ecaca79237120c2ec1ab266459d711a578b50@%3Cdev.pdfbox.apache.org%3E> (web)
- <https://issues.apache.org/jira/browse/PDFBOX-5112> (web)
- <https://github.com/apache/pdfbox> (package)

## Sources

- CVE List: [CVE-2021-27906](https://www.cve.org/CVERecord?id=CVE-2021-27906), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-6vqp-h455-42mr](https://github.com/advisories/GHSA-6vqp-h455-42mr), CC-BY-4.0, modified 2024-03-15
- NVD: [CVE-2021-27906](https://nvd.nist.gov/vuln/detail/CVE-2021-27906), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-27906 · Whole record: https://cve.day/CVE-2021-27906.json · Rebuilt by cve.day 2026-11-25T22:58:00.347Z
