nuget package report

Is NCalcSync safe?

1 known vulnerability, worst severity MODERATE.

// reach

0 direct dependencies

none carry a known advisory

    0 packages depend on it

    an advisory here reaches each of them

      Create a free accountfor every dependency path, dependent and what to upgrade
      // ai model usage

      Tracked for PyPI packages. HuggingFace models declare Python dependencies, so nuget packages are not covered.


      cvss
      0.0
      medium

      severity out of 10

      epss
      0.00%
      low

      chance of exploitation in 30 days, 19th percentile of all CVEs

      xyz score
      not scored

      CyberXYZ composite out of 10

      fig. 01 — GHSA-3w5p-95mh-gq75, the advisory selected below

      // 1 advisories

      GHSA-3w5p-95mh-gq75

      MODERATECVE-2026-55254
      // impact

      A denial-of-service (DoS) vulnerability exists in the factorial operator implementation of NCalc. Specially crafted expressions containing extremely large factorial operands can trigger excessive CPU consumption or cause evaluation to enter a non-terminating loop due to integer overflow in the factorial calculation logic.

      Applications that evaluate untrusted expressions using affected versions of NCalc may be vulnerable to resource exhaustion, potentially resulting in service disruption or application unresponsiveness.

      This issue can be triggered with expressions such as:

      99999999999999!
      9223372036854775807!
      1.5e16!
      // patches

      The vulnerability has been fixed by adding bounds validation for factorial operands and rejecting unsupported values before evaluation.

      Users should upgrade to the first release containing the fix from pull request #575. (v6.1.1+)

      // workarounds

      If upgrading is not immediately possible:

      • Do not evaluate expressions originating from untrusted users.
      • Validate or sanitize expressions before evaluation and reject factorial operations on large values.
      • Implement execution time limits, request timeouts, or cancellation mechanisms around expression evaluation.

      These mitigations may reduce exposure but do not fully address the underlying vulnerability.

      // cvss v3.1 vector

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

      Attack vector
      Adjacent
      Attack complexity
      High
      Privileges required
      None
      User interaction
      Required
      Scope
      Unchanged
      Confidentiality
      None
      Integrity
      None
      Availability
      High

      Checked 2026-09-26 at 01:03 UTC. The most recent advisory here was published 2026-06-18. Updated continuously from NVD, GHSA, OSV and CNA feeds.

      Think a verdict here is wrong? Tell us — we respond within 2 business days.