CVE Explorer
CVE-2026-55254
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-190","description":"CWE-190: Integer Overflow or Wraparound","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6addd7d2aa4bd6a765e6cb56d397ce74b4fb243dab33cf06adb3c1ebfbc131c8 · sha256:cd759c4995e97d9d… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-770","description":"CWE-770: Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6addd7d2aa4bd6a765e6cb56d397ce74b4fb243dab33cf06adb3c1ebfbc131c8 · sha256:cd759c4995e97d9d… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"ncalc","vendor":"ncalc","versions":[{"status":"affected","version":"< 6.1.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:6addd7d2aa4bd6a765e6cb56d397ce74b4fb243dab33cf06adb3c1ebfbc131c8 · sha256:cd759c4995e97d9d… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"ADJACENT_NETWORK","availabilityImpact":"HIGH","baseScore":4.8,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6addd7d2aa4bd6a765e6cb56d397ce74b4fb243dab33cf06adb3c1ebfbc131c8 · sha256:cd759c4995e97d9d… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-190","description":"CWE-190: Integer Overflow or Wraparound","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6addd7d2aa4bd6a765e6cb56d397ce74b4fb243dab33cf06adb3c1ebfbc131c8 · sha256:cd759c4995e97d9d… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-770","description":"CWE-770: Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6addd7d2aa4bd6a765e6cb56d397ce74b4fb243dab33cf06adb3c1ebfbc131c8 · sha256:cd759c4995e97d9d… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/ncalc/ncalc/commit/eeb6155ee1899b1fdf2cda3da35a4f0ca93ffd6a","tags":["x_refsource_MISC"],"url":"https://github.com/ncalc/ncalc/commit/eeb6155ee1899b1fdf2cda3da35a4f0ca93ffd6a"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6addd7d2aa4bd6a765e6cb56d397ce74b4fb243dab33cf06adb3c1ebfbc131c8 · sha256:cd759c4995e97d9d… · /containers/cna/references/2
{"name":"https://github.com/ncalc/ncalc/pull/575","tags":["x_refsource_MISC"],"url":"https://github.com/ncalc/ncalc/pull/575"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6addd7d2aa4bd6a765e6cb56d397ce74b4fb243dab33cf06adb3c1ebfbc131c8 · sha256:cd759c4995e97d9d… · /containers/cna/references/1
{"name":"https://github.com/ncalc/ncalc/releases/tag/v6.1.1","tags":["x_refsource_MISC"],"url":"https://github.com/ncalc/ncalc/releases/tag/v6.1.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6addd7d2aa4bd6a765e6cb56d397ce74b4fb243dab33cf06adb3c1ebfbc131c8 · sha256:cd759c4995e97d9d… · /containers/cna/references/3
{"name":"https://github.com/ncalc/ncalc/security/advisories/GHSA-3w5p-95mh-gq75","tags":["x_refsource_CONFIRM"],"url":"https://github.com/ncalc/ncalc/security/advisories/GHSA-3w5p-95mh-gq75"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6addd7d2aa4bd6a765e6cb56d397ce74b4fb243dab33cf06adb3c1ebfbc131c8 · sha256:cd759c4995e97d9d… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.