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 (XXE) vulnerability in validation-model/src/main/java/org/verapdf/gf/model/tools/DictionaryKeysHelper.java in getRichTextStringOrStreamEntryStringRepresentation(), where a crafted PDF containing a malicious rich-text /RC or /RV entry can cause external entity expansion and reflect local file contents into the validation report. This issue is fixed in versions 1.30.2 and 1.31.71.
Published: 2026-07-29
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

veraPDF-validation is vulnerable to an XML External Entity (XXE) attack when parsing a PDF that contains a malicious rich‑text /RC or /RV entry. The vulnerable code can cause an external entity to be expanded, allowing local file contents to be read and inserted into the validation report. The weakness maps to CWE‑611 and can expose sensitive files or configuration data to an attacker who crafts a PDF for the validator to process. The vulnerability does not provide arbitrary code execution, but it can lead to data leakage and potentially aid other attacks by exposing system secrets.

Affected Systems

The issue affects veraPDF-validation in versions ranging from 1.25.73 up to but not including 1.30.2 and 1.31.71. Any deployments of these vulnerable releases are at risk when parsing untrusted PDFs. The fix is incorporated in releases 1.30.2 and 1.31.71 and later.

Risk and Exploitability

The CVSS score of 8.7 indicates a high‑severity flaw. The EPSS score of less than 1 % suggests a low likelihood of widespread exploitation at this time, and the vulnerability is not currently listed in the CISA KEV catalog. The likely attack vector is an attacker providing a malicious PDF to a system running veraPDF-validation; local file contents can then be reflected in validation output. When not patched, such an exploitation could expose confidential files to the victim’s environment, potentially aiding further attacks.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade veraPDF-validation to version 1.30.2 or newer (including 1.31.71) to obtain the official fix.
  • If an upgrade is delayed, reject PDFs that contain /RC or /RV rich‑text entries before passing them to the validator, to limit the impact of external entity processing.
  • Configure any custom XML parsing used in your validation workflow to disable external entity resolution, ensuring that even legacy code cannot expand entities.

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

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-3jh7-wm29-q568 veraPDF Validation XXE via Rich Text
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

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

Type Values Removed Values Added
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 (XXE) vulnerability in validation-model/src/main/java/org/verapdf/gf/model/tools/DictionaryKeysHelper.java in getRichTextStringOrStreamEntryStringRepresentation(), where a crafted PDF containing a malicious rich-text /RC or /RV entry can cause external entity expansion and reflect local file contents into the validation report. This issue is fixed in versions 1.30.2 and 1.31.71.
Title veraPDF Validation XXE via Rich Text
Weaknesses CWE-611
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

Verapdf Verapdf-validation
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-29T18:02:18.227Z

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

Link: CVE-2026-54078

cve-icon Vulnrichment

Updated: 2026-07-29T18:02:03.468Z

cve-icon NVD

Status : Deferred

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

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

Link: CVE-2026-54078

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