{"affected":[{"defaultStatus":"unaffected","ecosystem":"nuget","packageName":"NCalc.Core","product":"NCalc","source":"CNA: VulnCheck","vendor":"ncalc","versions":[{"lessThan":"7.6.0","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-142198","cwes":["CWE-674"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":8.7,"severity":"high","source":"CNA: VulnCheck","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","version":"4.0"},{"score":7.5,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"score":8.7,"severity":"high","source":"NVD: disclosure@vulncheck.com","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"score":7.5,"severity":"high","source":"NVD: disclosure@vulncheck.com","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}],"modifiedAt":1796253516633,"publishedAt":1796230251582,"references":[{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/ncalc/ncalc/blob/v7.5.0/src/NCalc.Core/Visitors/EvaluationVisitor.cs#L69-L74"},{"source":"CNA: VulnCheck","tags":["issue-tracking","patch"],"url":"https://github.com/ncalc/ncalc/pull/657"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/ncalc/ncalc/commit/f1c03383ff87d7599b881713dd62fecaac1d4b8e"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/ncalc/ncalc/releases/tag/v7.6.0"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/ncalc-before-7.6.0-uncontrolled-recursion-denial-of-service-via-evaluationvisitor"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/ncalc/ncalc/blob/v7.5.0/src/NCalc.Core/Visitors/EvaluationVisitor.cs#L69-L74"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/ncalc/ncalc/commit/f1c03383ff87d7599b881713dd62fecaac1d4b8e"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/ncalc/ncalc/pull/657"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/ncalc/ncalc/releases/tag/v7.6.0"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://www.vulncheck.com/advisories/ncalc-before-7.6.0-uncontrolled-recursion-denial-of-service-via-evaluationvisitor"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/ncalc/ncalc/pull/657"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/ncalc/ncalc/commit/f1c03383ff87d7599b881713dd62fecaac1d4b8e"}],"revision":"80bdc0058aa79a8467ed3dc5528000fe5bbba7ebf9722c5e36a668c26a6ca865","sources":[{"modifiedAt":1796251202592,"name":"CNA: VulnCheck","retrievedAt":1796252949968,"url":"https://www.cve.org/CVERecord?id=CVE-2026-142198"},{"modifiedAt":1796253516633,"name":"NVD","retrievedAt":1796257283296,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142198"}],"ssvc":{"assessedAt":1796251191303,"automatable":"yes","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"NCalc before 7.6.0 Uncontrolled Recursion Denial of Service via EvaluationVisitor","updatedAt":1796257283296}