Read the docs
TI-2024-14259 Aliases CVE-2024-21502GHSA-ph86-g9r3-5qw4

Use of uninitialized resource in fastecdsa

Priority MEDIUM 41CWE-457Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-457 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01025 63rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed fastecdsa: 2.3.2fastecdsa (PyPI): 2.3.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—fastecdsabefore 2.3.22.3.2Patch availableCNA
—fastecdsa (PyPI)before 2.3.22.3.2Patch availableGHSA-ph86-g9r3-5qw4
  • fastecdsa Vendor— Affected before 2.3.2 Fixed in 2.3.2 Patch available CNA
  • fastecdsa (PyPI) Vendor— Affected before 2.3.2 Fixed in 2.3.2 Patch available GHSA-ph86-g9r3-5qw4

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:antonkueltz:fastecdsa:*:*:*:*:*:*:*:*before 2.3.2VulnerableAntonkueltz
  • cpe:2.3:a:antonkueltz:fastecdsa:*:*:*:*:*:*:*:* Versions before 2.3.2 Vulnerable ·Antonkueltz

Remediation

  • Fix · CNA fastecdsa Fixed in 2.3.2
  • Fix · GHSA-ph86-g9r3-5qw4 fastecdsa (PyPI) Fixed in 2.3.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-21502
  2. 2026-10-03 Alias added: GHSA-ph86-g9r3-5qw4

References

  • TI-2020-10031 An issue was discovered in fastecdsa before 2.1.2. CVSS 3.1HIGH 7.5

Sources