CVE-2026-55254
published medium CVSS 3.1 · 4.8NCalc: Denial of Service via Unbounded and Non-Terminating Factorial Evaluation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ncalc | — | ncalc< 6.1.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ncalc | ncalc | < 6.1.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
- CWE-190 CWE-190: Integer Overflow or Wraparound
References
4Provider assertions
2GitHub_M · cna
NCalc: Denial of Service via Unbounded and Non-Terminating Factorial Evaluation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 16eec9e055afcb86ea95300b39162ae874991b2f90ea39991f1e1f7115981f6a
- Ingested
- 23 Sep 2026, 09:21:01 UTC
- Source record
- Official CVE record