{"answers":{"affected":"2 open source packages ship an affected version, including elliptic.","exploited":"There is no known exploitation of CVE-2025-14505 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2025-14505 is a medium-severity vulnerability in Elliptic, published on 8 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-14505 and fix it if it is affected.\n\nWhat it is: CVE-2025-14505 is a medium-severity vulnerability in Elliptic, published on 8 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-14505 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- elliptic (npm): affected all versions up to 6.6.1; no fix listed\n- elliptic (npm): affected all versions up to 6.6.1; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-14505/ (Markdown: https://insights.sbomify.com/CVE-2025-14505/index.md)","id":"CVE-2025-14505","markdown":"https://insights.sbomify.com/CVE-2025-14505/index.md","name":"CVE-2025-14505","record":{"aliases":["CLSA-2026-1772583206","CLSA-2026-1789597571","DEBIAN-CVE-2025-14505","GHSA-848j-6mx2-7j84","UBUNTU-CVE-2025-14505"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript cryptography library","requires_auth":"none","summary":"Flawed ECDSA signature generation in the Elliptic library allows attackers to derive private keys and causes legitimate transaction failures.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"HeroDevs","cpe":[],"cvss":{"score":5.6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-1240","name":"Use of a Cryptographic Primitive with a Risky Implementation"}],"description":"The ECDSA implementation of the Elliptic package generates incorrect signatures if an interim value of 'k' (as computed based on step 3.2 of  RFC 6979 https://datatracker.ietf.org/doc/html/rfc6979 ) has leading zeros and is susceptible to cryptanalysis, which can lead to secret key exposure. This happens, because the byte-length of 'k' is incorrectly computed, resulting in its getting truncated during the computation. Legitimate transactions or communications will be broken as a result. Furthermore, due to the nature of the fault, attackers could–under certain conditions–derive the secret key, if they could get their hands on both a faulty signature generated by a vulnerable version of Elliptic and a correct signature for the same inputs.\n\nThis issue affects all known versions of Elliptic (at the time of writing, versions less than or equal to 6.6.1).","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Elliptic Cryptanalysis vulnerability when `k` has leading zeros","id":"CVE-2025-14505","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"weak_cryptography","year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"ConvertForce Popup Builder \u003c= 0.0.7 - Stored Cross-Site Scripting via entrance_animation","id":"CVE-2025-14506"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["6.6.1"],"package":"elliptic","purl":null,"source":"GHSA-848j-6mx2-7j84"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["6.6.1"],"package":"elliptic","purl":"pkg:npm/elliptic","source":"GHSA-848j-6mx2-7j84"}],"prev":{"headline":"IBM Sterling B2B Integrator and IBM Sterling File Gateway Cross-Site Scripting","id":"CVE-2025-14504"},"products":["Elliptic"],"published":"2026-01-08","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-01-08","vendors":["N/A"]},"summary":"Flawed ECDSA signature generation in the Elliptic library allows attackers to derive private keys and causes legitimate transaction failures.","url":"https://insights.sbomify.com/CVE-2025-14505/"}