CVEfocus › CVE database › CVE-2026-13506

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

CVSS 8.7 HighEPSS 0.5% (higher than 35% of CVEs)Published 2026-08-03Updated 2026-08-03Assigner: bcorg

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

CWE-674

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
8Fix pending
1Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10bouncycastleFix pendingUBUNTU-CVE-2026-13506
Ubuntu 26.04bouncycastleUnder investigationUBUNTU-CVE-2026-13506
Ubuntu 24.04bouncycastleFix pendingUBUNTU-CVE-2026-13506
Ubuntu 22.04bouncycastleFix pendingUBUNTU-CVE-2026-13506
Ubuntu 20.04bouncycastleFix pendingUBUNTU-CVE-2026-13506
Ubuntu 18.04bouncycastleFix pendingUBUNTU-CVE-2026-13506
Ubuntu 16.04bouncycastleFix pendingUBUNTU-CVE-2026-13506
Debian 14bouncycastleFixed1.86-1DEBIAN-CVE-2026-13506
Debian 13bouncycastleFix pendingDEBIAN-CVE-2026-13506
Debian 12bouncycastleFix pendingDEBIAN-CVE-2026-13506
Maven libraryorg.bouncycastle:bc-fipsFixed2.1.3GHSA-qp49-qgx5-5m26
Maven libraryorg.bouncycastle:bcprov-jdk15to18Fixed1.85GHSA-qp49-qgx5-5m26
Maven libraryorg.bouncycastle:bcprov-jdk18onFixed1.85GHSA-qp49-qgx5-5m26
Maven libraryorg.bouncycastle:bcprov-lts8onFixed2.73.12GHSA-qp49-qgx5-5m26

What the vendor says

As published in the CVE record by bcorg, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.