{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-55254","id":"CVE-2026-55254","title":"NCalc: Denial of Service via Unbounded and Non-Terminating Factorial Evaluation","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","descriptionLong":"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.","published":"2026-07-17T19:55:16.728Z","updated":"2026-10-28T02:30:33.271316214Z","reserved":"2026-06-16T16:44:00.625Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["ncalc"],"affectedProducts":[{"vendor":"ncalc","product":"ncalc","defaultStatus":null,"versions":[{"version":"< 6.1.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"NuGet","name":"NCalc.Core","purl":"pkg:nuget/NCalc.Core","ranges":["<6.1.1"],"fixed":["6.1.1"],"advisory":"GHSA-3w5p-95mh-gq75"},{"ecosystem":"NuGet","name":"NCalcSync","purl":"pkg:nuget/NCalcSync","ranges":["<6.1.1"],"fixed":["6.1.1"],"advisory":"GHSA-3w5p-95mh-gq75"}],"cwes":["CWE-770","CWE-190"],"aliases":["GHSA-3w5p-95mh-gq75"],"references":[{"url":"https://github.com/ncalc/ncalc/security/advisories/GHSA-3w5p-95mh-gq75","tags":["x_refsource_CONFIRM","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/ncalc/ncalc/pull/575","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/ncalc/ncalc/commit/eeb6155ee1899b1fdf2cda3da35a4f0ca93ffd6a","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/ncalc/ncalc/releases/tag/v6.1.1","tags":["x_refsource_MISC","Product","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55254.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55254","tags":["advisory"]},{"url":"https://github.com/ncalc/ncalc","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00292,"epssPercentile":0.22138,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-55254","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55254","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-55254","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3w5p-95mh-gq75","ok":true,"note":"GHSA-3w5p-95mh-gq75"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-55254","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}