CVEfocus › CVE database › CVE-2026-33929

CVE-2026-33929Apache PDFBox Examples: Path Traversal in PDFBox ExtractEmbeddedFiles Example Code

CVSS 4.3 MediumEPSS 1.0% (higher than 62% of CVEs)Published 2026-04-14Updated 2026-04-14Assigner: apache

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache PDFBox Examples. This issue affects the ExtractEmbeddedFiles example in Apache PDFBox: from 2.0.24 through 2.0.36, from 3.0.0 through 3.0.7. Users are recommended to update to version 2.0.37 or 3.0.8 once available. Until then, they should apply the fix provided in GitHub PR 427. The ExtractEmbeddedFiles example contained a path traversal vulnerability (CWE-22) mentioned in CVE-2026-23907. However the change in the releases 2.0.36 and 3.0.7 is flawed because it doesn't consider the file path separator. Because of that, a user having writing rights on /home/ABC could be victim to a malicious PDF resulting in a write attempt to any path starting with /home/ABC, e.g. "/home/ABCDEF". Users who have copied this example into their production code should apply the mentioned change. The example has been changed accordingly and is available in the project repository.

CWE-22

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

2Fixed
7Fix pending
6Under investigation
7Will 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-2026-33929
Ubuntu 26.10libpdfbox2-javaFix pendingUBUNTU-CVE-2026-33929
Ubuntu 26.04libpdfbox-javaUnder investigationUBUNTU-CVE-2026-33929
Ubuntu 26.04libpdfbox2-javaUnder investigationUBUNTU-CVE-2026-33929
Ubuntu 25.10libpdfbox-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-33929
Ubuntu 25.10libpdfbox2-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-33929
Ubuntu 24.04libpdfbox-javaUnder investigationUBUNTU-CVE-2026-33929
Ubuntu 24.04libpdfbox2-javaUnder investigationUBUNTU-CVE-2026-33929
Ubuntu 22.04libpdfbox-javaUnder investigationUBUNTU-CVE-2026-33929
Ubuntu 22.04libpdfbox2-javaUnder investigationUBUNTU-CVE-2026-33929
Ubuntu 20.04libpdfbox-javaFix pendingUBUNTU-CVE-2026-33929
Ubuntu 20.04libpdfbox2-javaFix pendingUBUNTU-CVE-2026-33929
Ubuntu 18.04libpdfbox-javaFix pendingUBUNTU-CVE-2026-33929
Ubuntu 18.04libpdfbox2-javaFix pendingUBUNTU-CVE-2026-33929
Ubuntu 16.04libpdfbox-javaFix pendingUBUNTU-CVE-2026-33929
Debian 14libpdfbox-javaWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-33929
Debian 14libpdfbox2-javaFixed2.0.37-1DEBIAN-CVE-2026-33929
Debian 13libpdfbox-javaWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-33929
Debian 13libpdfbox2-javaWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-33929
Debian 12libpdfbox-javaWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-33929
Debian 12libpdfbox2-javaWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-33929
Maven libraryorg.apache.pdfbox:pdfbox-examplesFixed2.0.37GHSA-gcj8-76p4-g2fq

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.