NCalc before 7.6.0 contains an uncontrolled recursion vulnerability that allows attackers to crash the host process by supplying long flat chains of operators. Attackers can submit an expression of a few thousand chained unary negation, factorial, or addition terms that recursively exhausts the thread stack in EvaluationVisitor, triggering an uncatchable StackOverflowException that terminates the application.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 02 Dec 2026 17:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | NCalc before 7.6.0 contains an uncontrolled recursion vulnerability that allows attackers to crash the host process by supplying long flat chains of operators. Attackers can submit an expression of a few thousand chained unary negation, factorial, or addition terms that recursively exhausts the thread stack in EvaluationVisitor, triggering an uncatchable StackOverflowException that terminates the application. | |
| Title | NCalc before 7.6.0 Uncontrolled Recursion Denial of Service via EvaluationVisitor | |
| First Time appeared |
Ncalc
Ncalc ncalc |
|
| Weaknesses | CWE-674 | |
| CPEs | cpe:2.3:a:ncalc:ncalc:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Ncalc
Ncalc ncalc |
|
| References |
|
|
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-12-02T22:40:02.592Z
Reserved: 2026-12-02T15:28:37.718Z
Link: CVE-2026-142198
No data.
Status : Received
Published: 2026-12-02T17:17:41.260
Modified: 2026-12-02T17:17:41.260
Link: CVE-2026-142198
No data.
OpenCVE Enrichment
No data.
Weaknesses