NuGet
CVE-2026-142198
NCalc before 7.6.0 Uncontrolled Recursion Denial of Service via EvaluationVisitor
- Severity
- High 8.7
- Published
- 2 Dec 2026
- Last changed
- 2 Dec 2026
- Added to UpHeron
- 2 Dec 2026
- Fixed in
- 7.6.0
- Weakness
- Uncontrolled recursion (CWE-674)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS 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- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
NCalc.CoreNuGet · osv:NuGet:NCalc.Core |
|
About NCalc.Core
- Total downloads (NuGet)
- 5,315,691NuGet, 2 Dec 2026
Vulnerabilities in NCalc.Core
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 2
- Known exploited
- 0
- CVE-2026-142199NCalc before 7.5.0 CPU Exhaustion via Unbounded Pow BigDecimal ComputationHigh 8.2 2 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142198