Unrated severityNVD Advisory· Published Dec 2, 2026
NCalc before 7.5.0 CPU Exhaustion via Unbounded Pow BigDecimal Computation
CVE-2026-142199
Description
NCalc before 7.5.0 contains an uncontrolled resource consumption vulnerability in MathHelper.Pow that allows attackers to exhaust CPU by supplying uncapped exponents with decimal operands. Attackers can submit expressions like Pow with a decimal base and huge exponent to hold server threads for seconds to hours, exhausting CPU and worker threads.
Patches
Vulnerability mechanics
References
5- github.com/ncalc/ncalc/commit/45349916ffa577936453e2aac619d0619de559a4mitrepatch
- www.vulncheck.com/advisories/ncalc-before-7.5.0-cpu-exhaustion-via-unbounded-pow-bigdecimal-computationmitrethird-party-advisory
- github.com/ncalc/ncalc/blob/v7.4.0/src/NCalc.Core/Helpers/MathHelper.csmitretechnical-description
- github.com/ncalc/ncalc/issues/639mitreissue-tracking
- github.com/ncalc/ncalc/releases/tag/v7.5.0mitrerelease-notes
News mentions
0No linked articles in our index yet.