CVE-2026-13506
High
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).
SeverityHigh
CVSS7.5
Exploit probability—
ProductBouncycastle Bouncy Castle For Java Lts
PublishedAug 3, 2026
First seenAug 3, 2026
Weakness typeCWE-674CWE-674
How to fix
Update
- bouncycastle bc-java1.85 or later
- bouncycastle fips_java_api1.0.2.7, 2.0.2, 2.1.3 or later
- org.bouncycastle:bcprov-jdk18on1.85 or later
- org.bouncycastle:bc-fips1.0.2.7, 2.0.2, 2.1.3 or later
- org.bouncycastle:bcprov-lts8on2.73.12 or later
- org.bouncycastle:bcprov-jdk15to181.85 or later
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| bouncycastle bouncy_castle_for_java_lts | v ≤ 2.73.11 | — |
| bouncycastle bc-java | v < 1.85 | 1.85 |
| bouncycastle fips_java_api | 1.0.0 ≤ v < 1.0.2.7, 2.0.0 ≤ v < 2.0.2, 2.1.0 ≤ v < 2.1.3 | 1.0.2.7, 2.0.2, 2.1.3 |
| org.bouncycastle:bcprov-jdk18onMaven | v < 1.85 | 1.85 |
| org.bouncycastle:bc-fipsMaven | v < 1.0.2.7, 2.0.0 ≤ v < 2.0.2, 2.1.0 ≤ v < 2.1.3 | 1.0.2.7, 2.0.2, 2.1.3 |
| org.bouncycastle:bcprov-lts8onMaven | v < 2.73.12 | 2.73.12 |
| org.bouncycastle:bcprov-jdk15to18Maven | v < 1.85 | 1.85 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.