# CVE-2026-135173: PdfPig through 0.1.16 Uncontrolled Recursion via AcroForm Field Kids and Marked Content

Source: https://aplosec.si/cve/CVE-2026-135173/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-135173

High 8.7 · Reported · No fix listed · CWE-674 · NuGet

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

CVE-2026-135173 · published 2026-11-23

In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). No fixed release is listed yet.

## Summary

CVE-2026-135173 affects PdfPig (NuGet) <= 0.1.16: Uncontrolled Recursion via AcroForm Field Kids and Marked Content (CWE-674). No fixed release is listed. CVSS 4.0 base score 8.7 (High), assigned by VulnCheck. Published 2026-11-23 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/pdfpig-through-0.1.16-uncontrolled-recursion-via-acroform-field-kids-and-marked-content](https://www.vulncheck.com/advisories/pdfpig-through-0.1.16-uncontrolled-recursion-via-acroform-field-kids-and-marked-content)

- [Fix commithttps://github.com/UglyToad/PdfPig/commit/d1d74b19f2b4714ead5eef364fea51ee51a21e0b](https://github.com/UglyToad/PdfPig/commit/d1d74b19f2b4714ead5eef364fea51ee51a21e0b)

- [Vulnerable codehttps://github.com/UglyToad/PdfPig/blob/v0.1.16/src/UglyToad.PdfPig/AcroForms/AcroFormFactory.cs#L210](https://github.com/UglyToad/PdfPig/blob/v0.1.16/src/UglyToad.PdfPig/AcroForms/AcroFormFactory.cs#L210)

- [Vulnerable codehttps://github.com/UglyToad/PdfPig/blob/v0.1.16/src/UglyToad.PdfPig/Content/Page.cs#L233](https://github.com/UglyToad/PdfPig/blob/v0.1.16/src/UglyToad.PdfPig/Content/Page.cs#L233)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-135173](https://www.cve.org/CVERecord?id=CVE-2026-135173)

**Severity:** High 8.7 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-135173)

**Package:** PdfPig

**Ecosystem:** NuGet

**Affected:** <= 0.1.16

**Fixed:** None

**Weakness:** CWE-674

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
