CVE-2026-55254 json
NCalc: Denial of Service via Unbounded and Non-Terminating Factorial Evaluation
published 2026-06-18 4 mo ago modified 2026-08-18 2 mo ago also GHSA-3w5p-95mh-gq75 , EUVD-2026-45304
- cvss
- 4.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 21%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- nuget NCalc.Core 6.1.1
- nuget NCalcSync 6.1.1
- ncalc ncalc 6.1.1
- github.com/ncalc/ncalc@eeb6155 commit
- github.com/ncalc/ncalc#575 pull request
- github.com/ncalc/ncalc/releases/tag/v6.1.1 release
- github.com/ncalc/ncalc/security/advisories/GHSA-3w5p-95mh-gq75 advisory
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.29% chance of exploitation in the next 30 days, higher than 21% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.8 | CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 4.8 | CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | NCalc.Core | <6.1.1 |
6.1.1 |
| nuget | NCalcSync | <6.1.1 |
6.1.1 |
Affected products
- ncalc ncalc
Classification
References
-
github.com
/ncalc/ncalc/pull/575
web, issue-tracking, patch
-
github.com
/ncalc/ncalc/commit/eeb6155ee1899b1fdf2cda3da35a4f0ca93ffd6a
patch
-
github.com
/ncalc/ncalc/security/advisories/GHSA-3w5p-95mh-gq75
web, patch, vendor-advisory
-
github.com
/ncalc/ncalc/releases/tag/v6.1.1
product, release-notes
-
github.com
/ncalc/ncalc
package
Sources
- CVE List CVE-2026-55254
- GitHub Advisory GHSA-3w5p-95mh-gq75
- NVD CVE-2026-55254
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.