Bouncy Castle: Lazy ASN.1 sequence forcing resets nesting-depth guard
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.bouncycastle:bc-fips | < 1.0.2.7, >= 2.0.0, < 2.0.2, >= 2.1.0, < 2.1.3 | 1.0.2.7, 2.0.2, 2.1.3 |
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-jdk15to18 | < 1.85 | 1.85 |
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-jdk18on | < 1.85 | 1.85 |
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-lts8on | < 2.73.12 | 2.73.12 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-674- Platform
- Java / Kotlin (Maven)
- Package
org.bouncycastle:bc-fips, org.bouncycastle:bcprov-jdk15to18, org.bouncycastle:bcprov-jdk18on- Disclosed
- 03.08.2026
- Updated
- 11.10.2026 13:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-qp49-qgx5-5m26 - CC BY 4.0
Vulnerability history: org.bouncycastle:bcprov-jdk18on
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 12
- First → latest
- 07.2023 08.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- High 2
- Medium 8
Disclosures per year
- 2023: 2
- 2024: 4
- 2025: 1
- 2026: 5
-
Bouncy Castle: Lazy ASN.1 sequence forcing resets nesting-depth guard this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.