{"id":"CVE-2024-48948","aliases":["CVE-2024-48948","GHSA-fc9h-whq2-v747"],"related":[],"kind":"vulnerability","state":"published","title":"Valid ECDSA signatures erroneously rejected in Elliptic","summary":"The Elliptic package 6.5.7 for Node.js, in its for ECDSA implementation, does not correctly verify valid signatures if the hash contains at least four leading 0 bytes and when the order of the elliptic curve's base point is smaller than the hash, because of an _truncateToN anomaly. This leads to valid signatures being rejected. Legitimate transactions or communications may be incorrectly flagged as invalid.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Elliptic package 6.5.7 for Node.js, in its for ECDSA implementation, does not correctly verify valid signatures if the hash contains at least four leading 0 bytes and when the order of the elliptic curve's base point is smaller than the hash, because of an _truncateToN anomaly. This leads to valid signatures being rejected. Legitimate transactions or communications may be incorrectly flagged as invalid.","source":"cvelist"},{"lang":"en","text":"The Elliptic prior to 6.6.0 for Node.js, in its for ECDSA implementation, does not correctly verify valid signatures if the hash contains at least four leading 0 bytes and when the order of the elliptic curve's base point is smaller than the hash, because of an _truncateToN anomaly. This leads to valid signatures being rejected. Legitimate transactions or communications may be incorrectly flagged as invalid.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El paquete Elliptic 6.5.7 para Node.js, en su implementación para ECDSA, no verifica correctamente las firmas válidas si el hash contiene al menos cuatro bytes 0 iniciales y cuando el orden del punto base de la curva elíptica es menor que el hash, debido a una anomalía _truncateToN. Esto hace que se rechacen firmas válidas. Las transacciones o comunicaciones legítimas pueden marcarse incorrectamente como no válidas.","source":"nvd"}],"published":"2024-10-15T00:00:00.000Z","modified":"2026-06-17T07:59:06.013Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","score":4.8,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"LOW"}],"cwes":["CWE-347"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"version":"6.5.7","status":"affected"}],"vendor":"nodejs","product":"elliptic","cpe":"cpe:2.3:a:nodejs:elliptic:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.6.0"}],"ecosystem":"npm","package":"elliptic","purl":"pkg:npm/elliptic","source":"ghsa"},{"ranges":[{"status":"affected","version":"6.5.7"}],"vendor":"indutny","product":"elliptic","cpe":"cpe:2.3:a:indutny:elliptic:6.5.7:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/indutny/elliptic/pull/322","tags":["exploit","issue-tracking","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/indutny/elliptic/issues/321","tags":["exploit","issue-tracking","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://blog.trailofbits.com/2025/11/18/we-found-cryptography-bugs-in-the-elliptic-library-using-wycheproof/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20241220-0004/","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-48948","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/indutny/elliptic/commit/34c853478cec1be4e37260ed2cb12cdbdc6402cf","tags":["web"],"sources":["ghsa"]},{"url":"https://blog.trailofbits.com/2025/11/18/we-found-cryptography-bugs-in-the-elliptic-library-using-wycheproof","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/indutny/elliptic","tags":["package"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20241220-0004","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-10-15T13:57:37.235Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-48948","url":"https://www.cve.org/CVERecord?id=CVE-2024-48948","licence":"CVE Terms of Use","modified":"2025-11-25T15:41:32.403Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fc9h-whq2-v747","url":"https://github.com/advisories/GHSA-fc9h-whq2-v747","licence":"CC-BY-4.0","modified":"2025-11-27T08:58:35.614Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-48948","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-48948","licence":"Public domain","modified":"2026-06-17T07:59:06.013Z"}],"updatedAt":"2026-11-25T22:58:46.758Z","epss":{"score":0.00553,"percentile":0.47571,"date":"2026-12-01T12:00:22.000Z"}}