CVE-2026-13506: 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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.bouncycastle:bcprov-jdk15to18to a version that resolves this vulnerability.Fixed in 1.85 - Upgrade
Upgrade
maven/org.bouncycastle:bcprov-lts8onto a version that resolves this vulnerability.Fixed in 2.73.12 - Upgrade
Upgrade
maven/org.bouncycastle:bc-fipsto a version that resolves this vulnerability.Fixed in 2.1.3 - Upgrade
Upgrade
maven/org.bouncycastle:bc-fipsto a version that resolves this vulnerability.Fixed in 2.0.2 - Upgrade
Upgrade
maven/org.bouncycastle:bc-fipsto a version that resolves this vulnerability.Fixed in 1.0.2.7 - Upgrade
Upgrade
maven/org.bouncycastle:bcprov-jdk18onto a version that resolves this vulnerability.Fixed in 1.85 - Upgrade
Upgrade
debian/bouncycastleto a version that resolves this vulnerability.Fixed in 1.86-1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-13506?
CVE-2026-13506 has a high severity rating of 8.7.
How do I fix CVE-2026-13506?
To fix CVE-2026-13506, update to Bouncy Castle for Java version 1.85 or later.
What software is affected by CVE-2026-13506?
CVE-2026-13506 affects Bouncy Castle for Java, Bouncy Castle for Java LTS, and Bouncy Castle for Java FIPS prior to specific versions.
What is the risk associated with CVE-2026-13506?
CVE-2026-13506 has a risk rating of 47, indicating significant exposure to potential attacks.
When was CVE-2026-13506 published?
CVE-2026-13506 was published on August 3, 2026.