CVE-2026-135173

PdfPig through 0.1.16 Uncontrolled Recursion via AcroForm Field Kids and Marked Content

Published Nov 23, 2026 CVSS 4.0 · 8.7 High EPSS n/a KEV · Not listed
Description
PdfPig through 0.1.16 contains an uncontrolled recursion vulnerability that allows attackers to crash applications by supplying crafted PDF documents with self-referencing AcroForm /Kids or deeply nested marked content. Attackers can trigger an uncatchable StackOverflowException in AcroFormFactory.GetAcroField or Page.GetOptionalContentsRecursively, terminating any process reading form fields or optional content.

Analysis

AI-generated

Technical impact

PdfPig up to version 0.1.16 contains an uncontrolled recursion flaw that can cause an uncatchable StackOverflowException when parsing crafted PDF documents. The vulnerability arises when an attacker supplies a PDF with self‑referencing AcroForm /Kids or excessively nested marked content. Exploiting this flaw results in the termination of any process that attempts to read form fields or optional content, effectively denying service to the affected application. The weakness is characterized as Uncontrolled Recursion (CWE‑674).

Affected Systems

The affected product is UglyToad:PdfPig. Version 0.1.16 of the library is vulnerable; later releases are expected to include the fix. Applications that embed this version to parse PDF files are at risk until updated.

Risk and Exploitability

The CVSS base score of 8.7 indicates a high severity denial‑of‑service potential. The EPSS score is not available, but the vulnerability is not listed in the CISA KEV catalog, suggesting limited widespread exploitation as of now. Attackers would likely need to supply a malicious PDF to an application that loads or renders the document. The likely attack vector is local or remote delivery of a crafted PDF that the vulnerable library processes, leading to application crash. The impact is full service interruption for the affected process, with no data compromise described.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to PdfPig version 0.1.17 or later which removes the uncontrolled recursion in AcroForm and page content handling.
  • Implement strict PDF validation to reject documents with excessive nesting or self‑referencing AkroForm /Kids before they reach the library.
  • Configure applications to catch and recover from StackOverflowException or set a safe maximum recursion depth for PDF parsing.

Generated by OpenCVE AI on November 23, 2026 at 15:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description PdfPig through 0.1.16 contains an uncontrolled recursion vulnerability that allows attackers to crash applications by supplying crafted PDF documents with self-referencing AcroForm /Kids or deeply nested marked content. Attackers can trigger an uncatchable StackOverflowException in AcroFormFactory.GetAcroField or Page.GetOptionalContentsRecursively, terminating any process reading form fields or optional content.
Title PdfPig through 0.1.16 Uncontrolled Recursion via AcroForm Field Kids and Marked Content
Weaknesses CWE-674
References
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'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 23, 2026, 4:30 PM
Reserved
Nov 23, 2026, 2:20 PM
Status
Received
Published
Nov 23, 2026, 3:17 PM
Modified
Nov 23, 2026, 5:17 PM