CVE-2026-13506
JSON

8.7high

Lazy ASN.1 sequence forcing resets nesting-depth guard

Severity
8.7high CVSS:4.0 by bcorg
Exploit likelihood
0.48% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
bcorg
Also known as
GHSA-qp49-qgx5-5m26

Description

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

Affected

Product or packageVersionsReported by
bcprovbefore 1.85CVE List
bcprov-lts8onfrom 2.73.0 before 2.73.12CVE List
bc-fipsfrom 1.0.0 before 1.0.2.7, from 2.0.0 before 2.0.2, from 2.1.0 before 2.1.3CVE List
org.bouncycastle:bcprov-jdk18on (Maven)before 1.85GitHub Advisory Database
org.bouncycastle:bc-fips (Maven)before 1.0.2.7, from 2.0.0 before 2.0.2, from 2.1.0 before 2.1.3GitHub Advisory Database
org.bouncycastle:bcprov-lts8on (Maven)before 2.73.12GitHub Advisory Database
org.bouncycastle:bcprov-jdk15to18 (Maven)before 1.85GitHub Advisory Database
bouncycastle bc-javabefore 1.85NVD
bouncycastle bouncy_castle_for_java_ltsup to 2.73.11NVD
bouncycastle fips_java_apifrom 1.0.0 before 1.0.2.7, from 2.0.0 before 2.0.2, from 2.1.0 before 2.1.3NVD

All scores

bcorg8.7high CVSS:4.0CVSS: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
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubhigh CVSS:4.0CVSS: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
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-674

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-13506 changed 2026-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-qp49-qgx5-5m26 changed 2026-09-18CC-BY-4.0
NVDCVE-2026-13506 changed 2026-08-28Public domain