CVE-2026-55254NCalc: Denial of Service via Unbounded and Non-Terminating Factorial Evaluation
- 4.8MediumCVSS base score
- 0.29%Exploitation in 30 daysEPSS · top 78% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 31 days later
· 31 days later
Published
- 3 days later
· 3 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium4.8 | CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVDNVD · Analyzed | 3.1 | Medium6.5 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.29% · top 78% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.8.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- NuGetNCalc.CoreGHSA-3w5p-95mh-gq75 (opens in a new tab)
- NuGetNCalcSyncGHSA-3w5p-95mh-gq75 (opens in a new tab)
References
References4
- https://github.com/ncalc/ncalc/security/advisories/GHSA-3w5p-95mh-gq75 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/ncalc/ncalc/pull/575 (opens in a new tab)x_refsource_MISC
- https://github.com/ncalc/ncalc/commit/eeb6155ee1899b1fdf2cda3da35a4f0ca93ffd6a (opens in a new tab)x_refsource_MISC
- https://github.com/ncalc/ncalc/releases/tag/v6.1.1 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-45304 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-3w5p-95mh-gq75 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-55254)Record last updated .