ADVISORIES

Vulnerability

CVE-2024-21502

Versions of the package fastecdsa before 2.3.2 are vulnerable to Use of 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.

2 advisories report this vulnerability, across 1 ecosystem.

High severity PyPI 2

Advisories

  • GHSA-ph86-g9r3-5qw4

    Uninitialized Variable in fastecdsa

    High CVE-2024-21502 PyPI Updated 12 February 2025
  • PYSEC-2024-39

    Versions of the package fastecdsa before 2.3.2 are vulnerable to Use of Uninitialized Variable on the stack, via the curvemath_mul function in src/curveMath.c, due to being used and interpreted as user-defined type.…

    CVE-2024-21502 PyPI Updated 10 June 2026

References