{"id":"CVE-2026-55254","sourceIdentifier":"security-advisories@github.com","published":"2026-07-17T20:17:27.023","lastModified":"2026-08-18T15:44:07.357","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"ncalc","product":"ncalc","versions":[{"version":"< 6.1.1","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","baseScore":4.8,"baseSeverity":"MEDIUM","attackVector":"ADJACENT_NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.2,"impactScore":3.6},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"ADJACENT_NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-20T18:06:03.191078Z","id":"CVE-2026-55254","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-190"},{"lang":"en","value":"CWE-770"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ncalc:ncalc:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.1","matchCriteriaId":"4324B778-60F1-4BA5-B868-F54B638D257E"}]}]}],"references":[{"url":"https://github.com/ncalc/ncalc/commit/eeb6155ee1899b1fdf2cda3da35a4f0ca93ffd6a","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/ncalc/ncalc/pull/575","source":"security-advisories@github.com","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/ncalc/ncalc/releases/tag/v6.1.1","source":"security-advisories@github.com","tags":["Product","Release Notes"]},{"url":"https://github.com/ncalc/ncalc/security/advisories/GHSA-3w5p-95mh-gq75","source":"security-advisories@github.com","tags":["Patch","Vendor Advisory"]}]}