# CVE-2026-54082: veraPDF-validatio: Use of Default \`DocumentBuilderFactory\` leads to XXE When Processing Untrusted PDFs

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.40% (percentile 25, 2026-11-26)
- **CWE:** CWE-611
- **Aliases:** GHSA-cg9x-g3gm-h5h6
- **Published:** 2026-07-29T15:14:19.998Z
- **Modified:** 2026-10-23T23:10:00.157Z

## Who should check

- Projects that depend on Maven package org.verapdf:validation-model (\>= 1.17.35, \< 1.30.2)
- Projects that depend on Maven package org.verapdf:validation-model-jakarta (\>= 1.17.35, \< 1.30.2)
- Anyone running veraPDF-validation \>= 1.17.35, \< 1.30.2; \>= 1.31.1, \< 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 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.

## Affected and fixed versions

- Maven `org.verapdf:validation-model`: affected \>= 1.17.35, \< 1.30.2; fixed 1.30.2, 1.31.71 (osv)
- Maven `org.verapdf:validation-model-jakarta`: affected \>= 1.17.35, \< 1.30.2; fixed 1.30.2, 1.31.71 (osv)
- veraPDF-validation: \>= 1.17.35, \< 1.30.2; \>= 1.31.1, \< 1.31.71 (cvelist)

## Mitigation

- Upgrade org.verapdf:validation-model to one of 1.30.2, 1.31.71 (or later in the same release line).
- Upgrade org.verapdf:validation-model-jakarta to one of 1.30.2, 1.31.71 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-54082. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54082.md
Affected: org.verapdf:validation-model >= 1.17.35, < 1.30.2; org.verapdf:validation-model-jakarta >= 1.17.35, < 1.30.2
Fixed in: 1.30.2, 1.31.71

Steps:
1. Search this machine and project for org.verapdf:validation-model (Maven), org.verapdf:validation-model-jakarta (Maven), veraPDF-validation: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-54082 being exploited?

There is no confirmed exploitation: CVE-2026-54082 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-54082?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-54082?

org.verapdf:validation-model \>= 1.17.35, \< 1.30.2; org.verapdf:validation-model-jakarta \>= 1.17.35, \< 1.30.2.

### Is there a fix for CVE-2026-54082?

Yes. Fixed in 1.30.2, 1.31.71. Upgrade org.verapdf:validation-model to one of 1.30.2, 1.31.71 (or later in the same release line). Upgrade org.verapdf:validation-model-jakarta to one of 1.30.2, 1.31.71 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-54082?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/veraPDF/veraPDF-validation/security/advisories/GHSA-cg9x-g3gm-h5h6>
- patch: <https://github.com/veraPDF/veraPDF-validation/pull/730>
- patch: <https://github.com/veraPDF/veraPDF-validation/commit/94caa46c1a594512247fbd46c808edae39469542>
- patch: <https://github.com/veraPDF/veraPDF-validation/commit/cacd9436d0de40b0e58cc7d2dbb06451619e61ec>
- other: <https://github.com/veraPDF/veraPDF-validation>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-54082>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-cg9x-g3gm-h5h6> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-54082> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-54082>
