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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

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

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-12-02T22:40:02.592Z

Reserved: 2026-12-02T15:28:37.718Z

Link: CVE-2026-142198

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-02T17:17:41.260

Modified: 2026-12-02T17:17:41.260

Link: CVE-2026-142198

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses