CVE-2026-55254

MEDIUM CVSS 3.1: 6.5 EPSS 0.29%
Updated Aug 18, 2026
Ncalc
Parameter Value
CVSS 6.5 (MEDIUM)
Affected Versions before 6.1.1
Fixed In 6.1.1
Type CWE-770 (Allocation Without Limits), CWE-190 (Integer Overflow)
Vendor Ncalc
Public PoC No

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.

Attack Parameters

Attack Vector
Adjacent
Requires local network access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Ncalc Ncalc
cpe:2.3:a:ncalc:ncalc:*:*:*:*:*:*:*:*
— 6.1.1