Skip to main content
VulnerabilityPublished

CVE-2026-13506: Legion of the Bouncy Castle BC-JAVA · Uncontrolled Recursion

Affects Legion of the Bouncy Castle BC-JAVASource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.7 High : upgrade to 1.85 soon.

Data as of 1 Nov 2026, 22:58 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.85, 2.73.12, 2.1.3 +2
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Amber

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Nov 2026.

What to do

Upgrade BC-JAVA and bcprov to 1.85; BC-LTS-JAVA and bcprov-lts8on to 2.73.12; BC-FJA to 2.1.3, 2.0.2 or 1.0.2.7.

Affected software

ProductAffectedFixed in
Legion of the Bouncy Castle Inc.BC-JAVAAffected
  • <1.85
Fixed in
  • 1.85
Legion of the Bouncy Castle Inc.BC-LTS-JAVAAffected
  • >=2.73.0 <2.73.12
Fixed in
  • 2.73.12
Legion of the Bouncy Castle Inc.BC-FJAAffected
  • >=2.1.0 <2.1.3
Fixed in
  • 2.1.3
Legion of the Bouncy Castle Inc.BC-FJAAffected
  • >=2.0.0 <2.0.2
Fixed in
  • 2.0.2
Legion of the Bouncy Castle Inc.BC-FJAAffected
  • >=1.0.0 <1.0.2.7
Fixed in
  • 1.0.2.7
GitHubbcprovpkg:github/bcprovOther threatsAffected
  • <1.85
Fixed in
  • 1.85

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, users should consider mitigating exposure by restricting access to vulnerable components or applying any recommended temporary workarounds from the vendor once published.

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 known exploits are reported in the wild.

References

Community reviews

Loading reviews…