> CVE-2026-55254 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-07-17 20:17
MODIFIED
2026-07-17 20:17
CVSS_SCORE V3
4.8
EPSS (Prob. Exploit)
0.29%
Top 79.3%
DATA SOURCES:
NVD đź”— 2026-07-17 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-10-29 OSV đź”— 2026-07-23

> 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. This issue is fixed in version 6.1.1.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
EXPLOITABILITY
1.2
IMPACT
3.6

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Adjacent (A)
Exploit nécessite un accès au segment réseau local
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-190 CWE-770

> CWE DETAILED DESCRIPTIONS

CWE-190: Integer Overflow or Wraparound - The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number. | CWE-770: Allocation of Resources Without Limits or Throttling - The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.

> GITHUB SECURITY ADVISORY

GHSA-3w5p-95mh-gq75 MODERATE

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

AFFECTED PACKAGES:
NUGET / NCalcSync
< 6.1.1
Fixed in: 6.1.1
NUGET / NCalc.Core
< 6.1.1
Fixed in: 6.1.1

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

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

AFFECTED PACKAGES:
Unknown / Unknown
8 versions affected
ALIASES:
GHSA-3w5p-95mh-gq75

> HISTORIQUE DES MODIFICATIONS

Première apparition
17/07/2026 20:17
Source: NVD
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-190: Integer Overflow or Wraparound - The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will a...
Total des modifications: 1 Dernière mise à jour: 3 months ago

> REFERENCES

https://github.com/ncalc/ncalc/commit/eeb6155ee1899b1fdf2cda3da35a4f0ca93ffd6a
https://github.com/ncalc/ncalc/pull/575
https://github.com/ncalc/ncalc/releases/tag/v6.1.1
https://github.com/ncalc/ncalc/security/advisories/GHSA-3w5p-95mh-gq75
« BACK_TO_HOME