CVE-2026-55254: NCalc is a fast, lightweight expression evaluator for .NET
CVE-2026-55254 is a medium-severity flaw (CVSS 4.8) affecting ncalc. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Last updated 2026-08-18 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-55254?
ncalc: upgrade to 6.1.1. Exact commands for each OS are on this page.
Is CVE-2026-55254 being exploited?
CVE-2026-55254 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-55254 affect?
CVE-2026-55254 affects ncalc. Severity is medium (CVSS 4.8). 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
How urgent is CVE-2026-55254?
Priority 22/100. No elevated risk signals yet.