{"schemaVersion":3,"id":"CVE-2024-14041","aliases":["UBUNTU-CVE-2024-14041","DEBIAN-CVE-2024-14041"],"status":"published","duplicateOf":null,"title":null,"description":"In Bouncy Castle for Java from 1.73 to before 1.78, three ML-KEM (CRYSTALS-Kyber) routines divided secret-derived polynomial coefficients by the modulus q: Poly.toMsg, which decodes the decrypted message, and the ciphertext compression routines Poly.compressPoly and PolyVec.compressPolyVec. An attacker able to measure the timing of a large number of decapsulations performed with the same long-term private key can recover that key. These are the KyberSlash1 (Poly.toMsg) and KyberSlash2 (ciphertext compression) divisions. Compression performed during encapsulation operates on values that become the public ciphertext and is not affected.","dates":{"published":"2026-07-28T08:05:35.310Z","modified":"2026-08-09T20:56:37.119Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/U:Amber","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.2,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/U:Amber","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":8.2,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/U:Amber","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.2,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00345,"percentile":0.26541,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00345},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00345,"percentile":0.26541}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00345,"percentile":0.26541}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_ED9C60A8B0C00343","name":"Exploit Reference (kyberslash.cr.yp.to)","source":"reference","url":"https://kyberslash.cr.yp.to/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-208","name":"Observable Timing Discrepancy","description":"Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/208.html"}],"affected":[{"vendor":"bouncycastle","product":"bc-java","name":"bc-java","label":"bc-java","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.73, < 1.78","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.73, < 1.78","eol":null,"hubHref":"/vendor/bouncycastle/bc-java"},{"vendor":"debian","product":"bouncycastle","name":"bouncycastle","label":"bouncycastle","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/bouncycastle","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1.80-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1.80-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"bouncycastle","name":"bouncycastle","label":"bouncycastle","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/bouncycastle","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"legion of the bouncy castle inc.","product":"bc-java","name":"BC-JAVA","label":"bc-java","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.73, < 1.78","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.73, < 1.78","eol":null,"hubHref":"/vendor/legion_of_the_bouncy_castle_inc/bc-java"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE-2024-14041","label":"github.com/bcgit/bc-java/wiki/CVE-2024-14041","hostname":"github.com","tags":["Vendor Advisory","REPORT"]},{"url":"https://github.com/bcgit/bc-java/commit/5adb2c5c5b462a332b01a012bea0784b40b904e5","label":"github.com/bcgit/bc-java/commit/5adb2c5c5b462a332b01a012bea0784b40b904e5","hostname":"github.com","tags":["Patch","REPORT"]},{"url":"https://github.com/bcgit/bc-java/commit/1590247178f2280defa36421475f015175dfbe9e","label":"github.com/bcgit/bc-java/commit/1590247178f2280defa36421475f015175dfbe9e","hostname":"github.com","tags":["Patch","REPORT"]},{"url":"https://kyberslash.cr.yp.to/","label":"kyberslash.cr.yp.to","hostname":"kyberslash.cr.yp.to","tags":["Technical Description","REPORT","Exploit"]},{"url":"https://ubuntu.com/security/CVE-2024-14041","label":"ubuntu.com/security/CVE-2024-14041","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-14041","label":"www.cve.org/CVERecord?id=CVE-2024-14041","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-14041","label":"security-tracker.debian.org/tracker/CVE-2024-14041","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-07-28T08:05:35.310Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-09T20:56:37.119Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T12:03:45.196Z","stale":false,"partial":false}}