CVE-2026-55254
Last modified
CVE-2026-55254 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ncalc | Ncalc | < 6.1.1 |
References
- https://github.com/ncalc/ncalc/pull/575Issue Tracking, Patch
- https://github.com/ncalc/ncalc/releases/tag/v6.1.1Product, Release Notes
- https://github.com/ncalc/ncalc/security/advisories/GHSA-3w5p-95mh-gq75Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-55254?
How severe is CVE-2026-55254?
How do I fix CVE-2026-55254?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-55247plone.app.event provides the event content type for Plone. P…9.1
- CVE-2026-55248plone.app.portlets provides portlets and a Plone-specific us…9.1
- CVE-2026-55249@rtk-ai/rtk-rewrite transparently rewrites shell commands ex…8.8
- CVE-2026-5525A stack-based buffer overflow vulnerability exists in Notepa…7.8
- CVE-2026-55250Maravel, a PHP framework oriented towards dependency injecti…8.7
- CVE-2026-55253LangChain MongoDB provides integrations between MongoDB, Atl…7.7
- CVE-2026-55255Langflow is a tool for building and deploying AI-powered age…8.4
- CVE-2026-55256In parsePartHeaders of multiple files, there is a possible p…6.5
- CVE-2026-5526A security flaw has been discovered in Tenda 4G03 Pro up to …9.8
- CVE-2026-5527A weakness has been identified in Tenda 4G03 Pro 1.0/1.0re/0…5.5
- CVE-2026-55273In AppendCommentLine of AnnotationProcessor.cpp, there is a …7.8
- CVE-2026-55276Always-Incorrect Control Flow Implementation vulnerability i…9.1
Are you affected by CVE-2026-55254?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
