Skip to main content

Apache Pdfbox Examples CVE-2026-33929

| EUVDEUVD-2026-22229 MEDIUM
Path Traversal (CWE-22)
2026-04-14 apache GHSA-gcj8-76p4-g2fq
4.3
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate to system
  2. Delivery
    Obtain write access to /home/ABC
  3. Exploit
    Craft malicious PDF with traversal payload
  4. Install
    Social engineer user to extract files
  5. C2
    Bypass flawed path validation
  6. Execute
    Write file to /home/ABCDEF
  7. Impact
    Achieve unauthorized file placement

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

This vulnerability presents low real-world risk despite a CVSS score of 4.3. EPSS exploitation probability is minimal at 0.02% (5th percentile), indicating very low likelihood of opportunistic exploitation. SSVC assessment confirms no evidence of active exploitation, no automated attack capability, and only partial technical impact (integrity compromise, no confidentiality or availability loss). The attack requires (1) PR:L-authenticated access, meaning the attacker must possess legitimate user credentials or system access, (2) UI:N active user interaction via crafted PDF delivery, and (3) the vulnerable example code to be deployed in production-a non-default scenario. The vulnerability's risk is primarily relevant to organizations that have copied the PDFBox example code into custom applications; the example itself in the repository was already corrected. High-CVSS-but-low-real-risk classification applies here.

Exploit ScenarioDerived

An attacker with system access to a directory like /home/ABC crafts a malicious PDF containing an embedded file with a path traversal payload designed to extract to /home/ABCDEF. When a legitimate user runs the vulnerable ExtractEmbeddedFiles example against this PDF, the incomplete path validation logic permits the write, allowing the attacker to place arbitrary files in unintended locations within the user's accessible directory namespace. The attack requires local or authenticated access and delivery of the crafted PDF through normal workflow channels.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 14, 2026

Path traversal vulnerability in Apache PDFBox Examples ExtractEmbeddedFiles tool allows authenticated local users to write files outside intended directories via malicious PDF files when the initial path traversal fix fails to properly validate file path separators. Affects PDFBox 2.0.24-2.0.36 and 3.0.0-3.0.7; CVSS 4.3 with low exploitability (EPSS 0.02%, SSVC automation: no). Patch versions 2.0.37 and 3.0.8 address the issue.

RemediationAI

Upgrade to Apache PDFBox Examples 2.0.37 or 3.0.8 once released by the Apache Software Foundation. Until patched versions are available, apply the path separator validation fix provided in GitHub PR #427 (https://github.com/apache/pdfbox/pull/427/changes) to any production code that includes a copy of the ExtractEmbeddedFiles example. The fix ensures that file path validation properly checks for filesystem path separator boundaries when canonicalizing extracted file paths, preventing writes to sibling or ancestor directories. Consult the Apache mailing list advisory (https://lists.apache.org/thread/j8l07tgzy9dm8d8n0f3c45h7zg7t3ld6) for deployment guidance.

Affected VersionsENISA

Apache PDFBox Examples 2.0.24 ≤2.0.36
Apache PDFBox Examples 3.0.0 ≤3.0.7

Affected Packages

maven org.apache.pdfbox:pdfbox-examples fix: 2.0.37, 3.0.8
euvd apache_pdfbox_examples no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache PDFBox is a Java library for creating and manipulating PDF documents. The ExtractEmbeddedFiles example demonstrates PDF embedded file extraction. The vulnerability stems from CWE-22 (Path Traversal), where an incomplete fix for a prior path traversal vulnerability (CVE-2026-23907) failed to account for filesystem path separators. The flaw allows a user with write permissions on a base directory (e.g., /home/ABC) to be targeted by a crafted PDF that attempts writes to paths starting with that prefix but extending into unintended subdirectories (e.g., /home/ABCDEF). This is a secondary-order vulnerability resulting from insufficient validation logic in path normalization code within the example application.

Know when Apache Pdfbox Examples gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
SUSE MEDIUM
Red Hat 6.6 MEDIUM

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

3
CVSS changed
Apr 14, 2026 - 20:22 NVD
4.3 (MEDIUM)
Patch released
Apr 14, 2026 - 08:30 nvd
Patch available
CVE Published
Apr 14, 2026 - 08:09 nvd
MEDIUM 4.3

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Threat Intel
1
1 source
Social Media
2
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Module for Development Tools 15 SP7 Fixed
SUSE Linux Enterprise Server 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy