Skip to content
Fencer Intel
medium 5.3

CVE-2026-23907 json

Apache PDFBox Examples: Path Traversal in PDFBox ExtractEmbeddedFiles Example Code

published 7mo ago modified last mo. also EUVD-2026-10481 , GHSA-jjwr-xmw6-gf78

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 62%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.apache.pdfbox:pdfbox-examples 3.0.7

Is CVE-2026-23907 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-23907 updated cvss 6.5

org.apache.pdfbox:pdfbox-examples: Apache PDFBox Example: Path Traversal via specially crafted filenames allows arbitrary file write

  • Red Hat AMQ Broker 7 pdfbox Red Hat build of Apache Camel for Spring Boot 4 pdfbox, pdfbox-io, pdfbox-tools Red Hat Data Grid 8 pdfbox Red Hat Fuse 7 pdfbox, pdfbox-tools Red Hat JBoss Enterprise Application Platform 7 pdfbox, pdfbox-tools Red Hat JBoss Enterprise Application Platform 8 pdfbox, pdfbox-io, pdfbox-tools
    +3 more products
    Red Hat JBoss Enterprise Application Platform Expansion Pack pdfbox, pdfbox-io, pdfbox-tools Red Hat streams for Apache Kafka 2 pdfbox Red Hat streams for Apache Kafka 3 pdfbox
    affected: workaround, no fix available “Fix deferred”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
7mo ago

Exploit prediction

0.99% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven org.apache.pdfbox:pdfbox-examples
>=2.0.24, <3.0.7
3.0.7

Affected products

  • Apache Software Foundation Apache PDFBox Examples

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.