CVE-2026-142199: NCalc before 7.5.0 CPU Exhaustion via Unbounded Pow BigDecimal Computation

Published Dec 2, 2026
·
Updated

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 Software

1 affected component
nuget/NCalc<7.5.0

Event History

Dec 2, 2026
CVE Published
via MITRE·04:50 PM
Data Sourced
via MITRE·04:50 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are most exposed?

Deployments that evaluate NCalc expressions submitted by remote, untrusted users are exposed, particularly where those users can supply decimal operands and very large exponents. The impact is CPU and worker-thread exhaustion rather than data disclosure or modification.

2

What does an attacker need to exploit this?

An attacker needs the ability to submit an expression containing Pow with a decimal base and an uncapped, very large exponent. No privileges or user interaction are required, but exploitation has high attack complexity.

3

What version should be used to remediate this issue?

Upgrade NCalc to version 7.5.0 or later. Versions before 7.5.0 are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203