# CVE-2026-33929: Apache PDFBox Examples: Path Traversal in PDFBox ExtractEmbeddedFiles Example Code

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-14 · Modified: 2026-04-14
- Aliases: UBUNTU-CVE-2026-33929, DEBIAN-CVE-2026-33929, GHSA-gcj8-76p4-g2fq
- Record: https://cvemate.com/vulnerability/CVE-2026-33929 · JSON: https://cvemate.com/vulnerability/CVE-2026-33929/json

## Description

```text
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.
```

## Signals

- CVSS: 4.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.723%, percentile 55.384%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache pdfbox examples: ≥ 2.0.24, ≤ 2.0.36 \| ≥ 3.0.0, ≤ 3.0.7
- apache pdfbox: ≥ 2.0.24, \< 2.0.37 \| ≥ 3.0.0, \< 3.0.8
- debian libpdfbox-java (Debian): All versions (No fix recorded)
- debian libpdfbox2-java (Debian): All versions (No fix recorded) \| \< 2.0.37-1
- ubuntu libpdfbox-java (Ubuntu): All versions (No fix recorded)
- ubuntu libpdfbox2-java (Ubuntu): All versions (No fix recorded)
- org.apache.pdfbox pdfbox-examples (Maven): ≥ 2.0.24, \< 2.0.37 \| ≥ 3.0.0, \< 3.0.8

## References

- <https://github.com/apache/pdfbox/pull/427/changes>
- <https://lists.apache.org/thread/op3lyx1ngzy4qycn06l6hljyf28ff0zs>
- <https://lists.apache.org/thread/j8l07tgzy9dm8d8n0f3c45h7zg7t3ld6>
- <https://ubuntu.com/security/CVE-2026-33929>
- <https://www.cve.org/CVERecord?id=CVE-2026-33929>
- <https://www.openwall.com/lists/oss-security/2026/04/14/4>
- <https://issues.apache.org/jira/browse/PDFBOX-6180>
- <https://github.com/apache/pdfbox/pull/427>
- <https://security-tracker.debian.org/tracker/CVE-2026-33929>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33929>
- <https://github.com/apache/pdfbox>

---

Data as of 2026-12-05T04:58:59.517Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
