Untriaged
Permalink
CVE-2026-55254
4.8 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Adjacent (A)
- Attack Complexity (AC): High (H)
- Privileges Required (PR): None (N)
- User Interaction (UI): Required (R)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): None (N)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Adjacent (A)
- Modified Attack Complexity (MAC): High (H)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Required (R)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): High (H)
Activity log
- Created suggestion
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.
References
-
https://github.com/ncalc/ncalc/security/advisories/GHSA-3w5p-95mh-gq75 x_refsource_CONFIRM
-
https://github.com/ncalc/ncalc/pull/575 x_refsource_MISC
-
https://github.com/ncalc/ncalc/releases/tag/v6.1.1 x_refsource_MISC
Affected products
ncalc
- ==< 6.1.1
Matching in nixpkgs
pkgs.ironcalc
Open source selfhosted spreadsheet engine
-
nixos-unstable 0.7.1-unstable-2026-04-29
- nixpkgs-unstable 0.7.1-unstable-2026-04-29
- nixos-unstable-small 0.7.1-unstable-2026-04-29
Package maintainers
-
@eljamm Fedi Jamoussi <fedi.jamoussi@protonmail.ch>
-
@ethancedwards8 Ethan Carter Edwards <ethan@ethancedwards.com>
-
@Prince213 Sizhe Zhao <prc.zhao@outlook.com>
-
@phanirithvij Phani Rithvij <phanirithvij2000@gmail.com>