CVE-2026-13506
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 package | Versions | Reported by |
|---|---|---|
| bcprov | before 1.85 | CVE List |
| bcprov-lts8on | from 2.73.0 before 2.73.12 | CVE List |
| bc-fips | from 1.0.0 before 1.0.2.7, from 2.0.0 before 2.0.2, from 2.1.0 before 2.1.3 | CVE List |
| org.bouncycastle:bcprov-jdk18on (Maven) | before 1.85 | GitHub 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.3 | GitHub Advisory Database |
| org.bouncycastle:bcprov-lts8on (Maven) | before 2.73.12 | GitHub Advisory Database |
| org.bouncycastle:bcprov-jdk15to18 (Maven) | before 1.85 | GitHub Advisory Database |
| bouncycastle bc-java | before 1.85 | NVD |
| bouncycastle bouncy_castle_for_java_lts | up to 2.73.11 | NVD |
| bouncycastle fips_java_api | from 1.0.0 before 1.0.2.7, from 2.0.0 before 2.0.2, from 2.1.0 before 2.1.3 | NVD |
All scores
| bcorg | 8.7high CVSS:4.0 | 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 |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | high CVSS:4.0 | 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 |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
| https://github.com/bcgit/bc-java/wiki/CVE-2026-13506 | third-party-advisory, vendor-advisory, web | |
| https://github.com/bcgit/bc-java/commit/77454da9b3dcaaa2991412d1c3c1a6e1a338ff84 | patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-13506 | advisory | |
| https://github.com/bcgit/bc-java | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-13506 changed 2026-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qp49-qgx5-5m26 changed 2026-09-18 | CC-BY-4.0 |
| NVD | CVE-2026-13506 changed 2026-08-28 | Public domain |