Skip to main content

veraPDF-parser CVE-2026-54081

| EUVDEUVD-2026-50372 MEDIUM
Improperly Controlled Sequential Memory Allocation (CWE-1325)
2026-07-29 GitHub_M GHSA-7c26-995w-6f47
6.9
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted PDF via upload endpoint
  2. Delivery
    veraPDF parses Type 1 font /FontFile PostScript stream
  3. Exploit
    Trigger unbounded array allocation, zero-increment loop, or recursive toExecute lookup
  4. Execution
    Exhaust JVM heap, CPU, or call stack
  5. Impact
    Validator process crashes or hangs indefinitely

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Improperly controlled sequential memory ops
Exploitation Conditions

Exploitation requires the target to be running veraPDF-parser prior to 1.30.2 or 1.31.23 and processing a PDF that the attacker can influence. The vulnerable code path (GFPDType1Font constructor → Type1FontProgram.parseFont) is triggered unconditionally - no special veraPDF configuration, non-default settings, or specific deployment mode is required; any PDF containing a Type 1 font with a /FontDescriptor /FontFile entry reaches the vulnerable interpreter. Per CVSS PR:N, no authentication is required at the veraPDF library level, though the calling application may impose its own access controls. The key limiting factor is that impact is strictly DoS - no code execution or data exfiltration is possible. Exploitation also requires the attacker to have a path to submit PDFs to the validator (direct API, file upload endpoint, or indirect influence over a document pipeline), and the effect is limited to the validator process rather than the host OS.

Impact

The CVSS 4.0 score of 6.9 (Medium) reflects a network-reachable, unauthenticated DoS with no confidentiality or integrity impact (VC/VI/VA: N/N/L, SC/SI/SA: N/N/N). The official VA:L rating appears conservative given that unbounded heap allocation and infinite loops can completely crash or permanently hang the JVM process rather than merely degrade performance - independently assessed as VA:H. No EPSS data was provided in the input; absent KEV listing and public exploit code, opportunistic mass exploitation is unlikely. The primary real-world risk is against automated PDF ingestion pipelines (document portals, compliance workflows, CI-integrated PDF/A checkers) where unauthenticated or lightly authenticated PDF submission is permitted. Three independent attack primitives lower the bar for reliable exploitation: any one of the three is sufficient to trigger DoS, making the vulnerability more robust to partial mitigations. The 'Information Disclosure' tag in the source data appears to be a tagging artifact and is not supported by the CVSS vector or description - no confidentiality impact is indicated.

Exploit ScenarioDerived

An attacker submits a PDF to a public-facing document validation service running veraPDF (e.g., a compliance portal or document upload API). The PDF contains a Type 1 font whose /FontFile stream is a PostScript program beginning with 2147483647 array - the validator unconditionally parses this font, attempts to allocate a 16 GB Java ArrayList, exhausts JVM heap, and crashes the validation service. The attacker repeats submission if the service auto-restarts, sustaining the outage. No authentication is required if the endpoint is publicly accessible.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 29, 2026

Denial-of-service in veraPDF-parser allows a remote unauthenticated attacker to crash or hang the PDF validation service by submitting a crafted PDF containing a Type 1 font whose /FontDescriptor /FontFile PostScript program exploits one of three unbounded resource primitives: a massive array allocation, a zero-increment for-loop, or a self-referential recursive user-dictionary lookup. All veraPDF-parser releases prior to 1.30.2 and 1.31.23 are affected across both active version branches. No public exploit code or active exploitation (CISA KEV) has been identified at time of analysis; vendor-released patches exist for both branches.

RemediationAI

Upgrade to veraPDF-parser 1.30.2 (for 1.30.x deployments) or 1.31.23 (for 1.31.x deployments), as confirmed by the vendor advisory at https://github.com/veraPDF/veraPDF-parser/security/advisories/GHSA-7c26-995w-6f47 and implemented in PR #703 (https://github.com/veraPDF/veraPDF-parser/pull/703) and commits 73d6ec0 and cb35386. The fix adds an integer-bounds check on array allocation, guards the for-operator against zero-increment by setting increment to zero and skipping execution, and changes the toExecute depth check from > to >= MAX_TO_EXECUTE_DEPTH to enforce the cap correctly. If immediate upgrade is not feasible, restrict PDF submission to authenticated, trusted clients only - this reduces exposure but does not eliminate risk if trusted users can be influenced to submit attacker-crafted documents. Additionally, running the veraPDF validator in a sandboxed JVM with a heap cap (e.g., -Xmx512m) and a process timeout will bound the blast radius of any DoS attempt; note that the JVM will throw OutOfMemoryError and the process may terminate, requiring a process supervisor to restart it.

Affected VersionsENISA

veraPDF-parser < 1.30.2
veraPDF-parser 1.31.1, < 1.31.23

Affected Packages

maven org.verapdf:parser fix: 1.30.2, 1.31.23
euvd verapdf_parser fix: 1.30.2, 1.31.23

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

veraPDF-parser is a Java PDF/A validation library (Maven: org.verapdf:parser, CPE cpe:2.3:a:verapdf:verapdf-parser:*:*:*:*:*:*:*:*) that embeds a cleartext PostScript interpreter for parsing Type 1 font programs embedded in PDF /FontDescriptor /FontFile streams. CWE-1325 (Improperly Controlled Sequential Memory Allocation) describes the root class, but the vulnerability actually encompasses three distinct unbounded-resource primitives. First, PSOperator.array() calls COSArray.construct(N) backed by new ArrayList<>(N) with no upper-bound validation, allowing Integer.MAX_VALUE (~16 GB allocation on a 64-bit JVM). Second, PSOperator.opFor() ran for (long i = initial; i <= limit; i += increment) with no guard against increment==0, producing an infinite loop. Third, Type1FontProgram.toExecute() performed recursive user-dictionary lookups with no visited-set or recursion-depth enforcement, causing StackOverflowError after ~16,000 JVM frames. All three operators (array, for, and unknown-name lookup) were admitted by a hardcoded allow-list in Type1FontProgram.toExecute(). The interpreter is invoked unconditionally by GFPDType1Font's constructor on every Type 1 font encountered during validation.

Know when Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Network-reachable via PDF submission with no authentication (PR:N); A:H because unbounded allocation and infinite loops can fully crash the JVM validator process, not merely degrade it.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 29, 2026 - 16:02 EUVD

DescriptionCVE.org

veraPDF PDF parser is a PDF parser for veraPDF. Prior to 1.30.2 and 1.31.23, veraPDF-parser contains a denial-of-service vulnerability in veraPDF-parser/src/main/java/org/verapdf/pd/font/type1/Type1FontProgram.java and veraPDF-parser/src/main/java/org/verapdf/parser/postscript/PSOperator.java, where a crafted Type 1 font /FontDescriptor /FontFile program can execute unbounded PostScript array allocation, a zero-increment for loop, or self-recursive toExecute user dictionary lookups and exhaust validator memory, CPU, or stack. This issue is fixed in versions 1.30.2 and 1.31.23.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Low
niche open-source PDF/A compliance validator, specialist deployment
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy