{"id":"CVE-2026-15997","state":"PUBLISHED","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.","publishedAt":"2026-07-16T22:17:16.525Z","updatedAt":"2026-07-17T13:12:39.282Z","severity":{"score":1.7,"label":"Low","version":"4.0","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","source":"bcorg"},"assigner":"bcorg","products":["Legion of the Bouncy Castle Inc. BC-LTS"],"affected":[{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-LTS","packageName":"bcprov-lts8on","defaultStatus":"unaffected","versions":[{"version":"2.73.0","status":"affected","lessThan":"2.73.12.1","versionType":"semver"}],"platforms":["ARM"],"collectionURL":"https://www.bouncycastle.org/download/bouncy-castle-java-lts/","repo":"https://github.com/bcgit/bc-lts-java","programFiles":["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"]}],"references":["https://github.com/bcgit/bc-lts-java/wiki/CVE-2026-15997"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:11:00.674Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/15xxx/CVE-2026-15997.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-15997","state":"PUBLISHED","datePublished":"2026-07-16T22:17:16.525Z","dateUpdated":"2026-07-17T13:12:39.282Z","assignerShortName":"bcorg","assignerOrgId":"91579145-5d7b-4cc5-b925-a0262ff19630","dateReserved":"2026-07-16T21:47:28.715Z"},"containers":{"cna":{"title":"Native ARM SHA3 / SHAKE `restoreFullState`  fails to detect size_t underflow in a crafted encoded state","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-LTS","packageName":"bcprov-lts8on","defaultStatus":"unaffected","versions":[{"version":"2.73.0","status":"affected","lessThan":"2.73.12.1","versionType":"semver"}],"platforms":["ARM"],"collectionURL":"https://www.bouncycastle.org/download/bouncy-castle-java-lts/","repo":"https://github.com/bcgit/bc-lts-java","programFiles":["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"]}],"references":[{"url":"https://github.com/bcgit/bc-lts-java/wiki/CVE-2026-15997"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"UNREPORTED","Safety":"PRESENT","Automatable":"NO","Recovery":"AUTOMATIC","valueDensity":"DIFFUSE","vulnerabilityResponseEffort":"MODERATE","providerUrgency":"AMBER","version":"4.0","baseSeverity":"LOW","baseScore":1.7,"vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787 Out-of-bounds write","type":"CWE"}]}],"providerMetadata":{"shortName":"bcorg","orgId":"91579145-5d7b-4cc5-b925-a0262ff19630","dateUpdated":"2026-07-16T22:17:16.525Z"},"impacts":[{"capecId":"CAPEC-100","descriptions":[{"lang":"en","value":"CAPEC-100 Overflow Buffers"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 1.0.2"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-17T13:12:14.471058Z","id":"CVE-2026-15997","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-17T13:12:39.282Z"}}]}}}