HIGH 7.5

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)

ArtifactAffected versionsFixed 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

4affected artifacts
85affected versions
29,034dependent artifacts (est.)
1,494,509dependent versions

66% of the dependent artifacts (19,324) still pull an affected version in their latest release.

DepthDependent 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

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.