CVE-2026-23907Apache Pdfbox-examples
Medium 5.3 No auth needed
Follow: this CVE · Apache · Apache Pdfbox-examples We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Mar 10, 2026
- Updated
- Sep 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Pdfbox-examples.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.pdfbox:pdfbox-examples |
≥ 2.0.24 < 3.0.7 |
3.0.7 |
— |
Per OSV / GitHub Advisories (GHSA-jjwr-xmw6-gf78). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | pdfbox-examples | ≥ 2.0.24 ≤ 2.0.36 |
| apache | pdfbox-examples | ≥ 3.0.0 ≤ 3.0.7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Not Applicable
- lists.apache.org Mailing List Vendor Advisory
- www.openwall.com Mailing List Third Party Advisory