Description
veraPDF validation model is an implementation of the veraPDF validation model. From 1.25.73 until 1.30.2 and 1.31.71, veraPDF-validation contains an XML External Entity vulnerability in PDFAValidator.validate(...) and GFPDAcroForm.getdynamicRender(), where default DocumentBuilderFactory parsing of rich-text annotation or form-field values and XFA configurations in untrusted PDFs can allow local file disclosure and outbound network requests. This issue is fixed in versions 1.30.2 and 1.31.71.
Published: 2026-07-29
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The veraPDF validation component contains a classic XML External Entity (XXE) flaw in its PDFAValidator.validate and GFPDAcroForm.getdynamicRender methods. The weakness is triggered when the library uses the default DocumentBuilderFactory to parse rich‑text annotation, form‑field values, or XFA configuration data from PDFs that are not trusted. An attacker who crafts a PDF with a malicious DOCTYPE declaration can cause the XML parser to resolve external entities, leading to local file disclosure and potentially outbound network requests originating from the host that is validating the file. The bug does not provide direct code execution but can be leveraged to exfiltrate data or contact remote servers stealthily.

Affected Systems

The vulnerability exists in veraPDF-validation releases from 1.25.73 through the final bytes of 1.30.1 and from 1.31.70 and earlier. Versions 1.30.2 and 1.31.71 contain the fix. Any system that processes untrusted PDFs via this library, especially in document conversion or validation pipelines, is at risk unless it has been upgraded to a patched release or has applied defensive configuration changes.

Risk and Exploitability

The CVSS score of 6.5 classifies it as moderate severity, and the EPSS score of less than 1 % indicates a low probability of exploitation in the wild. The flaw is not listed in CISA’s KEV catalog. Attackers must supply a malicious PDF, so the attack surface is confined to environments that accept or validate arbitrary documents. While the immediate danger is information disclosure and covert outbound traffic, the underlying XXE weakness could serve as a stepping stone for more serious attacks if combined with other vulnerabilities.

Generated by OpenCVE AI on August 3, 2026 at 13:16 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade veraPDF‑validation to version 1.30.2 or newer, or to 1.31.71 or newer, where the issue is fixed.
  • If an upgrade is not immediately possible, configure the XML parser to disable external entities by setting DocumentBuilderFactory.setFeature("http://apache.org/xml/features/disallow-doctype-decl",true) before creating the factory.
  • Limit PDF ingestion to trusted sources or sanitize PDFs prior to validation, ensuring that only expected form fields and annotations are processed.

Generated by OpenCVE AI on August 3, 2026 at 13:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-cg9x-g3gm-h5h6 veraPDF-validatio: Use of Default `DocumentBuilderFactory` leads to XXE When Processing Untrusted PDFs
History

Thu, 30 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
First Time appeared Verapdf
Verapdf verapdf-validation
Vendors & Products Verapdf
Verapdf verapdf-validation
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 29 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Description veraPDF validation model is an implementation of the veraPDF validation model. From 1.25.73 until 1.30.2 and 1.31.71, veraPDF-validation contains an XML External Entity vulnerability in PDFAValidator.validate(...) and GFPDAcroForm.getdynamicRender(), where default DocumentBuilderFactory parsing of rich-text annotation or form-field values and XFA configurations in untrusted PDFs can allow local file disclosure and outbound network requests. This issue is fixed in versions 1.30.2 and 1.31.71.
Title veraPDF-validatio: Use of Default `DocumentBuilderFactory` leads to XXE When Processing Untrusted PDFs
Weaknesses CWE-611
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}


Subscriptions

Verapdf Verapdf-validation
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-30T13:52:07.526Z

Reserved: 2026-06-11T18:44:47.760Z

Link: CVE-2026-54082

cve-icon Vulnrichment

Updated: 2026-07-30T13:51:47.484Z

cve-icon NVD

Status : Deferred

Published: 2026-07-29T16:17:53.630

Modified: 2026-07-30T19:23:14.707

Link: CVE-2026-54082

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T13:30:04Z

Weaknesses
  • CWE-611

    Improper Restriction of XML External Entity Reference