Description
In Bouncy Castle for Java before 1.85, Lazy ASN.1 sequence forcing resets nesting-depth guard. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Legion of the Bouncy Castle | BC-JAVA | < 1.85 | 1.85 |
| Legion of the Bouncy Castle | BC-LTS-JAVA | 2.73.0 – < 2.73.12 | 2.73.12 |
| Legion of the Bouncy Castle | BC-FJA | 1.0.0 – < 1.0.2.7, 2.0.0 – < 2.0.2, 2.1.0 – < 2.1.3 | 1.0.2.7 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | bouncycastle | 1.86-1 | — |
| Debian 13 | bouncycastle | No fix yet | — |
| Debian 12 | bouncycastle | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | bouncycastle | No fix yet | — |
| Ubuntu 26.04 LTS | bouncycastle | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | bouncycastle | No fix yet | — |
| Ubuntu Pro 22.04 LTS | bouncycastle | No fix yet | — |
| Ubuntu Pro 20.04 LTS | bouncycastle | No fix yet | — |
| Ubuntu Pro 18.04 LTS | bouncycastle | No fix yet | — |
| Ubuntu Pro 16.04 LTS | bouncycastle | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | bouncycastle | 1.85-150200.3.38.1 | SUSE-SU-2026:3559-1 |
| SLES 15 SP6 | bouncycastle | 1.85-150200.3.38.1 | SUSE-SU-2026:3559-1 |
| SLES 15 SP5 | bouncycastle | 1.85-150200.3.38.1 | SUSE-SU-2026:3559-1 |
| SLES 15 SP4 | bouncycastle | 1.85-150200.3.38.1 | SUSE-SU-2026:3559-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | bouncycastle | 1.85-160000.1.1 | SUSE-SU-2026:23150-1, SUSE-SU-2026:23127-1 |
| SLES for SAP 15 SP6 | bouncycastle | 1.85-150200.3.38.1 | SUSE-SU-2026:3559-1 |
| SLES for SAP 15 SP5 | bouncycastle | 1.85-150200.3.38.1 | SUSE-SU-2026:3559-1 |
| SLES for SAP 15 SP4 | bouncycastle | 1.85-150200.3.38.1 | SUSE-SU-2026:3559-1 |
| SLES 16.0 | bouncycastle | 1.85-160000.1.1 | SUSE-SU-2026:23150-1, SUSE-SU-2026:23127-1 |
| SLE HPC 15 SP5 | bouncycastle | 1.85-150200.3.38.1 | SUSE-SU-2026:3559-1 |
| SLE HPC 15 SP4 | bouncycastle | 1.85-150200.3.38.1 | SUSE-SU-2026:3559-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | bouncycastle | 1.85-1.1 | openSUSE-SU-2026:11445-1 |
| openSUSE Leap 16.0 | bouncycastle | 1.85-160000.1.1 | openSUSE-SU-2026:21538-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | bouncycastle +6 | 1.70-4.amzn2023.0.8 | ALAS2023-2026-2153 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | apache-pulsar-4.2 | 4.2.4-r5 | — |
| Wolfi rolling | druid | 37.0.0-r57 | — |
| Wolfi rolling | keycloak-26.6 +1 | 26.6.7-r1 | — |
| Wolfi rolling | kserve-modelmesh | 0.12.0-r40 | — |
| Wolfi rolling | logstash-9.3 +3 | No fix yet | — |
| Wolfi rolling | logstash-9.4 +1 | 9.4.8-r0 | — |
| Wolfi rolling | opensearch-2 | 2.19.6-r11 | — |
| Wolfi rolling | ruby3.2-bouncy-castle-java | 1.5.0146.1-r9 | — |
| Wolfi rolling | ruby3.3-bouncy-castle-java | 1.5.0146.1-r7 | — |
| Wolfi rolling | ruby3.4-bouncy-castle-java | 1.5.0146.1-r8 | — |
| Wolfi rolling | ruby4.0-bouncy-castle-java | 1.5.0146.1-r5 | — |
| Wolfi rolling | spark-4.0-scala-2.13 | 4.0.4-r5 | — |
| Wolfi rolling | zipkin +1 | 3.6.1-r28 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.bouncycastle:bc-fips | < 1.0.2.7 | 1.0.2.7 | GHSA-qp49-qgx5-5m26 |
| Maven | org.bouncycastle:bc-fips | >= 2.0.0, < 2.0.2 | 2.0.2 | GHSA-qp49-qgx5-5m26 |
| Maven | org.bouncycastle:bc-fips | >= 2.1.0, < 2.1.3 | 2.1.3 | GHSA-qp49-qgx5-5m26 |
| Maven | org.bouncycastle:bcprov-jdk15to18 | < 1.85 | 1.85 | GHSA-qp49-qgx5-5m26 |
| Maven | org.bouncycastle:bcprov-jdk18on | < 1.85 | 1.85 | GHSA-qp49-qgx5-5m26 |
| Maven | org.bouncycastle:bcprov-lts8on | < 2.73.12 | 2.73.12 | GHSA-qp49-qgx5-5m26 |
Advisories 12
- WID-SEC-2026-2622 Bouncy Castle: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2026
- WID-SEC-2026-3376 Atlassian Bamboo, Bitbucket, Confluence, Fisheye/Crucible, Jira Software und Jira Service Management: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 10, 2026
- WID-SEC-2026-2923 Atlassian Produkte (Bamboo, Bitbucket, Confluence, Crucible, Fisheye, und Jira): Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 8, 2026
- WID-SEC-2026-3595 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 2, 2026
- WID-SEC-2026-2958 IBM License Metric Tool: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 4, 2026
- ALAS2023-2026-2153 Important: bouncycastle security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 14, 2026
- NCSC-2026-0325 Kwetsbaarheden verholpen in Atlassian producten NCSC-NL (Netherlands) · Aug 24, 2026
- SUSE-SU-2026:23150-1 Security update for bouncycastle SUSE / openSUSE Security Updates · Aug 14, 2026
- SUSE-SU-2026:23127-1 Security update for bouncycastle SUSE / openSUSE Security Updates · Aug 14, 2026
- SUSE-SU-2026:3559-1 Security update for bouncycastle SUSE / openSUSE Security Updates · Aug 12, 2026
- openSUSE-SU-2026:21538-1 Security update for bouncycastle SUSE / openSUSE Security Updates · Aug 8, 2026
- openSUSE-SU-2026:11445-1 bouncycastle-1.85-1.1 on GA media SUSE / openSUSE Security Updates · Aug 5, 2026