Uncontrolled Recursion Affecting github.com/pdfcpu/pdfcpu/pkg/pdfcpu/model package, versions <0.12.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.63% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMPDFCPUPDFCPUPKGPDFCPUMODEL-17817490
  • published5 Jul 2026
  • disclosed2 Jul 2026
  • creditUnknown

Introduced: 2 Jul 2026

CVE-2026-38970  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade github.com/pdfcpu/pdfcpu/pkg/pdfcpu/model to version 0.12.0 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion in the ParseObjectContext and parseArray functions due to recursive parsing of nested PDF objects without enforcing a maximum nesting depth. An attacker can cause resource exhaustion and application unavailability by submitting specially crafted PDF files with deeply nested objects.

CVSS Base Scores

version 4.0
version 3.1