CVE-2026-55254

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:ncalc:ncalc:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-07-17 20:17

Updated : 2026-08-18 15:44


NVD link : CVE-2026-55254

Mitre link : CVE-2026-55254

CVE.ORG link : CVE-2026-55254


JSON object : View

Products Affected

ncalc

  • ncalc
CWE
CWE-190

Integer Overflow or Wraparound

CWE-770

Allocation of Resources Without Limits or Throttling