Live threats

All CVEs / Bouncycastle

CVE-2026-13506Bouncycastle Bc-java

High 8.7 No auth needed

Priority
67
CVSS 4.0
8.7
EPSS
—
Auth required
No
Published
Aug 3, 2026
Updated
Aug 28, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-674
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Bc-java.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.bouncycastle:bc-fips < 1.0.2.7 1.0.2.7 —
Maven org.bouncycastle:bc-fips ≥ 2.0.0 < 2.0.2 2.0.2 —
Maven org.bouncycastle:bc-fips ≥ 2.1.0 < 2.1.3 2.1.3 —
Maven org.bouncycastle:bcprov-jdk15to18 < 1.85 1.85 —
Maven org.bouncycastle:bcprov-jdk18on < 1.85 1.85 —
Maven org.bouncycastle:bcprov-lts8on < 2.73.12 2.73.12 —

Per OSV / GitHub Advisories (GHSA-qp49-qgx5-5m26). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
bouncycastlebc-java< 1.85
bouncycastlebouncy_castle_for_java_lts≤ 2.73.11
bouncycastlefips_java_api≥ 1.0.0 < 1.0.2.7
bouncycastlefips_java_api≥ 2.0.0 < 2.0.2
bouncycastlefips_java_api≥ 2.1.0 < 2.1.3

Official advisories

Also: SUSE (+2)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.