{"id":"CVE-2026-23907","details":"This issue affects the \nExtractEmbeddedFiles example in Apache PDFBox: from 2.0.24 through 2.0.35, from 3.0.0 through 3.0.6.\n\n\nThe ExtractEmbeddedFiles example contains a path traversal vulnerability (CWE-22) because \nthe filename that is obtained from \nPDComplexFileSpecification.getFilename() is appended to the extraction path.\n\nUsers who have copied this example into their production code should \nreview it to ensure that the extraction path is acceptable. The example \nhas been changed accordingly, now the initial path and the extraction \npaths are converted into canonical paths and it is verified that \nextraction path contains the initial path. The documentation has also \nbeen adjusted.","aliases":["GHSA-jjwr-xmw6-gf78"],"modified":"2026-04-10T05:40:45.227094Z","published":"2026-03-10T18:18:16.960Z","references":[{"type":"WEB","url":"https://github.com/JoakimBulow/"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2026/03/10/1"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/gyfq5tcrxfv7rx0z2yyx4hb3h53ndffw"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/pdfbox","events":[{"introduced":"8876e8e1a0adbf619cef4638cc3cea073e3ca484"},{"last_affected":"110936c8738a0ead824f347e8ec8c2efb10c9335"},{"introduced":"47e7cff248d0ac17b7c03d9eb208e34a5c00bc42"},{"last_affected":"928581dc0cd44b0b8b3a83f74d223049db69844d"}],"database_specific":{"versions":[{"introduced":"2.0.24"},{"last_affected":"2.0.35"},{"introduced":"3.0.0"},{"last_affected":"3.0.7"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23907.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}