CVE Vulnerabilities

CVE-2026-13506

Uncontrolled Recursion

Published: Aug 03, 2026 | Modified: Aug 28, 2026
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

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

Weakness

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Software

NameVendorStart VersionEnd Version
Bc-javaBouncycastle*1.85 (excluding)
Bouncy_castle_for_java_ltsBouncycastle*2.73.11 (including)
Fips_java_apiBouncycastle1.0.0 (including)1.0.2.7 (excluding)
Fips_java_apiBouncycastle2.0.0 (including)2.0.2 (excluding)
Fips_java_apiBouncycastle2.1.0 (including)2.1.3 (excluding)

Potential Mitigations

References