{"id":"CVE-2023-49292","aliases":["GHSA-8j98-cjfr-qx3h","GO-2023-2380"],"url":"https://o3.security/vulnerability/CVE-2023-49292","summary":"Possible private key restoration in go package github.com/ecies/go","details":"### Impact\nIf functions `Encapsulate()`, `Decapsulate()` and `ECDH()` could be called by an attacker, he could recover any private key that he interacts with.\n\n### Patches\nPatched in v2.0.8\n\n### Workarounds\nYou could manually check public key by calling `IsOnCurve()` function from secp256k1 libraries.\n\n### References\nhttps://github.com/ashutosh1206/Crypton/blob/master/Diffie-Hellman-Key-Exchange/Attack-Invalid-Curve-Point/README.md\n","published":"2023-12-04T23:12:03.059Z","modified":"2026-08-12T03:51:42.181181540Z","cvss":{"score":4.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N"},"epss":{"score":0.00335,"percentile":0.26592,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Go","name":"github.com/ecies/go/v2","fixedVersion":"2.0.8"}],"fix":{"url":"https://github.com/ecies/go/commit/c6e775163866d6ea5233eb8ec8530a9122101ebd","label":"ecies/go@c6e7751"},"references":[{"type":"WEB","url":"https://github.com/ashutosh1206/Crypton/blob/master/Diffie-Hellman-Key-Exchange/Attack-Invalid-Curve-Point/README.md"},{"type":"WEB","url":"https://github.com/ecies/go/releases/tag/v2.0.8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49292.json"},{"type":"ADVISORY","url":"https://github.com/ecies/go/security/advisories/GHSA-8j98-cjfr-qx3h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49292"},{"type":"FIX","url":"https://github.com/ecies/go/commit/c6e775163866d6ea5233eb8ec8530a9122101ebd"},{"type":"PACKAGE","url":"https://github.com/ecies/go"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:42.181181540Z"}}