Advisory

UBUNTU-CVE-2026-23907

Also known as: CVE-2026-23907

Summary

The record has no summary.

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.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Dates

Published
2026-03-10 18:18 UTC
Modified
2026-10-17 12:59 UTC

Affected packages and fixes

15 affected packages; affected: introduced 0
PackageSystemFix
libpdfbox-javaDebian packages (deb) · Ubuntu 16.04No fixed version is listed.
libpdfbox-javaDebian packages (deb) · Ubuntu 18.04No fixed version is listed.
libpdfbox2-javaDebian packages (deb) · Ubuntu 18.04No fixed version is listed.
libpdfbox-javaDebian packages (deb) · Ubuntu 20.04No fixed version is listed.
libpdfbox2-javaDebian packages (deb) · Ubuntu 20.04No fixed version is listed.
libpdfbox-javaDebian packages (deb) · Ubuntu 22.04No fixed version is listed.
libpdfbox2-javaDebian packages (deb) · Ubuntu 22.04No fixed version is listed.
libpdfbox-javaDebian packages (deb) · Ubuntu 24.04No fixed version is listed.
libpdfbox2-javaDebian packages (deb) · Ubuntu 24.04No fixed version is listed.
libpdfbox-javaDebian packages (deb) · Ubuntu 25.10No fixed version is listed.
libpdfbox2-javaDebian packages (deb) · Ubuntu 25.10No fixed version is listed.
libpdfbox-javaDebian packages (deb) · Ubuntu 26.10No fixed version is listed.
libpdfbox2-javaDebian packages (deb) · Ubuntu 26.10No fixed version is listed.
libpdfbox-javaDebian packages (deb) · Ubuntu 26.04No fixed version is listed.
libpdfbox2-javaDebian packages (deb) · Ubuntu 26.04No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences