Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-135173: high-severity vulnerability (CVSS 8.7) in UglyToad PdfPig.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.7.
Affected products and versions
UglyToad PdfPig <= 0.1.16
| Product | Versions | Fixed in |
|---|---|---|
| UglyToad PdfPig | <= 0.1.16 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/UglyToad/PdfPig/commit/d1d74b19f2b4714ead5eef364fea51ee51a21e0b — CVE Program
- https://github.com/UglyToad/PdfPig/blob/v0.1.16/src/UglyToad.PdfPig/AcroForms/AcroFormFactory.cs#L210 — CVE Program
- https://github.com/UglyToad/PdfPig/blob/v0.1.16/src/UglyToad.PdfPig/Content/Page.cs#L233 — CVE Program
- https://www.vulncheck.com/advisories/pdfpig-through-0.1.16-uncontrolled-recursion-via-acroform-field-kids-and-marked-content — CVE Program
Weaknesses (CWE): CWE-674
Relevant change history
Published
Preliminary advisory published.