CVEfocus › CVE database › CVE-2021-27807

CVE-2021-27807A carefully crafted PDF file can trigger an infinite loop while loading the file

CVSS 5.5 MediumEPSS 3.0% (higher than 88% of CVEs)Published 2021-03-19Updated 2025-02-13Assigner: apache

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.

CWE-834

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
2Fix pending
6Under investigation
8Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libpdfbox-javaFix pendingUBUNTU-CVE-2021-27807
Ubuntu 26.10libpdfbox2-javaFix pendingUBUNTU-CVE-2021-27807
Ubuntu 26.04libpdfbox-javaUnder investigationUBUNTU-CVE-2021-27807
Ubuntu 26.04libpdfbox2-javaUnder investigationUBUNTU-CVE-2021-27807
Ubuntu 25.10libpdfbox-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-27807
Ubuntu 25.10libpdfbox2-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-27807
Ubuntu 24.04libpdfbox-javaUnder investigationUBUNTU-CVE-2021-27807
Ubuntu 24.04libpdfbox2-javaUnder investigationUBUNTU-CVE-2021-27807
Ubuntu 22.04libpdfbox-javaUnder investigationUBUNTU-CVE-2021-27807
Ubuntu 22.04libpdfbox2-javaUnder investigationUBUNTU-CVE-2021-27807
Ubuntu 20.04libpdfbox-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-27807
Ubuntu 20.04libpdfbox2-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-27807
Ubuntu 18.04libpdfbox-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-27807
Ubuntu 18.04libpdfbox2-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-27807
Ubuntu 16.04libpdfbox-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-27807
Ubuntu 14.04libpdfbox-javaWill not fix
Ubuntu decided not to fix this in this release
Debian 14libpdfbox2-javaFixed2.0.23-1DEBIAN-CVE-2021-27807
Debian 13libpdfbox2-javaFixed2.0.23-1DEBIAN-CVE-2021-27807
Debian 12libpdfbox2-javaFixed2.0.23-1DEBIAN-CVE-2021-27807
Maven libraryorg.apache.pdfbox:pdfboxFixed2.0.23GHSA-2h3j-m7gr-25xj

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.