AploSec / Disclosures / CVE-2026-142199

High 8.2ReportedFixed in 7.5.0CWE-407NuGet

NCalc before 7.5.0 CPU Exhaustion via Unbounded Pow BigDecimal Computation

CVE-2026-142199 · published 2026-12-02

In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). A fixed release is listed.

Summary

CVE-2026-142199 affects NCalc (NuGet) < 7.5.0: CPU Exhaustion via Unbounded Pow BigDecimal Computation (CWE-407). Fixed in 7.5.0. CVSS 4.0 base score 8.2 (High), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

Upgrade NCalc to 7.5.0 or later. Releases in the affected range (< 7.5.0) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-12-02 CVE published

References

Severity
High 8.2CVSS 4.0, scored by VulnCheck in the CVE record
Package
NCalc
Ecosystem
NuGet
Affected
< 7.5.0
Fixed
7.5.0
Weakness
CWE-407
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder