CVEfocus › CVE database › CVE-2026-23907

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

CVSS 5.3 MediumEPSS 1.0% (higher than 63% of CVEs)Published 2026-03-10Updated 2026-03-10Assigner: apache

This issue affects the ExtractEmbeddedFiles example in Apache PDFBox: from 2.0.24 through 2.0.35, from 3.0.0 through 3.0.6. The ExtractEmbeddedFiles example contains a path traversal vulnerability (CWE-22) because the filename that is obtained from PDComplexFileSpecification.getFilename() is appended to the extraction path. Users who have copied this example into their production code should review it to ensure that the extraction path is acceptable. The example has been changed accordingly, now the initial path and the extraction paths are converted into canonical paths and it is verified that extraction path contains the initial path. The documentation has also been adjusted.

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-23907
Ubuntu 26.10libpdfbox2-javaFix pendingUBUNTU-CVE-2026-23907
Ubuntu 26.04libpdfbox-javaUnder investigationUBUNTU-CVE-2026-23907
Ubuntu 26.04libpdfbox2-javaUnder investigationUBUNTU-CVE-2026-23907
Ubuntu 25.10libpdfbox-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-23907
Ubuntu 25.10libpdfbox2-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-23907
Ubuntu 24.04libpdfbox-javaUnder investigationUBUNTU-CVE-2026-23907
Ubuntu 24.04libpdfbox2-javaUnder investigationUBUNTU-CVE-2026-23907
Ubuntu 22.04libpdfbox-javaUnder investigationUBUNTU-CVE-2026-23907
Ubuntu 22.04libpdfbox2-javaUnder investigationUBUNTU-CVE-2026-23907
Ubuntu 20.04libpdfbox-javaFix pendingUBUNTU-CVE-2026-23907
Ubuntu 20.04libpdfbox2-javaFix pendingUBUNTU-CVE-2026-23907
Ubuntu 18.04libpdfbox-javaFix pendingUBUNTU-CVE-2026-23907
Ubuntu 18.04libpdfbox2-javaFix pendingUBUNTU-CVE-2026-23907
Ubuntu 16.04libpdfbox-javaFix pendingUBUNTU-CVE-2026-23907
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-23907
Debian 14libpdfbox2-javaFixed2.0.37-DEBIAN-CVE-2026-23907
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-23907
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-23907
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-23907
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-23907
Maven libraryorg.apache.pdfbox:pdfbox-examplesFixed3.0.7GHSA-jjwr-xmw6-gf78

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.