Vulnerability

CVE-2026-55254

mediumCVSS 3.1 6.5Published 17 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Ncalc ncalc

Weakness type

References

  • github.com /ncalc/ncalc/commit/eeb6155ee1899b1fdf2cda3da35a4f0ca93ffd6a
  • github.com /ncalc/ncalc/pull/575
  • github.com /ncalc/ncalc/releases/tag/v6.1.1
  • github.com /ncalc/ncalc/security/advisories/GHSA-3w5p-95mh-gq75

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning