{"id":"GHSA-hvh4-5qr6-3v7r","aliases":[],"status":"published","title":"Observable Timing Discrepancy in pypqc","description":"### Impact\n`kyber512`, `kyber768`, and `kyber1024` on Mac OS \\(or when compiled with clang\\) only: An attacker able to submit many decapsulation requests against a single private key, and to gain timing information about the decapsulation, could recover the private key. Proof-of-concept exploit exists for a local attacker.\n\nCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P/RL:U/RC:C  \n\n### Patches\nNo patch is currently available / pending upstream [PQClean#556](https://github.com/PQClean/PQClean/issues/556).\n\n### Workarounds\nNo workarounds have been reported. The 0.0.7 -\u003e 0.0.7.1 upgrade, when available, should be a drop-in replacement\u003c!--; it has no known breaking changes--\u003e.\n\n### References\n\nhttps://pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-implementation-maturity/\n\nhttps://github.com/antoonpurnal/clangover\n\nhttps://www.github.com/PQClean/PQClean/issues/556\n\nhttps://www.github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11e3c6c","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P/RL:U/RC:C","level":"high","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-385","CWE-733"],"published":"2024-06-05T16:56:35Z","modified":"2024-12-02T05:45:16Z","affected":[{"source":"ghsa","ecosystem":"PyPI","package":"pypqc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.4"},{"last_affected":"0.0.6.2"}]}]},{"source":"osv","ecosystem":"PyPI","package":"pypqc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.4"},{"last_affected":"0.0.6.2"}]}],"versions":["0.0.6","0.0.6.1","0.0.6.1.post1","0.0.6.2","0.0.6.2rc1","0.0.6.post1"]}],"references":[{"url":"https://github.com/JamesTheAwesomeDude/pypqc/security/advisories/GHSA-hvh4-5qr6-3v7r","tags":["web"]},{"url":"https://github.com/PQClean/PQClean/issues/556","tags":["web"]},{"url":"https://github.com/advisories/GHSA-hvh4-5qr6-3v7r"},{"url":"https://github.com/JamesTheAwesomeDude/pypqc","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-hvh4-5qr6-3v7r","title":"Observable Timing Discrepancy in pypqc","description":"### Impact\n`kyber512`, `kyber768`, and `kyber1024` on Mac OS \\(or when compiled with clang\\) only: An attacker able to submit many decapsulation requests against a single private key, and to gain timing information about the decapsulation, could recover the private key. Proof-of-concept exploit exists for a local attacker.\n\nCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P/RL:U/RC:C  \n\n### Patches\nNo patch is currently available / pending upstream [PQClean#556](https://github.com/PQClean/PQClean/issues/556).\n\n### Workarounds\nNo workarounds have been reported. The 0.0.7 -\u003e 0.0.7.1 upgrade, when available, should be a drop-in replacement\u003c!--; it has no known breaking changes--\u003e.\n\n### References\n\nhttps://pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-implementation-maturity/\n\nhttps://github.com/antoonpurnal/clangover\n\nhttps://www.github.com/PQClean/PQClean/issues/556\n\nhttps://www.github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11e3c6c","status":"published","published":"2024-06-05T16:56:35Z","modified":"2024-06-05T18:36:16Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P/RL:U/RC:C","level":"high"}],"cwes":["CWE-385","CWE-733"],"updated_at":"2026-11-02T14:37:53.703286Z"}],"osv":[{"id":"GHSA-hvh4-5qr6-3v7r","title":"Observable Timing Discrepancy in pypqc","description":"### Impact\n`kyber512`, `kyber768`, and `kyber1024` on Mac OS \\(or when compiled with clang\\) only: An attacker able to submit many decapsulation requests against a single private key, and to gain timing information about the decapsulation, could recover the private key. Proof-of-concept exploit exists for a local attacker.\n\nCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P/RL:U/RC:C  \n\n### Patches\nNo patch is currently available / pending upstream [PQClean#556](https://github.com/PQClean/PQClean/issues/556).\n\n### Workarounds\nNo workarounds have been reported. The 0.0.7 -\u003e 0.0.7.1 upgrade, when available, should be a drop-in replacement\u003c!--; it has no known breaking changes--\u003e.\n\n### References\n\nhttps://pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-implementation-maturity/\n\nhttps://github.com/antoonpurnal/clangover\n\nhttps://www.github.com/PQClean/PQClean/issues/556\n\nhttps://www.github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11e3c6c","status":"published","published":"2024-06-05T16:56:35Z","modified":"2024-12-02T05:45:16.665631Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P/RL:U/RC:C","level":"high"}],"cwes":["CWE-385","CWE-733"],"updated_at":"2026-11-02T15:46:49.621585Z"}]}}
