Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
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.20
Fix Suggestion:
Update to version 7.5.0.20
https://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.0
Fix Suggestion:
Update to version v7.5.0
ncalc.core (NUGET):
Affected version(s) >=5.0.0 <7.5.0 || >=6.0.0 <7.5.0 || >=7.0.0 <7.5.0
Fix Suggestion:
Update to version 7.5.0
Do you need more information?
Contact Us
CVSS 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