{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.pdfbox:pdfbox-examples. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-33929 in the wild and no public exploit code.","fix":"Upgrade org.apache.pdfbox:pdfbox-examples to a fixed version for your release line: 2.0.37 or 3.0.8.","what":"CVE-2026-33929 is a medium-severity path traversal vulnerability in Apache PDFBox Examples, published on 14 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-33929 and fix it if it is affected.\n\nWhat it is: CVE-2026-33929 is a medium-severity path traversal vulnerability in Apache PDFBox Examples, published on 14 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-33929 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.pdfbox:pdfbox-examples (Maven): affected from 2.0.24; fixed in 2.0.37\n- org.apache.pdfbox:pdfbox-examples (Maven): affected from 2.0.24; fixed in 2.0.37\n- org.apache.pdfbox:pdfbox-examples (Maven): affected from 3.0.0; fixed in 3.0.8\n- org.apache.pdfbox:pdfbox-examples (Maven): affected from 3.0.0; fixed in 3.0.8\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-33929/ (Markdown: https://insights.sbomify.com/CVE-2026-33929/index.md)","id":"CVE-2026-33929","markdown":"https://insights.sbomify.com/CVE-2026-33929/index.md","name":"CVE-2026-33929","record":{"aliases":["DEBIAN-CVE-2026-33929","GHSA-gcj8-76p4-g2fq","OESA-2026-2147","OESA-2026-2148","OESA-2026-2238","OESA-2026-2239","OESA-2026-2240","UBUNTU-CVE-2026-33929"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Java PDF library","requires_auth":"low_privilege","summary":"A path traversal flaw in the ExtractEmbeddedFiles example allows attackers to write files to unintended directories via malicious PDFs.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"pdfbox","vendor":"apache"}],"cvss":{"score":4.3,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache PDFBox Examples.\n\nThis issue affects the \nExtractEmbeddedFiles example in Apache PDFBox: from 2.0.24 through 2.0.36, from 3.0.0 through 3.0.7.\n\nUsers are recommended to update to version 2.0.37 or 3.0.8 once \navailable. Until then, they should apply the fix provided in GitHub PR \n427.\n\nThe 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\".\n\nUsers who have copied this example into their production code should apply the mentioned change. The example \nhas been changed accordingly and is available in the project repository.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Apache PDFBox Examples: Path Traversal in PDFBox ExtractEmbeddedFiles Example Code","id":"CVE-2026-33929","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":4,"n_references":3,"next":{"headline":"Apache Traffic Server: Buffer overflow via Host field that has a long string value","id":"CVE-2026-33930"},"packages":[{"ecosystem":"Maven","fixed":["2.0.37"],"introduced":["2.0.24"],"last_affected":[],"package":"org.apache.pdfbox:pdfbox-examples","purl":null,"source":"GHSA-gcj8-76p4-g2fq"},{"ecosystem":"Maven","fixed":["2.0.37"],"introduced":["2.0.24"],"last_affected":[],"package":"org.apache.pdfbox:pdfbox-examples","purl":"pkg:maven/org.apache.pdfbox/pdfbox-examples","source":"GHSA-gcj8-76p4-g2fq"},{"ecosystem":"Maven","fixed":["3.0.8"],"introduced":["3.0.0"],"last_affected":[],"package":"org.apache.pdfbox:pdfbox-examples","purl":null,"source":"GHSA-gcj8-76p4-g2fq"},{"ecosystem":"Maven","fixed":["3.0.8"],"introduced":["3.0.0"],"last_affected":[],"package":"org.apache.pdfbox:pdfbox-examples","purl":"pkg:maven/org.apache.pdfbox/pdfbox-examples","source":"GHSA-gcj8-76p4-g2fq"}],"prev":{"headline":"Authenticated RCE in update functionality in Guardian/CMC before 26.4.0","id":"CVE-2026-33924"},"products":["Apache PDFBox Examples"],"published":"2026-04-14","related":[{"cvss_score":7.8,"headline":"High severity vulnerability that affects org.apache.pdfbox:pdfbox","id":"CVE-2016-2175","kev_date_added":null,"published":"2016-06-01"},{"cvss_score":6.5,"headline":"Loop with Unreachable Exit Condition in Apache PDFBox","id":"CVE-2018-8036","kev_date_added":null,"published":"2018-07-03"},{"cvss_score":5.5,"headline":"A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading a tiny file","id":"CVE-2021-31811","kev_date_added":null,"published":"2021-06-12"},{"cvss_score":5.5,"headline":"A carefully crafted PDF file can trigger an infinite loop while loading the file","id":"CVE-2021-31812","kev_date_added":null,"published":"2021-06-12"},{"cvss_score":5.5,"headline":"A carefully crafted PDF file can trigger an infinite loop while loading the file","id":"CVE-2021-27807","kev_date_added":null,"published":"2021-03-19"},{"cvss_score":5.5,"headline":"A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading the file","id":"CVE-2021-27906","kev_date_added":null,"published":"2021-03-19"},{"cvss_score":5.5,"headline":"In Apache PDFBox a carefully crafted PDF file can trigger an extremely long running computation","id":"CVE-2018-11797","kev_date_added":null,"published":"2018-10-05"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-14","vendors":["Apache Software Foundation"]},"summary":"A path traversal flaw in the ExtractEmbeddedFiles example allows attackers to write files to unintended directories via malicious PDFs.","url":"https://insights.sbomify.com/CVE-2026-33929/"}