ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-23907

No fix available CVE-2026-23907

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:16.04:LTSlibpdfbox-java
All versions, no fix listed
Ubuntu:18.04:LTSlibpdfbox-java
All versions, no fix listed
Ubuntu:18.04:LTSlibpdfbox2-java
All versions, no fix listed
Ubuntu:20.04:LTSlibpdfbox-java
All versions, no fix listed
Ubuntu:20.04:LTSlibpdfbox2-java
All versions, no fix listed
Ubuntu:22.04:LTSlibpdfbox-java
All versions, no fix listed
Ubuntu:22.04:LTSlibpdfbox2-java
All versions, no fix listed
Ubuntu:24.04:LTSlibpdfbox-java
All versions, no fix listed
Ubuntu:24.04:LTSlibpdfbox2-java
All versions, no fix listed
Ubuntu:25.10libpdfbox-java
All versions, no fix listed
Ubuntu:25.10libpdfbox2-java
All versions, no fix listed
Ubuntu:26.10libpdfbox-java
All versions, no fix listed
Ubuntu:26.10libpdfbox2-java
All versions, no fix listed
Ubuntu:26.04:LTSlibpdfbox-java
All versions, no fix listed
Ubuntu:26.04:LTSlibpdfbox2-java
All versions, no fix listed

References