Loading...
Skip to main content

CVE-2026-13506 — Vulnerability in...

HIGH

Bouncy Castle: Lazy ASN.1 sequence forcing resets nesting-depth guard

Published August 3, 2026Updated September 18, 2026Source: osv

Summary

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).

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.

Maven
Update org.bouncycastle:bcprov-jdk15to18 to 1.85 or later
<!-- Update pom.xml dependency version to 1.85 for org.bouncycastle:bcprov-jdk15to18 -->
Maven
Update org.bouncycastle:bc-fips to 2.1.3 or later
<!-- Update pom.xml dependency version to 2.1.3 for org.bouncycastle:bc-fips -->
Maven
Update org.bouncycastle:bcprov-lts8on to 2.73.12 or later
<!-- Update pom.xml dependency version to 2.73.12 for org.bouncycastle:bcprov-lts8on -->
Maven
Update org.bouncycastle:bc-fips to 2.0.2 or later
<!-- Update pom.xml dependency version to 2.0.2 for org.bouncycastle:bc-fips -->
Maven
Update org.bouncycastle:bcprov-jdk18on to 1.85 or later
<!-- Update pom.xml dependency version to 1.85 for org.bouncycastle:bcprov-jdk18on -->
Maven
Update org.bouncycastle:bc-fips to 1.0.2.7 or later
<!-- 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).

PackageEcosystemAffectedFixed 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.22.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.12.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.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-qp49-qgx5-5m26

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies