HackerFeeds
All CVEs

CVE-2026-142199: NCalc Algorithmic Complexity DoS

MEDIUM5.9

Published 2026-12-02 · Updated 2026-12-05 · Source disclosure@vulncheck.com

Not known to be exploited · medium severity — update NCalc to 7.5.0 or later on your normal schedule.

What to do

  1. Update NCalc to version 7.5.0 or later. Versions before 7.5.0 are affected.
  2. Until it is patched, do not leave NCalc reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
  3. Limit input size and apply request timeouts in front of the affected service.

Affected and fixed versions

ProductAffectedFixed in
NCalc< 7.5.07.5.0

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact on availability is rated high.

CVSS 3.1 metrics for CVE-2026-142199
Attack vectorNetworkIt can be exploited remotely over the network.
Attack complexityHighSuccess depends on conditions outside the attacker's control.
Privileges requiredNoneThe attacker does not need an account.
User interactionNoneNo action by a victim is needed.
ConfidentialityNoneNo effect on confidentiality.
IntegrityNoneNo effect on integrity.
AvailabilityHighTotal loss of availability.

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: Algorithmic Complexity DoS

Crafted input triggers worst-case processing time, tying up the service.

Classified as CWE-407.

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.

Advisory text as published in the NVD record.

View on NVD