Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Versions of github.com/ecies/go/v2 before 2.0.8 are affected. The ECDH function does not check whether a supplied public key lies on the curve, so an attacker who can supply a crafted public key that is not on the curve may be able to recover the private key. Upgrade to version 2.0.8. If upgrading is not possible, manually validate public keys by calling the IsOnCurve function from the secp256k1 library before passing them to ECDH.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 4.9 | Medium | 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0034, the 27th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
Sources
- GitHub Advisory Database: GHSA-8j98-cjfr-qx3h
- OSV: GHSA-8j98-cjfr-qx3h
- github.com/ecies/go/security/advisories/GHSA-8j98-cjfr-qx3h
- github.com/ecies/go/commit/c6e775163866d6ea5233eb8ec8530a9122101ebd
- github.com/ashutosh1206/Crypton/blob/master/Diffie-Hellman-Key-Exchange/Attack-Invalid-Curve-Point/README.md