CVE-2026-54081: veraPDF Parser DoS via PostScript Type 1 Font Programs
Description
A PostScript-interpreter-driven Denial of Service (CWE-1325) vulnerability in veraPDF allows a remote attacker to exhaust validator memory or CPU by submitting a PDF whose Type 1 font /FontFile is a font program containing attacker-supplied PostScript. veraPDF’s Type 1 font program parser dispatches every cleartext token through a hardcoded operator allow-list whose members include the unbounded array N allocation operator and the for control operator with no zero-increment guard. This affects all current versions of veraPDF-parser.
References
- github.com/advisories/GHSA-7c26-995w-6f47
- github.com/veraPDF/veraPDF-parser/commit/73d6ec002b98ce1f3f68640442f8e5d5613c80ce
- github.com/veraPDF/veraPDF-parser/commit/cb3538607a549d63504299be1088c85ae48605f4
- github.com/veraPDF/veraPDF-parser/pull/703
- github.com/veraPDF/veraPDF-parser/security/advisories/GHSA-7c26-995w-6f47
- nvd.nist.gov/vuln/detail/CVE-2026-54081
Code Behaviors & Features
Detect and mitigate CVE-2026-54081 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →