CVE-2026-33929
Apache PDFBox Examples: Path Traversal in PDFBox ExtractEmbeddedFiles Example Code
Also known as GHSA-gcj8-76p4-g2fq
Mitigation
- Upgrade org.apache.pdfbox:pdfbox-examples to one of 2.0.37, 3.0.8 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.pdfbox:pdfbox-examples (>= 2.0.24, < 2.0.37)
- Anyone running Apache Software Foundation Apache PDFBox Examples >= 2.0.24, <= 2.0.36; >= 3.0.0, <= 3.0.7
Vulnerability facts
- Affected
- org.apache.pdfbox:pdfbox-examples >= 2.0.24, < 2.0.37
- Fixed in
- 2.0.37, 3.0.8
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 4.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- EPSS
- 1.00% chance of exploitation in 30 days (percentile 62, 2026-11-26)
- CWE
- CWE-22
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.pdfbox:pdfbox-examples | >= 2.0.24, < 2.0.37 | 2.0.37, 3.0.8 | osv |
| Apache Software Foundation Apache PDFBox Examples | >= 2.0.24, <= 2.0.36; >= 3.0.0, <= 3.0.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-33929. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-33929.md Affected: org.apache.pdfbox:pdfbox-examples >= 2.0.24, < 2.0.37 Fixed in: 2.0.37, 3.0.8 Steps: 1. Search this machine and project for org.apache.pdfbox:pdfbox-examples (Maven), Apache Software Foundation Apache PDFBox Examples: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-33929 being exploited?
There is no confirmed exploitation: CVE-2026-33929 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.00% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-33929?
Medium: CVSS 4.3 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-33929?
org.apache.pdfbox:pdfbox-examples >= 2.0.24, < 2.0.37.
Is there a fix for CVE-2026-33929?
Yes. Fixed in 2.0.37, 3.0.8. Upgrade org.apache.pdfbox:pdfbox-examples to one of 2.0.37, 3.0.8 (or later in the same release line).
How do I check if I'm affected by CVE-2026-33929?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.