CVE-2026-23907Apache PDFBox Examples: Path Traversal in PDFBox ExtractEmbeddedFiles Example Code
Updated under an hour ago ()
Does this affect you?
It affects Apache Software Foundation Apache PDFBox Examples and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 5.3 MEDIUM (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weakness (CWE)
- CWE-22
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- apache
- NVD analysis
- Analyzed
- Record last updated
- Mar 10, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Apache Software Foundation Apache PDFBox Examples apache_software_foundation:apache_pdfbox_examples (from the name) | from 2.0.24 through 2.0.35; from 3.0.0 through 3.0.6 | CNA record |
apache pdfbox-examples apache:pdfbox-examples | from 2.0.24 through 2.0.36; from 3.0.0 through 3.0.7 | NVD |
References
- https://github.com/JoakimBulow/not-applicable
- https://lists.apache.org/thread/gyfq5tcrxfv7rx0z2yyx4hb3h53ndffwvendor-advisory, mailing-list
- http://www.openwall.com/lists/oss-security/2026/03/10/1mailing-list, third-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.