Skip to content
OpenAdvisories
Medium · 5.5 CVE-2021-27906 EUVD-2021-0975GHSA-6vqp-h455-42mr

A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading the file

Published Mar 19, 2021 · Updated Feb 13, 2025 · 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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache PDFBox Apache PDFBox – ≤ 2.0.22 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libpdfbox2-java 2.0.23-1 —
Debian 13 libpdfbox2-java 2.0.23-1 —
Debian 12 libpdfbox2-java 2.0.23-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libpdfbox-java +1 No fix yet —
Ubuntu 26.04 LTS libpdfbox-java +1 No fix yet —
Ubuntu 25.10 libpdfbox-java +1 No fix yet —
Ubuntu 24.04 LTS libpdfbox-java +1 No fix yet —
Ubuntu 22.04 LTS libpdfbox-java +1 No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libpdfbox-java +1 No fix yet —
Ubuntu 18.04 LTS libpdfbox-java +1 No fix yet —
Ubuntu 16.04 LTS libpdfbox-java No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.pdfbox:pdfbox >= 2.0.0, < 2.0.23 2.0.23 GHSA-6vqp-h455-42mr

References