veraPDF-validatio: Use of Default `DocumentBuilderFactory` leads to XXE When Processing Untrusted PDFs
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| veraPDF | veraPDF-validation | 1.17.35 to before 1.30.2; 1.31.1 to before 1.31.71 | 1.30.2, 1.31.71 | Patch available | CNA |
| — | org.verapdf:validation-model (Maven) | 1.17.35 to before 1.30.2 | 1.30.2 | Patch available | GHSA-cg9x-g3gm-h5h6 |
| — | org.verapdf:validation-model (Maven) | 1.31.1 to before 1.31.71 | 1.31.71 | Patch available | GHSA-cg9x-g3gm-h5h6 |
| — | org.verapdf:validation-model-jakarta (Maven) | 1.17.35 to before 1.30.2 | 1.30.2 | Patch available | GHSA-cg9x-g3gm-h5h6 |
| — | org.verapdf:validation-model-jakarta (Maven) | 1.31.1 to before 1.31.71 | 1.31.71 | Patch available | GHSA-cg9x-g3gm-h5h6 |
- veraPDF-validation VendorveraPDF Affected 1.17.35 to before 1.30.2; 1.31.1 to before 1.31.71 Fixed in 1.30.2, 1.31.71 Patch available CNA
- org.verapdf:validation-model (Maven) Vendor— Affected 1.17.35 to before 1.30.2 Fixed in 1.30.2 Patch available GHSA-cg9x-g3gm-h5h6
- org.verapdf:validation-model (Maven) Vendor— Affected 1.31.1 to before 1.31.71 Fixed in 1.31.71 Patch available GHSA-cg9x-g3gm-h5h6
- org.verapdf:validation-model-jakarta (Maven) Vendor— Affected 1.17.35 to before 1.30.2 Fixed in 1.30.2 Patch available GHSA-cg9x-g3gm-h5h6
- org.verapdf:validation-model-jakarta (Maven) Vendor— Affected 1.31.1 to before 1.31.71 Fixed in 1.31.71 Patch available GHSA-cg9x-g3gm-h5h6
Remediation
- Fix · CNA veraPDF-validation (veraPDF) Fixed in 1.30.2, 1.31.71
- Fix · GHSA-cg9x-g3gm-h5h6 org.verapdf:validation-model (Maven) Fixed in 1.30.2 Advisory →
- Fix · GHSA-cg9x-g3gm-h5h6 org.verapdf:validation-model (Maven) Fixed in 1.31.71 Advisory →
- Fix · GHSA-cg9x-g3gm-h5h6 org.verapdf:validation-model-jakarta (Maven) Fixed in 1.30.2 Advisory →
- Fix · GHSA-cg9x-g3gm-h5h6 org.verapdf:validation-model-jakarta (Maven) Fixed in 1.31.71 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54082
- 2026-10-03 Alias added: GHSA-cg9x-g3gm-h5h6
References
Other 5
- https://github.com/veraPDF/veraPDF-validation/security/advisories/GHSA-cg9x-g3gm-h5h6
- https://github.com/veraPDF/veraPDF-validation/pull/730
- https://github.com/veraPDF/veraPDF-validation/commit/94caa46c1a594512247fbd46c808edae39469542
- https://github.com/veraPDF/veraPDF-validation/commit/cacd9436d0de40b0e58cc7d2dbb06451619e61ec
- https://github.com/veraPDF/veraPDF-validation
More veraPDF vulnerabilities
- TI-2026-39009 veraPDF Validation XXE via XFA CVSS 4.0HIGH 8.7
- TI-2026-39008 veraPDF Validation XXE via Rich Text CVSS 4.0HIGH 8.7
- TI-2024-18689 Potential XSLT injection vulnerability when using policy files CVSS 3.1HIGH 8.1
- TI-2026-39011 veraPDF Parser DoS via PostScript Type 1 Font Programs CVSS 4.0MEDIUM 6.9
- TI-2026-39010 veraPDF Parser DoS via PostScript CMap Streams CVSS 4.0MEDIUM 6.9
- TI-2024-35313 Potential XXE (XML External Entity Injection) vulnerability in veraPDF CLI CVSS 4.0LOW 2.3
Sources
- CVE-2026-54082 · CVE Program
- CVE-2026-54082 · NVD
- FIRST EPSS
- GHSA-cg9x-g3gm-h5h6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences