CVE-2026-13506
Received Received - Intake

Lazy ASN.1 Sequence Nesting Depth Reset in Bouncy Castle

Vulnerability report for CVE-2026-13506, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-03

Last updated on: 2026-08-03

Assigner: bcorg

Description

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

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-03
Last Modified
2026-08-03
Generated
2026-08-03
AI Q&A
2026-08-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 5 associated CPEs
Vendor Product Version / Range
bouncy_castle bouncy_castle_for_java to 1.85 (exc)
bouncy_castle bouncy_castle_for_java_lts to 2.73.12 (exc)
bouncy_castle bc_fips to 1.0.2.7 (exc)
bouncy_castle bc_fips to 2.0.2 (exc)
bouncy_castle bc_fips to 2.1.3 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-674 The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Bouncy Castle for Java involves a flaw where Lazy ASN.1 sequence forcing resets a nesting-depth guard. This allows potential attacks to bypass security checks by manipulating nested data structures.

Detection Guidance

This vulnerability is specific to Bouncy Castle Java libraries and cannot be directly detected via network or system commands. Instead, check the version of Bouncy Castle libraries in use. If using Maven, run: mvn dependency:tree | grep bouncycastle. For Gradle: gradle dependencies | grep bouncycastle. Ensure versions are 1.85 or later for standard, 2.73.12 for LTS, or specified FIPS versions.

Impact Analysis

An attacker could exploit this to cause a denial of service or execute arbitrary code by crafting malicious ASN.1 sequences. Systems using vulnerable versions of Bouncy Castle may be at risk of crashes or unauthorized access.

Compliance Impact

The vulnerability in Bouncy Castle for Java could potentially impact compliance with standards like GDPR and HIPAA by exposing systems to deeper nesting attacks that may lead to denial of service or other security breaches. However, the provided CVE data does not explicitly detail compliance impacts.

Mitigation Strategies

Update Bouncy Castle for Java to version 1.85 or later, Bouncy Castle for Java LTS to 2.73.12 or later, and BC-FJA to the latest supported version in your series (1.0.2.7, 2.0.2, or 2.1.3).

Review and remove any custom ASN.1 parsing logic that may rely on lazy sequence handling.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-13506. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart