Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft PDF with self-referencing AcroForm /Kids
-
ExploitSubmit to PDF-processing service
-
ExecutionUnbounded recursion overflows the stack during field parsing
-
ImpactUncatchable StackOverflowException terminates the process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | Exploitation requires the application to parse an attacker-supplied PDF AND to actually invoke the vulnerable code paths - reading AcroForm fields (e.g. AcroFormFactory.GetAcroField, reached via form-reading APIs such as TryGetForm/GetFields) or reading optional content (Page.GetOptionalContentsRecursively). The concrete malicious structures are: an AcroForm field whose /Kids array references itself, two fields listing each other as /Kids, or marked/optional content nested to extreme depth. Per the CVSS vector no authentication (PR:N) and no user interaction (UI:N) are needed, and no non-default configuration is required. The principal limiting factor is reachability: a process that merely opens a document without reading form fields or optional content may not trigger it. The key aggravating factor is that the resulting StackOverflowException is uncatchable, so the condition cannot be mitigated by exception handling - only by patching or by isolating/sandboxing the parsing process. Affects PdfPig versions up to and including 0.1.16. |
| Impact | This is an availability-only flaw (CVSS 4.0 VC:N/VI:N/VA:H) - a denial of service via uncontrolled recursion (CWE-674), not code execution or data exposure. The vector AV:N/AC:L/AT:N/PR:N/UI:N indicates a remote, unauthenticated, low-complexity, no-interaction trigger, which is why the base score reaches 8.7; however, the entire score is driven by the single high-availability impact plus easy reachability. The practical severity is amplified by one specific detail in the evidence: the resulting StackOverflowException is uncatchable in .NET, so a defending application cannot contain the crash with try/catch and the hosting process is terminated outright. Counterbalancing signals: no EPSS score was provided, the CVE is not listed in CISA KEV, and no standalone public exploit is identified - the vendor's own priority label is 'this_week' (not act_now/emergency), consistent with a readily-triggerable but impact-limited DoS. Real-world risk therefore hinges on exposure: it is a genuine priority for services that parse untrusted PDFs and read their form fields or optional content, but low concern for deployments that never process attacker-supplied documents. Note the attack vector is rated AV:N on the assumption that malicious PDFs are delivered over the network (uploads, email); for purely local file handling an AV:L reading would be defensible - verify against the deployment. |
| Exploit ScenarioDerived | An attacker uploads a crafted PDF to a service built on PdfPig - for example a document-ingestion, form-extraction, or indexing pipeline - in which an AcroForm field lists itself as its own /Kid (or two fields reference each other, or marked/optional content is nested to extreme depth). When the application reads the form fields or optional content, the parser recurses without bound and the worker process dies with an uncatchable StackOverflowException. The patch commit ships tests that reproduce these exact structures, but no standalone weaponized exploit is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 23, 2026
Uncontrolled recursion in UglyToad PdfPig through 0.1.16 lets a crafted PDF terminate the entire host process, because deeply self-referencing AcroForm field trees or extremely nested marked content drive AcroFormFactory.GetAcroField and Page.GetOptionalContentsRecursively into an uncatchable StackOverflowException. The CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:N with no confidentiality or integrity impact and high availability impact, so the flaw is triggered remotely without credentials or user interaction, but only when the consuming application actually reads form fields (for example via TryGetForm/GetFields) or optional content rather than merely opening the document. No public exploit code was identified at time of analysis and the issue is not listed in CISA KEV; upstream fix commits are present in the project repository.
RemediationAI
Apply the upstream fix: vendor patch data says a fix is available and the cve.org patch reference points to commit d1d74b19f2b4714ead5eef364fea51ee51a21e0b (https://github.com/UglyToad/PdfPig/commit/d1d74b19f2b4714ead5eef364fea51ee51a21e0b), which introduces recursion/cycle guards for AcroForm /Kids and marked-content nesting plus a bounded call limit in the content stream processor; because this is a commit rather than a tagged release, pin the library to that commit or a later packaged version and verify the chosen version contains it, as a released patched version number is not independently confirmed in the available data. If the library cannot be upgraded immediately, the effective compensating control is isolation: run PDF parsing in a separate, restartable worker process or sandbox with resource limits so that a StackOverflowException terminates only that process - note that no managed exception handling can catch the failure, so try/catch inside the host application provides no protection. A further reduction in exposure can be achieved by not invoking form-field or optional-content APIs (TryGetForm/GetFields, Page.GetOptionalContentsRecursively) on untrusted documents where that functionality is not required, and by rejecting or pre-screening PDFs with self-referential /Kids arrays or extreme nesting before they reach PdfPig; both approaches trade functionality for safety and do not repair the underlying flaw.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PdfPig is a .NET library for reading and creating PDF documents, and the flaw is CWE-674 (uncontrolled recursion) in two structural walkers. In the AcroForm path, AcroFormFactory.GetAcroField descends the /Kids hierarchy of form fields without detecting cycles or bounding depth, so a field whose /Kids array names its own object, or two fields that list each other as children, recurses until the stack is exhausted. In the content path, Page.GetOptionalContentsRecursively walks marked content / optional content structures whose nesting is likewise unbounded. The resulting StackOverflowException in .NET cannot be caught by managed exception handlers, so the failure is not recoverable at the application level and takes down the whole process. The upstream commit d1d74b19f2b4714ead5eef364fea51ee51a21e0b adds regression tests for these exact structures - a field listed as its own kid, two fields listing each other, a duplicated kid at every level, and fields nested to 10,000 levels - alongside a call-limit change in the content stream processor (ContentStreamProcessor.MaxFormXObjectCalls), confirming the fix couples recursion/cycle limits with bounded form invocation counting.
Know when Pdfpig gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Remote unauthenticated attacker supplies a crafted PDF (AV:N assuming network-delivered documents), recursion is deterministic so AC:L and PR:N/UI:N; impact is process crash only, hence C:N/I:N/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
A high-severity denial-of-service vulnerability in the PdfPig library (up to version 0.1.16) enables a maliciously crafted PDF to crash the entire application process, affecting any service that processes PDFs with form fields or optional content. This could disrupt business operations, causing downtime and potential service unavailability for customers and internal users, though data confidentiality and integrity remain unaffected.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-133103
GHSA-p7c2-wpq6-7vh2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB