{"id":"CVE-2024-37880","state":"PUBLISHED","title":"The Kyber reference implementation before 9b8d306, when compiled by LLVM Clang through 18.x with some common optimization options, has a timing side channel that allows attackers t","description":"The Kyber reference implementation before 9b8d306, when compiled by LLVM Clang through 18.x with some common optimization options, has a timing side channel that allows attackers to recover an ML-KEM 512 secret key in minutes. This occurs because poly_frommsg in poly.c does not prevent Clang from emitting a vulnerable secret-dependent branch.","publishedAt":"2024-06-10T00:00:00.000Z","updatedAt":"2024-08-02T03:57:39.987Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-implementation-maturity/","https://github.com/antoonpurnal/clangover","https://github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11e3c6c","https://news.ycombinator.com/item?id=40577486","https://twitter.com/purnaltoon/status/1797644696568959476"],"weaknesses":["CWE-203"],"ingestedAt":"2026-10-29T20:07:30.303Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/37xxx/CVE-2024-37880.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-37880","state":"PUBLISHED","datePublished":"2024-06-10T00:00:00.000Z","dateUpdated":"2024-08-02T03:57:39.987Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2024-06-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"The Kyber reference implementation before 9b8d306, when compiled by LLVM Clang through 18.x with some common optimization options, has a timing side channel that allows attackers to recover an ML-KEM 512 secret key in minutes. This occurs because poly_frommsg in poly.c does not prevent Clang from emitting a vulnerable secret-dependent branch."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-implementation-maturity/"},{"url":"https://github.com/antoonpurnal/clangover"},{"url":"https://github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11e3c6c"},{"url":"https://news.ycombinator.com/item?id=40577486"},{"url":"https://twitter.com/purnaltoon/status/1797644696568959476"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2024-06-10T01:44:34.399Z"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"pq-crystals","product":"kyber","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"2024-06-03","versionType":"custom"}],"cpes":["cpe:2.3:a:pq-crystals:kyber:*:*:*:*:*:*:*:*"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-07-19T20:22:02.448449Z","id":"CVE-2024-37880","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-203","type":"CWE","lang":"en","description":"CWE-203 Observable Discrepancy"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-19T20:24:51.936Z"}},{"title":"CVE Program Container","references":[{"url":"https://pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-implementation-maturity/","tags":["x_transferred"]},{"url":"https://github.com/antoonpurnal/clangover","tags":["x_transferred"]},{"url":"https://github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11e3c6c","tags":["x_transferred"]},{"url":"https://news.ycombinator.com/item?id=40577486","tags":["x_transferred"]},{"url":"https://twitter.com/purnaltoon/status/1797644696568959476","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T03:57:39.987Z"}}]}}}