{"schemaVersion":3,"id":"CVE-2026-15997","aliases":["UBUNTU-CVE-2026-15997"],"status":"published","duplicateOf":null,"title":"Native ARM SHA3 / SHAKE `restoreFullState` fails to detect size_t underflow in a crafted encoded state","description":"Out-of-bounds write vulnerability in Legion of the Bouncy Castle Inc. BC-LTS bcprov-lts8on on ARM allows Overflow Buffers.\n\n This vulnerability is associated with program files https://github.Com/bcgit/bc-lts-java/blob/main/native_c/arm/sha/shake.C, https://github.Com/bcgit/bc-lts-java/blob/main/native_c/arm/sha/sha3.C.\n\n\n\nThis issue affects BC-LTS: from 2.73.0 before 2.73.12.1.\n\n\n\nIssue is only applicable if application involved is accepting memoable SHA3 / SHAKE states from potentially untrusted sources.","dates":{"published":"2026-07-16T22:17:16.525Z","modified":"2026-07-17T13:12:39.282Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":1.7,"severity":"low","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/S:P/AU:N/R:A/V:D/RE:M/U:Amber","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":1.7,"severity":"low","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/S:P/AU:N/R:A/V:D/RE:M/U:Amber","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":5.6,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/S:P/AU:N/R:A/V:D/RE:M/U:Amber","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":1.7,"severity":"low","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/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:P/AU:N/R:A/V:D/RE:M/U:Amber","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00136,"percentile":0.02748,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00136},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00136,"percentile":0.02748}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00136,"percentile":0.02748}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"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-lts","name":"BC-LTS","label":"bc-lts","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.73.0, < 2.73.12.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.73.0, < 2.73.12.1","eol":null,"hubHref":"/vendor/legion_of_the_bouncy_castle_inc/bc-lts"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/bcgit/bc-lts-java/wiki/CVE-2026-15997","label":"github.com/bcgit/bc-lts-java/wiki/CVE-2026-15997","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-15997","label":"ubuntu.com/security/CVE-2026-15997","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-15997","label":"www.cve.org/CVERecord?id=CVE-2026-15997","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-07-16T22:17:16.525Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-17T13:12:39.282Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":7,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T19:28:16.441Z","stale":false,"partial":false}}