UglyToad PdfPig denial of service in AcroForm field parsing
Affects PdfPig 0.1.16 and earlier when an application reads AcroForm form fields or optional content from a crafted PDF. No fixed version is named in the facts.
- Exploited
- No known exploitation
- Fix
- Fix or patch referenced
- Who is exposed
- Not reported
Summary
PdfPig, a PDF-reading library from UglyToad, has an uncontrolled recursion flaw in how it handles AcroForm field kids and deeply nested marked content. A remote attacker can supply a crafted PDF without logging in to crash any application that reads form fields or optional content, because the resulting stack overflow cannot be caught.
Written by a model
Original 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.
Who should check
Teams running UglyToad PdfPig (NuGet) 0.1.16 or earlier that read AcroForm form fields or optional content from untrusted PDFs
“PdfPig through 0.1.16”
What to do
Apply the patch listed under Evidence.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-135173 (PdfPig through 0.1.16 Uncontrolled Recursion via AcroForm Field Kids and Marked Content), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-135173 (entry last updated 2026-11-23):
Affected:
- NuGet package PdfPig: through 0.1.16
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- PdfPig through 0.1.16 (Affecting PdfPig <= 0.1.16) (source: https://www.vulncheck.com/advisories/pdfpig-through-0.1.16-uncontrolled-recursion-via-acroform-field-kids-and-marked-content)
- Application reads form fields or optional content from a crafted PDF (source: https://www.vulncheck.com/advisories/pdfpig-through-0.1.16-uncontrolled-recursion-via-acroform-field-kids-and-marked-content)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-135173 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-135173 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (NuGet): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/UglyToad/PdfPig/commit/d1d74b19f2b4714ead5eef364fea51ee51a21e0b
- https://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/Content/Page.cs#L233
- https://www.vulncheck.com/advisories/pdfpig-through-0.1.16-uncontrolled-recursion-via-acroform-field-kids-and-marked-content
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-135173
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-135173"}.Affected versions
cve.now Index
- Exploitation0/40No signal
- Exposure20/25No login or user action needed, CISA rates it automatable · Unknown: Advisories don't say whether default setups are affected
- Reach10/20Affects NuGet packages
- Severity8.7/10CVSS 8.7
- No patch0/5No signal
What would change the score
- Would score about 84 if added to CISA KEV
- Would score about 79 if CISA's SSVC rates exploitation active
- Would score about 44 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Evidence 6
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-135173 |
| Record | NVD · CVE-2026-135173 |
| Other links 4 | |
| Patch | GitHub · UglyToad/PdfPig · Commit d1d74b19 |
| Repository | GitHub · UglyToad/PdfPig · src/UglyToad.PdfPig/AcroForms/AcroFormFactory.cs · L210 |
| Repository | GitHub · UglyToad/PdfPig · src/UglyToad.PdfPig/Content/Page.cs · L233 |
| Link | vulncheck.com · advisories/pdfpig-through-0.1.16-uncontrolled-recursion-via-acroform-field-kids-and-marked-content |
Questions about CVE-2026-135173
Is CVE-2026-135173 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A crafted PDF can make PdfPig recurse without limit while reading AcroForm field kids or marked content. The resulting uncatchable StackOverflowException terminates the process that is reading the file, which is a denial of service.
Source: vulncheck.com
Which versions are affected by CVE-2026-135173?
PdfPig (NuGet): through 0.1.16.
Source: cve.now feed data
Am I affected, and how do I check?
PdfPig versions through 0.1.16 are affected, and the issue only matters when an application reads form fields or optional content from a PDF. To check, look at the PdfPig package version your application references and whether it calls the form field or optional content reading code.
Source: vulncheck.com
How do I fix CVE-2026-135173?
The facts do not name a fixed version, so no upgrade target can be given from them. Check the PdfPig project for a release newer than 0.1.16 before relying on any version.
Source: vulncheck.com
Related
- CVE-2026-126956Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via unlimited recursion depth in constructed-form string decoding
- CVE-2026-129223Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in Synset.tree()/acyclic_tree() via WordNet relation traversal
- CVE-2026-129222Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in DependencyGraph.tree()/triples()
- CVE-2026-134754anacrolix/torrent before 1.62.0 Denial of Service via Bencode Decoder Recursion
- CVE-2026-102430An uncontrolled recursion vulnerability exists in the LINE iOS app prior to version 26.19.0.
- CVE-2026-134672GPAC MP4Box through 26.07.0 Uncontrolled Recursion via xmt_discard_subtree
No corrections so far. Something wrong on this page? Report an error.