{"vuln_id":"CVE-2026-23907","aliases":[],"description":"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.","published_at":"2026-03-10T18:18:16.960000Z","modified_at":"2026-11-24T05:00:08.894260Z","first_seen_at":"2026-11-24T09:06:58.149361Z","severity":"medium","severity_source":"cvss","cvss_score":5.3,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","cwe":[],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.0099,"epss_percentile":0.63405,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-23907"},"matched_alias":null,"items":[{"id":17832,"source":{"id":"osv","name":"OSV.dev"},"title":"DEBIAN-CVE-2026-33929: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache PDFBox Examples. This issue affects the ExtractEmbeddedF…","summary":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache PDFBox Examples.  This issue affects the  ExtractEmbeddedFiles example in Apache PDFBox: from 2.0.24 through 2.0.36, from 3.0.0 through 3.0.7.   Users are recommended to update to version 2.0.37 or 3.0.8 once  available. Until then, they should apply the fix provided in GitHub PR  427.  The ExtractEmbeddedFiles example contained a path traversal vulnerability (CWE-22) mentioned in CVE-2026-23907. However the change in the releases 2.0.36 and 3.0.7 is flawed because it doesn't consider the file path separator. Because of that, a user having writing rights on /home/ABC could be victim to a malicious PDF resulting in a write attempt to any path starting with /home/ABC, e.g. \"/home/ABCDEF\".  Users who have copied this example into their production code should apply the mentioned change. The example  has been changed accordingly and is available in the project repository.\n\nAffected: Debian:12:libpdfbox-java, Debian:12:libpdfbox2-java, Debian:13:libpdfbox-java, Debian:13:libpdfbox2-java, Debian:14:libpdfbox-java, Debian:14:libpdfbox2-java\n\nFixed in: 2.0.37-1\n\nReferences:\nhttps://security-tracker.debian.org/tracker/CVE-2026-33929","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-33929","published_at":"2026-04-14T09:16:36.297000Z","updated_at":"2026-11-24T05:00:08.889442Z","fetched_at":"2026-11-24T09:06:58.079305Z","severity":"medium","cvss_score":5.3,"epss":0.0099,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"apache","product":"12:libpdfbox-java","vuln_id":"CVE-2026-33929","vuln_ids":["CVE-2026-23907","CVE-2026-33929","DEBIAN-CVE-2026-33929"],"tags":["osv","debian","fix-available"],"cluster_id":15724,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/17832","html":"https://vulnwatch.ve1ve2.com/item/17832"}},{"id":17831,"source":{"id":"osv","name":"OSV.dev"},"title":"DEBIAN-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 co…","summary":"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.\n\nAffected: Debian:12:libpdfbox-java, Debian:12:libpdfbox2-java, Debian:13:libpdfbox-java, Debian:13:libpdfbox2-java, Debian:14:libpdfbox-java, Debian:14:libpdfbox2-java\n\nFixed in: 2.0.37-\n\nReferences:\nhttps://security-tracker.debian.org/tracker/CVE-2026-23907","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-23907","published_at":"2026-03-10T18:18:16.960000Z","updated_at":"2026-11-24T05:00:08.894260Z","fetched_at":"2026-11-24T09:06:58.079304Z","severity":"medium","cvss_score":5.3,"epss":0.0099,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"apache","product":"12:libpdfbox-java","vuln_id":"CVE-2026-23907","vuln_ids":["CVE-2026-23907","DEBIAN-CVE-2026-23907"],"tags":["osv","debian","fix-available"],"cluster_id":15723,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/17831","html":"https://vulnwatch.ve1ve2.com/item/17831"}}]}