CVE-2026-15997

Source
https://cve.org/CVERecord?id=CVE-2026-15997
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-15997.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-15997
Downstream
Published
2026-07-16T22:17:16.525Z
Modified
2026-07-23T08:25:09.966919Z
Severity
  • 1.7 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
Native ARM SHA3 / SHAKE `restoreFullState` fails to detect size_t underflow in a crafted encoded state
Details

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/nativec/arm/sha/shake.C, https://github.Com/bcgit/bc-lts-java/blob/main/nativec/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.

Database specific
{
    "cna_assigner": "bcorg",
    "cwe_ids": [
        "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/15xxx/CVE-2026-15997.json"
}
References

Affected packages

Git / github.com/bcgit/bc-lts-java

Affected ranges

Type
GIT
Repo
https://github.com/bcgit/bc-lts-java
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "2.73.0"
        },
        {
            "fixed": "2.73.12.1"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

Other
r2rv73dot0
r2rv73dot1
r2rv73dot10
r2rv73dot11
r2rv73dot12
r2rv73dot3
r2rv73dot4
r2rv73dot6
r2rv73dot8
r2rv73dot9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-15997.json"
vanir_signatures_modified
"2026-07-23T08:25:09Z"
vanir_signatures
[
    {
        "signature_version": "v1",
        "target": {
            "file": "prov/src/main/java/org/bouncycastle/jce/provider/BouncyCastleProvider.java",
            "function": "BouncyCastleProvider"
        },
        "source": "https://github.com/bcgit/bc-lts-java/commit/053e59f6a16a66b1f83030ab06643f8507c49d39",
        "digest": {
            "length": 165.0,
            "function_hash": "136771984951073209965015993423669245453"
        },
        "id": "CVE-2026-15997-585e0ac4",
        "deprecated": false,
        "signature_type": "Function"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "core/src/main/java/org/bouncycastle/crypto/CryptoServicesRegistrar.java"
        },
        "source": "https://github.com/bcgit/bc-lts-java/commit/053e59f6a16a66b1f83030ab06643f8507c49d39",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "18060752363678275737340676574541763920",
                "247034184266163160976846659748600605222",
                "53865467080643320210251729977448360958",
                "30659604990862884899141058623943785837"
            ]
        },
        "id": "CVE-2026-15997-767dab91",
        "deprecated": false,
        "signature_type": "Line"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "prov/src/main/java/org/bouncycastle/jce/provider/BouncyCastleProvider.java"
        },
        "source": "https://github.com/bcgit/bc-lts-java/commit/053e59f6a16a66b1f83030ab06643f8507c49d39",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "225245902410678884163135828248179854747",
                "200252212940035975300914465693333812266",
                "132680108997146011405379386470392945903",
                "253080760293747504984449998743567990073"
            ]
        },
        "id": "CVE-2026-15997-f86d1842",
        "deprecated": false,
        "signature_type": "Line"
    }
]