CVE-2026-142199: Vulnerability in NCalc

Patch soon. 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.

CWE-407

Exploitation
None confirmed
Severity
8.2 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-6g2c-pc9v-4cff
Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-407
Published
2 Dec 2026
Last change
5 Dec 2026

Affected products

Affected versions and the first fixed release

  • NCalc Before 7.5.0. Fixed in 7.5.0

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related