Lazy ASN.1 sequence forcing resets nesting-depth guard
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 5 fixed, 11 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-674.
Summary
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).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Legion of the Bouncy Castle Inc. | BC-JAVA | before 1.85 | 1.85 | Patch available | CNA |
| Legion of the Bouncy Castle Inc. | BC-LTS-JAVA | 2.73.0 to before 2.73.12 | 2.73.12 | Patch available | CNA |
| Legion of the Bouncy Castle Inc. | BC-FJA | 1.0.0 to before 1.0.2.7; 2.0.0 to before 2.0.2; 2.1.0 to before 2.1.3 | 1.0.2.7, 2.0.2, 2.1.3 | Patch available | CNA |
| — | org.bouncycastle:bcprov-jdk18on (Maven) | before 1.85 | 1.85 | Patch available | GHSA-qp49-qgx5-5m26 |
| — | org.bouncycastle:bc-fips (Maven) | before 1.0.2.7 | 1.0.2.7 | Patch available | GHSA-qp49-qgx5-5m26 |
| — | org.bouncycastle:bc-fips (Maven) | 2.0.0 to before 2.0.2 | 2.0.2 | Patch available | GHSA-qp49-qgx5-5m26 |
| — | org.bouncycastle:bc-fips (Maven) | 2.1.0 to before 2.1.3 | 2.1.3 | Patch available | GHSA-qp49-qgx5-5m26 |
| — | org.bouncycastle:bcprov-lts8on (Maven) | before 2.73.12 | 2.73.12 | Patch available | GHSA-qp49-qgx5-5m26 |
| — | org.bouncycastle:bcprov-jdk15to18 (Maven) | before 1.85 | 1.85 | Patch available | GHSA-qp49-qgx5-5m26 |
- BC-JAVA VendorLegion of the Bouncy Castle Inc. Affected before 1.85 Fixed in 1.85 Patch available CNA
- BC-LTS-JAVA VendorLegion of the Bouncy Castle Inc. Affected 2.73.0 to before 2.73.12 Fixed in 2.73.12 Patch available CNA
- BC-FJA VendorLegion of the Bouncy Castle Inc. Affected 1.0.0 to before 1.0.2.7; 2.0.0 to before 2.0.2; 2.1.0 to before 2.1.3 Fixed in 1.0.2.7, 2.0.2, 2.1.3 Patch available CNA
- org.bouncycastle:bcprov-jdk18on (Maven) Vendor— Affected before 1.85 Fixed in 1.85 Patch available GHSA-qp49-qgx5-5m26
- org.bouncycastle:bc-fips (Maven) Vendor— Affected before 1.0.2.7 Fixed in 1.0.2.7 Patch available GHSA-qp49-qgx5-5m26
- org.bouncycastle:bc-fips (Maven) Vendor— Affected 2.0.0 to before 2.0.2 Fixed in 2.0.2 Patch available GHSA-qp49-qgx5-5m26
- org.bouncycastle:bc-fips (Maven) Vendor— Affected 2.1.0 to before 2.1.3 Fixed in 2.1.3 Patch available GHSA-qp49-qgx5-5m26
- org.bouncycastle:bcprov-lts8on (Maven) Vendor— Affected before 2.73.12 Fixed in 2.73.12 Patch available GHSA-qp49-qgx5-5m26
- org.bouncycastle:bcprov-jdk15to18 (Maven) Vendor— Affected before 1.85 Fixed in 1.85 Patch available GHSA-qp49-qgx5-5m26
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:* | before 1.85 | Vulnerable | Legion of the Bouncy Castle Inc. |
| cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:* | up to 2.73.11 | Vulnerable | Legion of the Bouncy Castle Inc. |
| cpe:2.3:a:bouncycastle:fips_java_api:*:*:*:*:*:*:*:* | 1.0.0 to before 1.0.2.7; 2.0.0 to before 2.0.2; 2.1.0 to before 2.1.3 | Vulnerable | Legion of the Bouncy Castle Inc. |
- cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:* Versions before 1.85 Vulnerable ·Legion of the Bouncy Castle Inc.
- cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:* Versions up to 2.73.11 Vulnerable ·Legion of the Bouncy Castle Inc.
- cpe:2.3:a:bouncycastle:fips_java_api:*:*:*:*:*:*:*:* Versions 1.0.0 to before 1.0.2.7; 2.0.0 to before 2.0.2; 2.1.0 to before 2.1.3 Vulnerable ·Legion of the Bouncy Castle Inc.
Remediation
- Fix · CNA BC-JAVA (Legion of the Bouncy Castle Inc.) Fixed in 1.85
- Fix · CNA BC-LTS-JAVA (Legion of the Bouncy Castle Inc.) Fixed in 2.73.12
- Fix · CNA BC-FJA (Legion of the Bouncy Castle Inc.) Fixed in 1.0.2.7, 2.0.2, 2.1.3
- Fix · GHSA-qp49-qgx5-5m26 org.bouncycastle:bcprov-jdk18on (Maven) Fixed in 1.85 Advisory →
- Fix · GHSA-qp49-qgx5-5m26 org.bouncycastle:bc-fips (Maven) Fixed in 1.0.2.7 Advisory →
- Fix · GHSA-qp49-qgx5-5m26 org.bouncycastle:bc-fips (Maven) Fixed in 2.0.2 Advisory →
- Fix · GHSA-qp49-qgx5-5m26 org.bouncycastle:bc-fips (Maven) Fixed in 2.1.3 Advisory →
- Fix · GHSA-qp49-qgx5-5m26 org.bouncycastle:bcprov-lts8on (Maven) Fixed in 2.73.12 Advisory →
- Fix · GHSA-qp49-qgx5-5m26 org.bouncycastle:bcprov-jdk15to18 (Maven) Fixed in 1.85 Advisory →
Red Hat 5 advisories
- RHSA-2026:95887 Released 2026-11-06 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 8.1.9 security update
- Red Hat JBoss Enterprise Application Platform 8.1
- RHSA-2026:95762 Released 2026-11-06 · Red Hat rating ImportantRed Hat build of Keycloak 26.6.8 Images Security Update
- Red Hat build of Keycloak 26.6 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
- RHSA-2026:95760 Released 2026-11-06 · Red Hat rating ImportantRed Hat build of Keycloak 26.4.17 Images Security Update
- Red Hat build of Keycloak 26.4 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
Show 2 more Red Hat advisories
- RHSA-2026:95761 Released 2026-11-06 · Red Hat rating ImportantRed Hat build of Keycloak 26.6.8 Security Update
- Red Hat build of Keycloak 26.6.8
- RHSA-2026:95759 Released 2026-11-06 · Red Hat rating ImportantRed Hat build of Keycloak 26.4.17 Security Update
- Red Hat build of Keycloak 26.4.17
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Legion of the Bouncy Castle BC-JAVA 1.85
32 records Highest priority Priority MEDIUM 23 MEDIUM, 9 LOW
Other records, highest priority first
- TI-2026-42545 MTI/A0 DH agreement exponentiates unvalidated peer valuePriority MEDIUM 48
- TI-2026-42533 JSSE hostname verifier CN-fallback enabled by default despite documented opt-inPriority MEDIUM 48
- TI-2026-41816 Stapled OCSP response accepted without binding to the checked certificatePriority MEDIUM 48
- Release ·
Legion of the Bouncy Castle BC-LTS-JAVA 2.73.12
28 records Highest priority Priority MEDIUM 20 MEDIUM, 8 LOW
Other records, highest priority first
- TI-2026-42545 MTI/A0 DH agreement exponentiates unvalidated peer valuePriority MEDIUM 48
- TI-2026-42533 JSSE hostname verifier CN-fallback enabled by default despite documented opt-inPriority MEDIUM 48
- TI-2026-41816 Stapled OCSP response accepted without binding to the checked certificatePriority MEDIUM 48
Show 1 more group
- Release ·
Legion of the Bouncy Castle BC-FJA 1.0.2.7, 2.0.2, 2.1.3
7 records Highest priority Priority MEDIUM 5 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-07701 Name Constraints bypass via trailing dot in rfc822Name and URIPriority MEDIUM 48
- TI-2026-41813 Quadratic-time escaping when stringifying X.500 distinguished namesPriority MEDIUM 44
- TI-2026-12374 Possible OOM from unbounded up-front allocation on a definite-length readPriority MEDIUM 44
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Developer Tools and Services | Affected | No fix yet |
| Red Hat AMQ Broker 7 | Affected | No fix yet |
| Red Hat Ansible Automation Platform 2 | Affected | — |
| Red Hat Fuse 7 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Enterprise Application Platform 7 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift AI (RHOAI) | Affected | — |
| Red Hat OpenShift Dev Spaces | Affected | No fix yet |
| Red Hat Satellite 6 | Affected | — |
| Red Hat Single Sign-On 7 | Affected | No fix planned: Out of support scope |
| Red Hat build of Apache Camel for Spring Boot 4 | Affected | No fix yet |
| Red Hat build of Apicurio Registry 3 | Affected | No fix yet |
| Red Hat JBoss Enterprise Application Platform 8.1 | Fixed | RHSA-2026:95887 |
| Red Hat build of Keycloak 26.4 | Fixed | RHSA-2026:95760 |
| Red Hat build of Keycloak 26.4.17 | Fixed | RHSA-2026:95759 |
| Red Hat build of Keycloak 26.6 | Fixed | RHSA-2026:95762 |
| Red Hat build of Keycloak 26.6.8 | Fixed | RHSA-2026:95761 |
Not affected: 4 products
- OpenShift Developer Tools and Services
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat build of Apache Camel 4 for Quarkus 3
- Red Hat build of Quarkus
Timeline
- 2026-10-02 Threatist record created from CVE-2026-13506
- 2026-10-03 Alias added: GHSA-qp49-qgx5-5m26
- 2026-10-30 Affected versions changed · Red Hat
- 2026-11-06 Fix available: RHSA-2026:95761 · Red Hat
- 2026-11-06 Fix available: Red Hat build of Keycloak 26.6.8 · Red Hat
- 2026-11-06 Fix available: RHSA-2026:95760 · Red Hat
- 2026-11-06 Fix available: RHSA-2026:95887 · Red Hat
- 2026-11-06 Fix available: RHSA-2026:95762 · Red Hat
- 2026-11-06 Fix available: RHSA-2026:95759 · Red Hat
- 2026-11-06 Fix available: Red Hat JBoss Enterprise Application Platform 8.1, Red Hat build of Keycloak 26.4, Red Hat build of Keycloak 26.4.17 +1 · Red Hat
References
More Legion of the Bouncy Castle Inc. Bc-java vulnerabilities
- TI-2018-15967 Legion of the Bouncy Castle Legion of the Bouncy Castle Java Cryptography APIs 1.58 up to… CVSS 3.1CRITICAL 9.8
- TI-2017-09736 BouncyCastle JCE TLS Bleichenbacher/ROBOT CVSS 3.0HIGH 7.5
- TI-2026-42545 MTI/A0 DH agreement exponentiates unvalidated peer value CVSS 4.0CRITICAL 9.3
- TI-2026-42533 JSSE hostname verifier CN-fallback enabled by default despite documented opt-in CVSS 4.0CRITICAL 9.3
- TI-2026-41816 Stapled OCSP response accepted without binding to the checked certificate CVSS 4.0CRITICAL 9.3
- TI-2026-07701 Name Constraints bypass via trailing dot in rfc822Name and URI CVSS 4.0CRITICAL 9.3
Sources
- CVE-2026-13506 · CVE Program
- CVE-2026-13506 · NVD
- FIRST EPSS
- GHSA-qp49-qgx5-5m26 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-13506 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences