CVE-2026-55254

CVE-2026-55254CVE-2026-55254

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.

Scoring

CVSS 4.8 ()
VectorCVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Last modified2026-07-17
Sourced from NVD. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.