Skip to content

CVE-2026-15997 Native ARM SHA3 / SHAKE `restoreFullState` fails to detect size_t underflow in a crafted encoded state

LowCVSS 1.7 EPSS 0.10%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

Out-of-bounds write vulnerability in Legion of the Bouncy Castle Inc. BC-LTS bcprov-lts8on on ARM allows Overflow Buffers.

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.

This issue affects BC-LTS: from 2.73.0 before 2.73.12.1.

Issue is only applicable if application involved is accepting memoable SHA3 / SHAKE states from potentially untrusted sources.

Upgrade path

5 packages: 1 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/bouncycastle(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/bouncycastle(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/bouncycastle(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/bouncycastle(Ubuntu 26.10) All versions No fix listed No fix yet
Legion of the Bouncy Castle Inc. BC-LTS >= 2.73.0, < 2.73.12.1 2.73.12.1 Fixed

Affected products

ProductAffected versionsFixed in
Legion of the Bouncy Castle Inc. BC-LTS >= 2.73.0, < 2.73.12.1 2.73.12.1
ubuntu/bouncycastle(Ubuntu:22.04) All versions No fix listed
ubuntu/bouncycastle(Ubuntu:24.04) All versions No fix listed
ubuntu/bouncycastle(Ubuntu:26.04) All versions No fix listed
ubuntu/bouncycastle(Ubuntu:26.10) All versions No fix listed

References