Description
pdfcpu through v0.11.1 contains an uncontrolled-recursion denial-of-service issue in pkg/pdfcpu/model/parse.go. The parser descends recursively through nested PDF objects, including arrays, via ParseObjectContext() and parseArray() without enforcing a maximum nesting depth.
Published: 2026-07-02
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

pdfcpu is a Go library for PDF manipulation. This vulnerability is an uncontrolled recursion flaw (CWE-674) in the parser, where the functions ParseObjectContext() and parseArray() walk through nested PDF objects without imposing a maximum depth. A PDF file that contains deeply nested objects can exhaust stack or heap memory, causing the process to crash or hang and thereby denying service. The flaw is triggered simply by parsing the document and does not depend on elevated privileges.

Affected Systems

All deployments that use pdfcpu through version 0.11.1 for handling PDFs are affected. The issue resides in the library’s parse.go file and is distributed via GitHub and Go modules. Because no vendor namespace is explicitly tied to the library, any project that embeds pdfcpu v0.11.1 or earlier is vulnerable.

Risk and Exploitability

The CVSS score of 7.5 marks the fault as high severity. The EPSS score of less than 1% indicates a low exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. An attacker merely needs a PDF document that triggers deep recursion; the likely attack vector is the remote ingestion of such a crafted PDF. Exploitation conditions are minimal beyond the presence of the vulnerable library.

Generated by OpenCVE AI on July 22, 2026 at 13:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade pdfcpu to the latest release that includes a recursion depth limit.
  • If an upgrade cannot be performed immediately, constrain the resources available to applications that use pdfcpu by setting lower memory, CPU, and stack limits to prevent exhaustion and mitigate hangs.
  • Monitor application logs for stack overflows, out‑of‑memory errors, or process restarts during PDF processing and configure alerts to detect prolonged disruptions.

Generated by OpenCVE AI on July 22, 2026 at 13:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 22 Jul 2026 14:15:00 +0000

Type Values Removed Values Added
Title Uncontrolled Recursion Denial-of-Service in pdfcpu PDF Parser

Fri, 17 Jul 2026 12:00:00 +0000

Type Values Removed Values Added
Title Uncontrolled Recursion Leading to Denial of Service in pdfcpu PDF Parser

Wed, 15 Jul 2026 21:15:00 +0000

Type Values Removed Values Added
Title Uncontrolled Recursion Leading to Denial of Service in pdfcpu PDF Parser

Tue, 14 Jul 2026 18:00:00 +0000

Type Values Removed Values Added
Title Uncontrolled Recursion Denial of Service in pdfcpu Parser

Mon, 13 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Title Uncontrolled Recursion Denial of Service in pdfcpu Parser

Sun, 12 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Title pdfcpu Recursion‑Depth Denial of Service in PDF Parsing

Sat, 11 Jul 2026 07:30:00 +0000

Type Values Removed Values Added
Title pdfcpu Recursion‑Depth Denial of Service in PDF Parsing

Fri, 10 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Title Uncontrolled Recursion Denial of Service in pdfcpu PDF Parser

Thu, 09 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Title Uncontrolled Recursion Denial of Service in pdfcpu PDF Parser

Thu, 09 Jul 2026 06:00:00 +0000

Type Values Removed Values Added
Title Uncontrolled Recursion PDF Parser

Wed, 08 Jul 2026 13:15:00 +0000

Type Values Removed Values Added
Title Uncontrolled Recursion PDF Parser

Tue, 07 Jul 2026 09:00:00 +0000

Type Values Removed Values Added
Title Uncontrolled Recursion in pdfcpu Parser Causes Denial of Service

Mon, 06 Jul 2026 20:00:00 +0000

Type Values Removed Values Added
Title Uncontrolled Recursion in pdfcpu Parser Causes Denial of Service

Mon, 06 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-674
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 06 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Title Uncontrolled Recursive Parsing Causes Denial‑of‑Service in pdfcpu
Weaknesses CWE-119
CWE-123

Mon, 06 Jul 2026 02:45:00 +0000

Type Values Removed Values Added
Title Uncontrolled Recursive Parsing Causes Denial‑of‑Service in pdfcpu
Weaknesses CWE-119
CWE-123

Sun, 05 Jul 2026 05:15:00 +0000

Type Values Removed Values Added
Title Uncontrolled Recursion Denial of Service in pdfcpu PDF Parser
Weaknesses CWE-674
CWE-770

Sat, 04 Jul 2026 18:45:00 +0000

Type Values Removed Values Added
Title Uncontrolled Recursion Denial of Service in pdfcpu PDF Parser
Weaknesses CWE-674
CWE-770

Sat, 04 Jul 2026 02:30:00 +0000

Type Values Removed Values Added
Title Uncontrolled Recursion in pdfcpu PDF Parser Causes Denial of Service
Weaknesses CWE-674

Fri, 03 Jul 2026 18:45:00 +0000

Type Values Removed Values Added
Title Uncontrolled Recursion in pdfcpu PDF Parser Causes Denial of Service
Weaknesses CWE-674

Fri, 03 Jul 2026 11:00:00 +0000

Type Values Removed Values Added
Title Uncontrolled Recursion Leading to Denial of Service in pdfcpu PDF Parser
Weaknesses CWE-749

Fri, 03 Jul 2026 04:00:00 +0000

Type Values Removed Values Added
Title Uncontrolled Recursion Leading to Denial of Service in pdfcpu PDF Parser
Weaknesses CWE-749

Thu, 02 Jul 2026 21:15:00 +0000

Type Values Removed Values Added
Description pdfcpu through v0.11.1 contains an uncontrolled-recursion denial-of-service issue in pkg/pdfcpu/model/parse.go. The parser descends recursively through nested PDF objects, including arrays, via ParseObjectContext() and parseArray() without enforcing a maximum nesting depth.
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-07-06T14:44:12.877Z

Reserved: 2026-04-06T00:00:00.000Z

Link: CVE-2026-38970

cve-icon Vulnrichment

Updated: 2026-07-06T14:43:55.609Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-22T14:00:04Z

Weaknesses