P2 · HighCVSS 7.5EPSS 0.8%
NCalc before 7.6.0 Uncontrolled Recursion Denial of Service via EvaluationVisitor
- CVE-2026-142198
- GHSA-cf2f-gqhc-m94x
- EUVD-2026-141632
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.
Text from the CVE.org record.
Recommendation
NCalc
- If you run a version before 7.6.0update to 7.6.0 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
NCalc
Affected versions Fixed in before 7.6.0 7.6.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.