NCalc before 7.5.0 contains an uncontrolled resource consumption vulnerability in MathHelper.Pow that allows attackers to exhaust CPU by…
CVE-2026-142199
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.
Assessment
- CVSS
- 8.2 (v4.0)
- Severity
- High
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 2 December 2026
- Last updated
- 2 December 2026
- Weakness
- CWE-407
- Assigner
- disclosure@vulncheck.com
CVSS vectorCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
At the source
References
- https://github.com/ncalc/ncalc/blob/v7.4.0/src/NCalc.Core/Helpers/MathHelper.cs#L285-L301
- https://github.com/ncalc/ncalc/commit/45349916ffa577936453e2aac619d0619de559a4
- https://github.com/ncalc/ncalc/issues/639
- https://github.com/ncalc/ncalc/releases/tag/v7.5.0
- https://www.vulncheck.com/advisories/ncalc-before-7.5.0-cpu-exhaustion-via-unbounded-pow-bigdecimal-computation
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-142199