{"cve":"CVE-2024-21502","nvd":{"published":"2024-02-24T05:15:44.643","modified":"2026-06-17T07:09:37.790","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-908","CWE-457"],"references":["https://gist.github.com/keltecc/49da037072276f21b005a8337c15db26","https://github.com/AntonKueltz/fastecdsa/blob/v2.3.1/src/curveMath.c%23L210","https://github.com/AntonKueltz/fastecdsa/commit/57fc5689c95d649dab7ef60cc99ac64589f01e36","https://security.snyk.io/vuln/SNYK-PYTHON-FASTECDSA-6262045","https://gist.github.com/keltecc/49da037072276f21b005a8337c15db26"],"products":["antonkueltz:fastecdsa"],"source":"nvd","synced_at":"2026-10-19T21:45:59.823092188+00:00"},"epss":{"cve":"CVE-2024-21502","score":0.01034,"percentile":0.63854,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-ph86-g9r3-5qw4","url":"https://osv.dev/vulnerability/GHSA-ph86-g9r3-5qw4","summary":"Uninitialized Variable in fastecdsa","modified":"2025-02-12T22:26:52.677512Z","packages":[{"ecosystem":"PyPI","name":"fastecdsa","purl":"pkg:pypi/fastecdsa","ranges":["<2.3.2"],"fixed":["2.3.2"]}]},{"id":"PYSEC-2024-39","url":"https://osv.dev/vulnerability/PYSEC-2024-39","summary":"","modified":"2026-06-10T17:01:16.815475179Z","packages":[{"ecosystem":"PyPI","name":"fastecdsa","purl":"pkg:pypi/fastecdsa","ranges":["<2.3.2"],"fixed":["2.3.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}