Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bouncycastle/bc-fips
  4. ›
  5. CVE-2026-13506

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

August 3, 2026 (updated September 18, 2026)

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

References

  • github.com/advisories/GHSA-qp49-qgx5-5m26
  • github.com/bcgit/bc-java/commit/77454da9b3dcaaa2991412d1c3c1a6e1a338ff84
  • github.com/bcgit/bc-java/wiki/CVE-2026-13506
  • nvd.nist.gov/vuln/detail/CVE-2026-13506

Code Behaviors & Features

Detect and mitigate CVE-2026-13506 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.2.7, all versions starting from 2.0.0 before 2.0.2, all versions starting from 2.1.0 before 2.1.3

Fixed versions

  • 1.0.2.7
  • 2.0.2
  • 2.1.3

Solution

Upgrade to versions 1.0.2.7, 2.0.2, 2.1.3 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-674: Uncontrolled Recursion

Source file

maven/org.bouncycastle/bc-fips/CVE-2026-13506.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:20:53 +0000.