{"id":"CVE-2026-142198","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-142198","summary":"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…","details":"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.","published":"2026-12-02T17:17:41.260","modified":"2026-12-02T17:17:41.260","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/ncalc/ncalc/commit/f1c03383ff87d7599b881713dd62fecaac1d4b8e","label":"ncalc/ncalc@f1c0338"},"references":[{"type":"WEB","url":"https://github.com/ncalc/ncalc/blob/v7.5.0/src/NCalc.Core/Visitors/EvaluationVisitor.cs#L69-L74"},{"type":"WEB","url":"https://github.com/ncalc/ncalc/commit/f1c03383ff87d7599b881713dd62fecaac1d4b8e"},{"type":"WEB","url":"https://github.com/ncalc/ncalc/pull/657"},{"type":"WEB","url":"https://github.com/ncalc/ncalc/releases/tag/v7.6.0"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/ncalc-before-7.6.0-uncontrolled-recursion-denial-of-service-via-evaluationvisitor"}],"provenance":{"sources":["OSV.dev","NVD","FIRST.org (EPSS)"],"lastVerified":"2026-12-02T17:17:41.260"}}