cve.bz

CVE-2021-27807 Excessive Iteration

5.5 mediumEPSS 3.0%Fix available

Medium (5.5). EPSS 3.0% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.pdfbox:pdfbox 2.0.23.

On this page
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.

Severity

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
EPSS
3.0% (unchanged from 3.0% a week ago; 3.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-834 Excessive Iteration
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-27807 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-27807?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-27807?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-27807 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache PDFBoxfrom Apache PDFBox through 2.0.22

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2h3j-m7gr-25xjMavenorg.apache.pdfbox:pdfbox>=2.0.0 <2.0.232.0.23

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libpdfbox2-java2.0.23-1DEBIAN-CVE-2021-27807
Ubuntu16.04:LTSlibpdfbox-javano fix listedUBUNTU-CVE-2021-27807
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 morelibpdfbox-java, libpdfbox2-javano fix listedUBUNTU-CVE-2021-27807

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Fuse 7.9pdfboxFixed 2021-08-11RHSA-2021:3140
Red Hat IntegrationFixed 2021-08-18RHSA-2021:3205
Red Hat BPM Suite 6pdfboxOut of support scope
Red Hat Integration Camel K 1pdfboxAffected
Red Hat Integration Camel Quarkus 1pdfboxNot affected
Red Hat JBoss BRMS 6pdfboxOut of support scope
Red Hat JBoss Data Virtualization 6pdfboxOut of support scope
Red Hat JBoss Fuse 6pdfboxOut of support scope
Red Hat JBoss Fuse Service Works 6pdfboxOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-27807.

References

Check your stackJSON