CVE-2026-13506: CWE-674 Uncontrolled Recursion in Legion of the Bouncy Castle Inc. BC-JAVA
CVE-2026-13506 is a high severity vulnerability in Bouncy Castle for Java (BC-JAVA) involving uncontrolled recursion due to a Lazy ASN.1 sequence forcing that resets the nesting-depth guard. This affects versions before 1.85 and certain LTS and FIPS versions prior to specified fixed releases. The vulnerability has a CVSS 4.0 score of 8.7, indicating a significant impact if exploited. No official patch or remediation level is currently confirmed from the vendor advisory. No known exploits are reported in the wild.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-13506) in Legion of the Bouncy Castle Inc.'s BC-JAVA library involves uncontrolled recursion caused by the Lazy ASN.1 sequence forcing mechanism resetting the nesting-depth guard. This flaw affects BC-JAVA versions before 1.85, LTS versions from 2.73.0 up to but not including 2.73.12, and certain FIPS versions prior to 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series), and 2.1.3 (2.1.X series). The vulnerability is classified under CWE-674 (Uncontrolled Recursion). The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges or user interaction required, and high impact on availability. The vendor has not provided an official remediation level or patch advisory at this time.
Potential Impact
The vulnerability allows an attacker to cause uncontrolled recursion in the ASN.1 parsing process, potentially leading to denial of service due to resource exhaustion. The CVSS score of 8.7 reflects a high impact on availability with no required privileges or user interaction. No known active exploitation has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider mitigating exposure by restricting access to vulnerable components or applying any recommended temporary workarounds from the vendor once published.
CVE-2026-13506: CWE-674 Uncontrolled Recursion in Legion of the Bouncy Castle Inc. BC-JAVA
Description
CVE-2026-13506 is a high severity vulnerability in Bouncy Castle for Java (BC-JAVA) involving uncontrolled recursion due to a Lazy ASN.1 sequence forcing that resets the nesting-depth guard. This affects versions before 1.85 and certain LTS and FIPS versions prior to specified fixed releases. The vulnerability has a CVSS 4.0 score of 8.7, indicating a significant impact if exploited. No official patch or remediation level is currently confirmed from the vendor advisory. No known exploits are reported in the wild.
CVSS v4.0
Score 8.7high
Affected software
Legion of the Bouncy Castle Inc.
BC-JAVA
Legion of the Bouncy Castle Inc.
BC-LTS-JAVA
Legion of the Bouncy Castle Inc.
BC-FJA
pkg:github/bcprov-lts8onRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-13506) in Legion of the Bouncy Castle Inc.'s BC-JAVA library involves uncontrolled recursion caused by the Lazy ASN.1 sequence forcing mechanism resetting the nesting-depth guard. This flaw affects BC-JAVA versions before 1.85, LTS versions from 2.73.0 up to but not including 2.73.12, and certain FIPS versions prior to 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series), and 2.1.3 (2.1.X series). The vulnerability is classified under CWE-674 (Uncontrolled Recursion). The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges or user interaction required, and high impact on availability. The vendor has not provided an official remediation level or patch advisory at this time.
Potential Impact
The vulnerability allows an attacker to cause uncontrolled recursion in the ASN.1 parsing process, potentially leading to denial of service due to resource exhaustion. The CVSS score of 8.7 reflects a high impact on availability with no required privileges or user interaction. No known active exploitation has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider mitigating exposure by restricting access to vulnerable components or applying any recommended temporary workarounds from the vendor once published.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- bcorg
- Date Reserved
- 2026-06-28T04:39:00.599Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a701320bf32cb7a34eafec1
Added to database: 08/03/2026, 04:03:44 UTC
Last enriched: 08/10/2026, 15:18:13 UTC
Last updated: 09/17/2026, 22:01:33 UTC
Views: 67
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.