CVE-2026-33929Apache PDFBox Examples: Path Traversal in PDFBox ExtractEmbeddedFiles Example Code
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libpdfbox-java | Fix pending | UBUNTU-CVE-2026-33929 | |
| Ubuntu 26.10 | libpdfbox2-java | Fix pending | UBUNTU-CVE-2026-33929 | |
| Ubuntu 26.04 | libpdfbox-java | Under investigation | UBUNTU-CVE-2026-33929 | |
| Ubuntu 26.04 | libpdfbox2-java | Under investigation | UBUNTU-CVE-2026-33929 | |
| Ubuntu 25.10 | libpdfbox-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-33929 | |
| Ubuntu 25.10 | libpdfbox2-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-33929 | |
| Ubuntu 24.04 | libpdfbox-java | Under investigation | UBUNTU-CVE-2026-33929 | |
| Ubuntu 24.04 | libpdfbox2-java | Under investigation | UBUNTU-CVE-2026-33929 | |
| Ubuntu 22.04 | libpdfbox-java | Under investigation | UBUNTU-CVE-2026-33929 | |
| Ubuntu 22.04 | libpdfbox2-java | Under investigation | UBUNTU-CVE-2026-33929 | |
| Ubuntu 20.04 | libpdfbox-java | Fix pending | UBUNTU-CVE-2026-33929 | |
| Ubuntu 20.04 | libpdfbox2-java | Fix pending | UBUNTU-CVE-2026-33929 | |
| Ubuntu 18.04 | libpdfbox-java | Fix pending | UBUNTU-CVE-2026-33929 | |
| Ubuntu 18.04 | libpdfbox2-java | Fix pending | UBUNTU-CVE-2026-33929 | |
| Ubuntu 16.04 | libpdfbox-java | Fix pending | UBUNTU-CVE-2026-33929 | |
| Debian 14 | libpdfbox-java | Will 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 14 | libpdfbox2-java | Fixed | 2.0.37-1 | DEBIAN-CVE-2026-33929 |
| Debian 13 | libpdfbox-java | Will 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 13 | libpdfbox2-java | Will 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 12 | libpdfbox-java | Will 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 12 | libpdfbox2-java | Will 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 library | org.apache.pdfbox:pdfbox-examples | Fixed | 2.0.37 | GHSA-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.
- Apache Software Foundation Apache PDFBox Examples: affected: 2.0.24 to 2.0.36, 3.0.0 to 3.0.7
Vendor advisories:
- https://github.com/apache/pdfbox/pull/427/changes (patch)
- https://lists.apache.org/thread/j8l07tgzy9dm8d8n0f3c45h7zg7t3ld6 (vendor-advisory)
References
- https://github.com/apache/pdfbox/pull/427/changes
- https://lists.apache.org/thread/op3lyx1ngzy4qycn06l6hljyf28ff0zs
- https://lists.apache.org/thread/j8l07tgzy9dm8d8n0f3c45h7zg7t3ld6
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.