Live threats

All CVEs / Ncalc

CVE-2026-55254Ncalc

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
—
Auth required
No
Published
Jul 17, 2026
Updated
Aug 18, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190, CWE-770
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

NCalc is a fast, lightweight expression evaluator for .NET. Prior to 6.1.1, the factorial operator implementation in src/NCalc.Core/Helpers/MathHelper.cs permits specially crafted expressions with extremely large factorial operands, causing excessive CPU consumption or a non-terminating loop due to integer overflow in the factorial calculation logic when applications evaluate untrusted expressions. This issue is fixed in version 6.1.1.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ncalc.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
NuGet NCalc.Core < 6.1.1 6.1.1 dotnet add package NCalc.Core --version 6.1.1
NuGet NCalcSync < 6.1.1 6.1.1 dotnet add package NCalcSync --version 6.1.1

Per OSV / GitHub Advisories (GHSA-3w5p-95mh-gq75). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ncalcncalc< 6.1.1

Official sources

References

Links published by the sources. Open them with care.