CVE-2021-27807: A carefully crafted PDF file can trigger an infinite loop while loading the file
Vulnerability summary
CVE-2021-27807 is a medium (CVSS 5.5) Excessive Iteration vulnerability in apache software foundation apache pdfbox. EPSS estimates a 2.99% chance of exploitation in the next 30 days, higher than 87.7% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1Timeline
- 19-03-2021PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
Description
A carefully crafted PDF file can trigger an infinite loop while loading the file. This issue affects Apache PDFBox version 2.0.22 and prior 2.0.x versions.
CVSS metrics
5 scores · 4 sources · 2 versions- 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
EPSS trend
Probability
2.99%
Chance of exploitation in the next 30 days
Percentile
88%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.99% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Oracle13 products
- banking_trade_finance_process_management14.2.0 | 14.3.0 | 14.5.0
- banking_treasury_management14.5
- banking_virtual_account_management14.2.0 | 14.3.0 | 14.5.0
- communications_messaging_server8.1
- communications_session_report_manager≥ 8.0.0, ≤ 8.2.4.0
Ubuntu2 products
- libpdfbox-javaAll versions (No fix recorded)
- libpdfbox2-javaAll versions (No fix recorded)
Apache1 product
- pdfbox≥ 2.0.0, ≤ 2.0.22
Apache software foundation1 product
- apache pdfbox≥ Apache PDFBox, ≤ 2.0.22
Debian1 product
- libpdfbox2-java< 2.0.23-1
Fedoraproject1 product
- fedoraEOL32 | 33 | 34
Org.apache.pdfbox1 product
- pdfbox≥ 2.0.0, < 2.0.23
7 vendors · 20 products
References
46 linksShow all 46 references
- github.com/apache/pdfboxPACKAGE