CVE-2026-13506: 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).
Published Aug 3, 2026 · Updated Sep 18, 2026
Affected packages
org.bouncycastle:bcprov-jdk18on
- Ecosystem
- Maven
- Affected
- < 1.85
- Fixed in
- 1.85
- Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk18on
org.bouncycastle:bc-fips
- Ecosystem
- Maven
- Affected
- < 1.0.2.7
- Fixed in
- 1.0.2.7
- Check
mvn dependency:tree -Dincludes=org.bouncycastle:bc-fips
org.bouncycastle:bc-fips
- Ecosystem
- Maven
- Affected
- >= 2.0.0, < 2.0.2
- Fixed in
- 2.0.2
- Check
mvn dependency:tree -Dincludes=org.bouncycastle:bc-fips
org.bouncycastle:bc-fips
- Ecosystem
- Maven
- Affected
- >= 2.1.0, < 2.1.3
- Fixed in
- 2.1.3
- Check
mvn dependency:tree -Dincludes=org.bouncycastle:bc-fips
org.bouncycastle:bcprov-lts8on
- Ecosystem
- Maven
- Affected
- < 2.73.12
- Fixed in
- 2.73.12
- Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-lts8on
org.bouncycastle:bcprov-jdk15to18
- Ecosystem
- Maven
- Affected
- < 1.85
- Fixed in
- 1.85
- Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk15to18
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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).
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-13505
Bouncy Castle: Zeroisation of sensitive key material on garbage collection relies on finalization.
high8.7Aug 8, 2026CVE-2026-8798
Bouncy Castle: the native entropy source used on Intel platforms retried the CPU entropy instructions without any bound
high8.7Aug 8, 2026CVE-2026-8763
Bouncy Castle: Name Constraints bypass via trailing dot in rfc822Name and URI
critical9.1Aug 3, 2026CVE-2026-8149
Bouncy Castle LTS native GCM chunking can cause bad-tag exception on decryption
medium5.1May 8, 2026CVE-2025-14813
Bouncy Castle for Java GOST 28147 CTR mode reuses keystream after 255 blocks
critical7.5No fixApr 17, 2026CVE-2026-0636
Bouncy Castle has an LDAP injection
medium6.5Apr 17, 2026
