{"cve":"CVE-2016-9121","nvd":{"published":"2017-03-28T02:59:00.213","modified":"2026-06-17T00:55:33.213","status":"Modified","description":"go-jose before 1.0.4 suffers from an invalid curve attack for the ECDH-ES algorithm. When deriving a shared key using ECDH-ES for an encrypted message, go-jose neglected to check that the received public key on a message is on the same curve as the static private key of the receiver, thus making it vulnerable to an invalid curve attack.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-326"],"references":["http://www.openwall.com/lists/oss-security/2016/11/03/1","https://github.com/square/go-jose/commit/c7581939a3656bb65e89d64da0a52364a33d2507","https://hackerone.com/reports/164590","http://www.openwall.com/lists/oss-security/2016/11/03/1","https://github.com/square/go-jose/commit/c7581939a3656bb65e89d64da0a52364a33d2507"],"products":["go-jose_project:go-jose"],"source":"nvd","synced_at":"2026-10-19T20:42:09.859288039+00:00"},"epss":{"cve":"CVE-2016-9121","score":0.01411,"percentile":0.72685,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-86r9-39j9-99wp","url":"https://osv.dev/vulnerability/GHSA-86r9-39j9-99wp","summary":"Elliptic Curve Key Disclosure in go-jose","modified":"2023-11-08T03:58:37.751733Z","packages":[{"ecosystem":"Go","name":"gopkg.in/square/go-jose.v1","purl":"pkg:golang/gopkg.in/square/go-jose.v1","ranges":["<1.0.4"],"fixed":["1.0.4"]},{"ecosystem":"Go","name":"github.com/square/go-jose","purl":"pkg:golang/github.com/square/go-jose","ranges":["<1.0.4"],"fixed":["1.0.4"]}]},{"id":"GO-2020-0010","url":"https://osv.dev/vulnerability/GO-2020-0010","summary":"Elliptic curve key disclosure in github.com/square/go-jose","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/square/go-jose","purl":"pkg:golang/github.com/square/go-jose","ranges":["<1.0.4"],"fixed":["1.0.4"]}]}],"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."]}