CVE-2026-13506
Bouncy Castle: Lazy ASN.1 sequence forcing resets nesting-depth guard
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 Maven artifacts (4)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| 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 |
| org.bouncycastle » bcprov-jdk15to18 | < 1.85 | 1.85 |
| org.bouncycastle » bcprov-jdk18on | < 1.85 | 1.85 |
| org.bouncycastle » bcprov-lts8on | < 2.73.12 | 2.73.12 |
Blast radius
66% of the dependent artifacts (19,324) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 73,660 |
| 2 hops | 273,956 |
| 3 hops | 357,147 |
| 4 hops | 454,153 |
| 5 hops | 247,463 |
| 6 hops | 88,130 |
Most used dependents
- org.apache.maven.plugins » maven-gpg-plugin50,913 usages
- io.netty » netty-all3,584 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 usages
- redis.clients » jedis2,971 usages
- org.apache.spark » spark-core2,899 usages
- org.wso2.maven » carbon-p2-plugin2,864 usages
- org.springframework.boot » spring-boot-starter-webflux2,764 usages
- com.android.tools.build » gradle2,197 usages
- org.bouncycastle » bcpkix-jdk18on2,109 usages
- org.apache.zookeeper » zookeeper2,044 usages
- com.github.tomakehurst » wiremock1,838 usages
- org.apache.hadoop » hadoop-client1,796 usages
- org.wso2.carbon » org.wso2.carbon.core1,598 usages
- org.apache.kafka » kafka1,450 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
