Live threats

All CVEs / Antonkueltz

CVE-2024-21502Antonkueltz Fastecdsa

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.3%
probability of exploitation in 30 days · percentile 70
Auth required
No
Published
Feb 24, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-457, CWE-908
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Fastecdsa.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI fastecdsa < 2.3.2 2.3.2 pip install "fastecdsa>=2.3.2"
PyPI fastecdsa < 2.3.2 2.3.2 pip install "fastecdsa>=2.3.2"

Per OSV / GitHub Advisories (GHSA-ph86-g9r3-5qw4, PYSEC-2024-39). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
antonkueltzfastecdsa< 2.3.2

Official sources

References

Links published by the sources. Open them with care.