CVE-2026-23907: Apache PDFBox Examples: Path Traversal in PDFBox ExtractEmbeddedFiles Example Code
Vulnerability summary
CVE-2026-23907 is a medium (CVSS 5.3) vulnerability in apache software foundation apache pdfbox examples. EPSS estimates a 0.92% chance of exploitation in the next 30 days, higher than 61.5% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 10-03-2026PublishedVulnerability first disclosed.
- 10-03-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · MavenEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.92%
Chance of exploitation in the next 30 days
Percentile
62%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.90% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- libpdfbox-javaAll versions (No fix recorded)
- libpdfbox2-javaAll versions (No fix recorded) | < 2.0.37-
Ubuntu2 products
- libpdfbox-javaAll versions (No fix recorded)
- libpdfbox2-javaAll versions (No fix recorded)
Apache1 product
- pdfbox-examples≥ 2.0.24, ≤ 2.0.36 | ≥ 3.0.0, ≤ 3.0.7
Apache software foundation1 product
- apache pdfbox examples≥ 2.0.24, ≤ 2.0.35 | ≥ 3.0.0, ≤ 3.0.6
Org.apache.pdfbox1 product
- pdfbox-examples≥ 2.0.24, < 3.0.7
5 vendors · 7 products
References
9 links- github.com/JoakimBulow/Not Applicable
- github.com/apache/pdfboxPACKAGE