CVE-2026-13506 — Vulnerability in...
Bouncy Castle: Lazy ASN.1 sequence forcing resets nesting-depth guard
Summary
Advisory Timeline
- First published August 3, 2026 (70 days ago).
- Last revised September 18, 2026 — 46 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 1.85 for org.bouncycastle:bcprov-jdk15to18 -->
<!-- Update pom.xml dependency version to 2.1.3 for org.bouncycastle:bc-fips -->
<!-- Update pom.xml dependency version to 2.73.12 for org.bouncycastle:bcprov-lts8on -->
<!-- Update pom.xml dependency version to 2.0.2 for org.bouncycastle:bc-fips -->
<!-- Update pom.xml dependency version to 1.85 for org.bouncycastle:bcprov-jdk18on -->
<!-- Update pom.xml dependency version to 1.0.2.7 for org.bouncycastle:bc-fips -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (6)
Affects 1 ecosystem: maven (4).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| org.bouncycastle:bcprov-jdk15to18 | maven | 1.63, 1.64, 1.65, 1.66 (+19 more) | 1.85 |
| org.bouncycastle:bc-fips | maven | 2.1.0, 2.1.1, 2.1.2 | 2.1.3 |
| org.bouncycastle:bcprov-lts8on | maven | 2.73.0, 2.73.1, 2.73.10, 2.73.11 (+8 more) | 2.73.12 |
| org.bouncycastle:bc-fips | maven | 2.0.0, 2.0.1 | 2.0.2 |
| org.bouncycastle:bcprov-jdk18on | maven | 1.71, 1.71.1, 1.72, 1.73 (+14 more) | 1.85 |
| org.bouncycastle:bc-fips | maven | 1.0.0, 1.0.1, 1.0.2, 1.0.2.1 (+4 more) | 1.0.2.7 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-674
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
Frequently Asked Questions
- What is CVE-2026-13506?
- Bouncy Castle: Lazy ASN.1 sequence forcing resets nesting-depth guard This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2026-13506?
- CVE-2026-13506 affects org.bouncycastle:bcprov-jdk15to18, org.bouncycastle:bc-fips and org.bouncycastle:bcprov-lts8on (and 1 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-13506 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2025-14813CRITICAL
Bouncy Castle for Java GOST 28147 CTR mode reuses keystream after 255 blocks
- CVE-2026-8763CRITICAL
Bouncy Castle: Name Constraints bypass via trailing dot in rfc822Name and URI
- CVE-2026-3505HIGH
Bouncy Castle Uncontrolled Resource Consumption vulnerability
- CVE-2026-5598HIGH
Bouncy Castle Has Covert Timing Channel Vulnerability
- CVE-2026-107725HIGH
Hazelcast has an authorization bypass in IMap Predicates API
- CVE-2024-29857MEDIUM
Bouncy Castle certificate parsing issues cause high CPU usage during parameter evaluation.
- CVE-2024-30172MEDIUM
Bouncy Castle crafted signature and public key can be used to trigger an infinite loop
- CVE-2024-30171MEDIUM
Bouncy Castle affected by timing side-channel for RSA key exchange ("The Marvin Attack")
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies