5.3Medium

Apache Pdfbox-Examples

CVE-2026-23907

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 this means for your business

  • It affects Apache Pdfbox-Examples. It matters if your company, or a supplier that handles your data, runs it.
  • An attacker can use it remotely, over a network, without a login, and without anyone at your company clicking anything.

What to do

  1. 1Check whether your company or your suppliers run Apache Pdfbox-Examples, and which version. The affected versions are listed further down this page.
  2. 2If you do, apply the vendor's fix. A patch or vendor advisory has been published.

Not sure if your company is exposed?

Fastnexa’s certified penetration testers can check whether attackers could use this flaw, or others like it, against your websites, apps and network. The full test is free for our first 10 founding clients until 31 December 2026.

Scoring

CVSS
5.3 (v3.1)
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-22
Assigned by
security@apache.org

Dates

Published
2026-03-10
Last modified
2026-09-17
Sources
NVD

Affected products

  • Apache Pdfbox-Examples2.0.24 - 2.0.36, 3.0.0 - 3.0.7

As listed in the NVD configuration data. Not a statement about your estate.

References