All reports
High

Uninitialized Variable in fastecdsa

Affected versions

Version ranges need review.

Affected versions
<2.3.2
Fixed version
2.3.2
Affected versions
< 2.3.2
Fixed version
2.3.2

Exploitation

CVE-2024-21502

Probability of exploitation in the next 30 days: 1.03%

FIRST EPSS · 2026-11-19

Description

Versions of the package fastecdsa before 2.3.2 use an Uninitialized Variable on the stack, via the curvemath_mul function in src/curveMath.c, due to being used and interpreted as user-defined type. Depending on the variable's actual value it could be arbitrary free(), arbitrary realloc(), null pointer dereference and other. Since the stack can be controlled by the attacker, the vulnerability could be used to corrupt allocator structure, leading to possible heap exploitation. The attacker could cause denial of service by exploiting this vulnerability.

Links