Skip to content
Heist/ feed
Back to feed
Low

bouncycastle — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-15997

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.

Products
bouncycastle
Affected versions
1.49+dfsg-3ubuntu1, 1.51-4ubuntu1, 1.51-4ubuntu1+esm1, 1.57-1, 1.58-1, 1.59-1, 1.59-1ubuntu0.1~esm1, 1.61-1, 1.61-1ubuntu0.1~esm1, 1.68-2, 1.68-4, 1.68-5, 1.68-5ubuntu0.1~esm1, 1.72-2, 1.77-1, 1.77-1ubuntu0.1~esm1, 1.80-3
Fixed versions
Not specified
CVEs
CVE-2026-15997
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:03 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-15997

core-osv · Original source

Published 16 Jul 2026, 23:16 UTC

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.

osv:UBUNTU-CVE-2026-15997

bouncycastle

Fixed versions: Not specified

bouncycastle

Fixed versions: Not specified

bouncycastle

Fixed versions: Not specified

bouncycastle

Fixed versions: Not specified

bouncycastle

Fixed versions: Not specified

bouncycastle

Fixed versions: Not specified

bouncycastle

Fixed versions: Not specified

Complete source record
{
  "id": "ef68228876e07f3daba052607d6b0b672bf53d00a417f8097930f6ff82eeefbd",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-15997",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-15997",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-15997",
    "products": [
      {
        "name": {
          "value": "bouncycastle",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.49+dfsg-3ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.51-4ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.51-4ubuntu1+esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "bouncycastle",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.57-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.58-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.59-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.59-1ubuntu0.1~esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "bouncycastle",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.61-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.61-1ubuntu0.1~esm1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "bouncycastle",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.68-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.68-4",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.68-5",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.68-5ubuntu0.1~esm1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "bouncycastle",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.72-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.77-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.77-1ubuntu0.1~esm1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "bouncycastle",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.80-3",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "bouncycastle",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.80-3",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "low",
    "structured": {
      "id": "UBUNTU-CVE-2026-15997",
      "aliases": [
        "UBUNTU-CVE-2026-15997"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "bouncycastle",
            "purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "1.49+dfsg-3ubuntu1",
            "1.51-4ubuntu1",
            "1.51-4ubuntu1+esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-15997.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libbcmail-java",
                "binary_version": "1.51-4ubuntu1+esm1"
              },
              {
                "binary_name": "libbcpg-java",
                "binary_version": "1.51-4ubuntu1+esm1"
              },
              {
                "binary_name": "libbcpkix-java",
                "binary_version": "1.51-4ubuntu1+esm1"
              },
              {
                "binary_name": "libbcprov-java",
                "binary_version": "1.51-4ubuntu1+esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "bouncycastle",
            "purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "1.57-1",
            "1.58-1",
            "1.59-1",
            "1.59-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-15997.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libbcmail-java",
                "binary_version": "1.59-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcpg-java",
                "binary_version": "1.59-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcpkix-java",
                "binary_version": "1.59-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcprov-java",
                "binary_version": "1.59-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "bouncycastle",
            "purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "1.61-1",
            "1.61-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-15997.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libbcmail-java",
                "binary_version": "1.61-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcpg-java",
                "binary_version": "1.61-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcpkix-java",
                "binary_version": "1.61-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcprov-java",
                "binary_version": "1.61-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "bouncycastle",
            "purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "1.68-2",
            "1.68-4",
            "1.68-5",
            "1.68-5ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-15997.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libbcmail-java",
                "binary_version": "1.68-5ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcpg-java",
                "binary_version": "1.68-5ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcpkix-java",
                "binary_version": "1.68-5ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcprov-java",
                "binary_version": "1.68-5ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbctls-java",
                "binary_version": "1.68-5ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "bouncycastle",
            "purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "1.72-2",
            "1.77-1",
            "1.77-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-15997.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libbcjmail-java",
                "binary_version": "1.77-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcmail-java",
                "binary_version": "1.77-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcpg-java",
                "binary_version": "1.77-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcpkix-java",
                "binary_version": "1.77-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcprov-java",
                "binary_version": "1.77-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbctls-java",
                "binary_version": "1.77-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libbcutil-java",
                "binary_version": "1.77-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "bouncycastle",
            "purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.80-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-15997.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libbcjmail-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcmail-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcpg-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcpkix-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcprov-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbctls-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcutil-java",
                "binary_version": "1.80-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "bouncycastle",
            "purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.80-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-15997.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libbcjmail-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcmail-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcpg-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcpkix-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcprov-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbctls-java",
                "binary_version": "1.80-3"
              },
              {
                "binary_name": "libbcutil-java",
                "binary_version": "1.80-3"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:58:06.073302224Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-15997"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-15997",
        "https://www.cve.org/CVERecord?id=CVE-2026-15997",
        "https://github.com/bcgit/bc-lts-java/wiki/CVE-2026-15997"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-15997",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 358074,
  "published_at": "2026-07-16T23:16:00+00:00"
}