All vulnerabilities

NuGet

CVE-2026-142199

NCalc before 7.5.0 CPU Exhaustion via Unbounded Pow BigDecimal Computation

Severity
High 8.2
Published
2 Dec 2026
Last changed
2 Dec 2026
Added to UpHeron
2 Dec 2026
Fixed in
7.5.0
Weakness
Inefficient algorithmic complexity (CWE-407)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Take it down
CVSS 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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
NCalc.CoreNuGet · osv:NuGet:NCalc.Core
  • Every version before 7.5.0

About NCalc.Core

Total downloads (NuGet)
5,315,691NuGet, 2 Dec 2026

Vulnerabilities in NCalc.Core

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
2
Known exploited
0
Search the list for NCalc.Core

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142199