Skip to main content

veraPDF CVE-2026-54079

| EUVDEUVD-2026-50368 HIGH
Improper Restriction of XML External Entity Reference (CWE-611)
2026-07-29 https://github.com/veraPDF/veraPDF-validation GHSA-36mm-w85j-3q2j
8.7
CVSS 4.0 · Vendor: https://github.com/veraPDF/veraPDF-validation
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted PDF with malicious XFA stream
  2. Delivery
    veraPDF selects PDF/UA-1 profile
  3. Exploit
    getdynamicRender parses XML with unsafe parser
  4. Execution
    External entity reads server file or triggers SSRF
  5. Impact
    Data exfiltrated via out-of-band parameter entity

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration XML external entity prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Collection

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

Exploitation Conditions

Exploitation requires that the target validate an attacker-supplied PDF against the PDF/UA-1 profile - either explicitly selected or reached through flavour auto-detection on a PDF that declares PDF/UA-1 conformance - because getdynamicRender() is invoked by the bundled PDF/UA-1 'dynamicRender != required' rule; no other configuration, operator action, or authentication is required. The attacker must be able to get their PDF into the validation pipeline and, for data exfiltration, must host an out-of-band endpoint for the parameter-entity technique since the parsed value is not echoed into the report. The principal limiting factor is deployment exposure: the flaw is only remotely reachable if veraPDF processes externally-supplied PDFs (e.g. an upload/ingest service); purely local CLI validation of trusted files sharply reduces real-world reach. Exploitation is also confined to the vulnerable version ranges (validation-model / validation-model-jakarta 1.17.35-1.30.1 and 1.31.1-1.31.70).

Impact

No CVSS score or vector was supplied by the source, so severity signals must be inferred. EPSS is unavailable, KEV status is not listed, and no POC is referenced - meaning this is not confirmed as actively exploited or widely weaponized. However, the technical prerequisites are unusually low for an XXE: the vulnerable code path is triggered by default when validating any PDF that declares or is auto-detected as PDF/UA-1, requiring no special configuration or authentication on the document itself. The real-world risk therefore hinges on deployment: veraPDF used as a batch/CLI tool on trusted local files is low risk, but veraPDF embedded in a server or pipeline that validates externally-submitted PDFs (document intake portals, archiving/ingest workflows) faces genuine remote file-read and SSRF exposure. Note the advisory's caveat that the PDF/UA-1 rule consumes but does not echo the parsed value, so exfiltration relies on out-of-band parameter-entity techniques rather than in-band reflection - a modest but non-blocking complication for an attacker. My assessed severity is High (network-exposed processing) but degrades to Medium/Low for local-only usage; verify how veraPDF is exposed in your environment.

Exploit ScenarioDerived

An attacker uploads a crafted PDF to a document-ingest or archiving service that runs veraPDF PDF/UA-1 validation on submissions. The PDF's /AcroForm /XFA stream embeds a DOCTYPE with external parameter entities that read a local file (e.g. /etc/passwd or application secrets) and smuggle its contents to an attacker-controlled server over an out-of-band channel, or force the server to issue requests to internal-only endpoints (SSRF). No public POC is referenced, and because the impact is network-vector with low complexity and no privileges on the document, exploitation succeeds automatically once the malicious PDF is validated.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 29, 2026

Arbitrary file read and Server-Side Request Forgery in veraPDF-validation (and the validation-model-jakarta variant) let a remote attacker exfiltrate server files or reach internal services by submitting a crafted PDF whose XFA stream carries a malicious XML DOCTYPE. The insecure XML parser is reached automatically whenever a PDF is validated against the PDF/UA-1 profile, including via flavour auto-detection, so no operator action beyond normal validation is needed. There is no public exploit identified at time of analysis and it is not listed in CISA KEV, but the vendor advisory (GHSA-36mm-w85j-3q2j) and a fixing patch are confirmed.

RemediationAI

Vendor-released patch: upgrade org.verapdf:validation-model (or validation-model-jakarta) to 1.30.2 if on the 1.x-1.30 line, or to 1.31.71 if on the 1.31.x line, per advisory GHSA-36mm-w85j-3q2j (https://github.com/veraPDF/veraPDF-validation/security/advisories/GHSA-36mm-w85j-3q2j) and PR https://github.com/veraPDF/veraPDF-validation/pull/730 (commits 94caa46 and cacd943), which replace the insecure DocumentBuilderFactory with SecureXML.newSafeDocumentBuilder(). If you cannot upgrade immediately, the most direct compensating control is to avoid validating untrusted PDFs against the PDF/UA-1 profile and to disable flavour auto-detection so a hostile PDF cannot silently select PDF/UA-1 - the trade-off is loss of PDF/UA-1 conformance checking for those jobs. Additionally, run the validator with strict egress filtering (block outbound network from the validation host to neutralize the SSRF and out-of-band exfiltration channel) and with a least-privilege filesystem account so arbitrary file reads yield minimal sensitive data; the side effect is that legitimate outbound calls from the process will also break. Do not rely on these workarounds long-term - patching is the definitive fix.

Affected VersionsENISA

veraPDF-validation 1.31.1, < 1.31.71
veraPDF-validation 1.17.35, < 1.30.2

Affected Packages

maven org.verapdf:validation-model fix: 1.30.2, 1.31.71
maven org.verapdf:validation-model-jakarta fix: 1.30.2, 1.31.71
euvd verapdf_validation_1_17_35 fix: 1.30.2
euvd verapdf_validation_1_31_1 fix: 1.31.71

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 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

veraPDF is the open-source reference validator for PDF/A and PDF/UA archival conformance profiles. The flaw is a classic CWE-611 XML External Entity Injection in GFPDAcroForm.getdynamicRender(), which pulls the /XFA (XML Forms Architecture) stream from a PDF's /AcroForm dictionary and parses it with a DocumentBuilderFactory.newInstance() that leaves disallow-doctype-decl, external-general-entities, external-parameter-entities, and FEATURE_SECURE_PROCESSING at their insecure Java defaults. Because the parser processes fully attacker-controlled XML, DOCTYPE declarations and external/parameter entities are resolved, enabling local file disclosure and outbound requests. The same unsafe pattern also existed in DictionaryKeysHelper.getRichTextStringOrStreamEntryStringRepresentation(), which the patch hardens as well. Affected Maven coordinates are org.verapdf:validation-model and org.verapdf:validation-model-jakarta.

Know when Java 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 (https://github.com/veraPDF/veraPDF-validation) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Attacker-supplied PDF processed automatically over a network-facing validation service gives AV:N/AC:L/PR:N/UI:N; arbitrary file read yields C:H, with no integrity or availability impact (AV:N assumes server-side exposure).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/veraPDF/veraPDF-validation).

CVSS VectorVendor: https://github.com/veraPDF/veraPDF-validation

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Summary

Description An XML External Entity Injection (CWE-611) vulnerability in veraPDF allows a remote attacker to read arbitrary files on the server file system and perform Server-Side Request Forgery by submitting a crafted PDF containing a malicious XFA stream. This affects all current versions of veraPDF-validation.

Details

The vulnerability resides in veraPDF-validation validation-model/src/main/java/org/verapdf/gf/model/impl/pd/GFPDAcroForm.java within the getdynamicRender() method. This method retrieves the /XFA entry from the PDF's /AcroForm dictionary, decodes the embedded XML stream, and parses it to extract the <dynamicRender> element value.

The vulnerability stems from the use of a default-configured DocumentBuilderFactory to parse fully attacker-controlled XML:

  • The factory is created via DocumentBuilderFactory.newInstance() with no security features enabled. disallow-doctype-decl, external-general-entities, external-parameter-entities, and FEATURE_SECURE_PROCESSING are all left at their insecure defaults.
  • The input passed to builder.parse() is the decoded /XFA stream taken directly from the untrusted PDF.
  • The text content of the <dynamicRender> node is returned to the validation model. Note that the shipped PDF/UA-1 rule (dynamicRender != 'required') consumes this value but does not echo it into the report output, so reliable exfiltration requires the out-of-band parameter-entity technique described under Impact rather than in-band reflection.

Impact

This impacts all current releases of the veraPDF validation-model module.

Successful exploitation requires only that the target validate an attacker-supplied PDF against the PDF/UA-1 profile (or via flavour auto-detection on a PDF that declares PDF/UA-1 conformance), since getdynamicRender() is invoked by the dynamicRender != 'required' rule in the bundled PDF/UA-1 profile. No additional configuration or operator action is required.

Proposed Patch

Harden the DocumentBuilderFactory in validation-model/src/main/java/org/verapdf/gf/model/impl/pd/GFPDAcroForm.java per the OWASP XXE Prevention Cheat Sheet to disallow DOCTYPE outright.

Executive ViewAI

Why It Matters

veraPDF-validation (a PDF validation tool) contains arbitrary file read and SSRF vulnerabilities that allow remote attackers to exfiltrate sensitive server files or access internal systems by submitting specially crafted PDFs. Organizations using veraPDF to validate PDF/UA-1 files face immediate data exposure and lateral movement risks, as the vulnerability is triggered automatically during normal validation operations.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Medium
reference open-source PDF/A-PDF/UA validator, common in archiving and document-management pipelines
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA 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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

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