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

No configuration.

History

17 Jul 2026, 20:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-17 20:17

Updated : 2026-07-23 16:13


NVD link : CVE-2026-55254

Mitre link : CVE-2026-55254

CVE.ORG link : CVE-2026-55254


JSON object : View

Products Affected

No product.

CWE
CWE-190

Integer Overflow or Wraparound

CWE-770

Allocation of Resources Without Limits or Throttling