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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-674"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142198.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "7.6.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "7.6.0"
}
],
"source": "CPE_FIELD",
"strategy": "CPEApplicability"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "7.6.0"
}
],
"source": "DESCRIPTION"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"fixed": "f1c03383ff87d7599b881713dd62fecaac1d4b8e"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v7.6.0",
"range": [
{
"fixed": "4af67e938992d5fbe018b184bb83f6c64d4bec7c"
}
],
"source": "REFERENCES_TAG"
}
]
}