CVE-2026-142199
Published:December 02, 2026
Updated:December 03, 2026
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.
Affected Packages
NCalc.Core.dll (DOT_NET):
Affected version(s) >=7.0.0.2 <7.5.0.20 || >=6.0.0.4 <7.5.0.20 || >=5.0.0.5 <7.5.0.20Fix Suggestion:
Update to version 7.5.0.20https://github.com/ncalc/ncalc.git (GITHUB):
Affected version(s) >=v5.0.0 <v7.5.0 || =5.2.1 <v7.5.0 || >=v6.0.0 <v7.5.0 || >=v7.0.0 <v7.5.0Fix Suggestion:
Update to version v7.5.0ncalc.core (NUGET):
Affected version(s) >=5.0.0 <7.5.0 || >=6.0.0 <7.5.0 || >=7.0.0 <7.5.0Fix Suggestion:
Update to version 7.5.0Related Resources (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Inefficient Algorithmic Complexity