Security mailing lists by PureSourceCode

CVE-2026-55254

MEDIUM 6.5CVSS 3.1

NCalc: Denial of Service via Unbounded and Non-Terminating Factorial Evaluation

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
17 Jul 2026
Last modified
18 Aug 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-190CWE-770
Also known as
GHSA-3w5p-95mh-gq75
Sources
NVDJSONOSV GHSA-3w5p-95mh-gq75JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.8 CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 4.8 CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ncalc ncalc
cpe:2.3:a:ncalc:ncalc:*:*:*:*:*:*:*:*
< 6.1.1 6.1.1
OSV NuGet NCalc.Core < 6.1.1 6.1.1
OSV NuGet NCalcSync < 6.1.1 6.1.1

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 17 Jul 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.