Bouncy Castle: Name Constraints bypass via trailing dot in rfc822Name and URI
In Bouncy Castle for Java before 1.85, Name Constraints bypass via trailing dot in rfc822Name and URI. 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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.bouncycastle:bc-fips | < 1.0.2.7, >= 2.0.0, < 2.0.2, >= 2.1.0, < 2.1.3 | 1.0.2.7, 2.0.2, 2.1.3 |
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-jdk15to18 | < 1.85 | 1.85 |
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-jdk18on | < 1.85 | 1.85 |
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-lts8on | < 2.73.12 | 2.73.12 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-8763
- https://github.com/bcgit/bc-java/commit/2c28b253a44681fbbc562561eab6ad383d2ae558
- https://github.com/bcgit/bc-java
- https://github.com/bcgit/bc-java/releases/tag/r1rv85v2
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%908763
- https://github.com/bcgit/bc-java/wiki/CVE-2026-8763
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N- Weakness (CWE)
CWE-295- Platform
- Java / Kotlin (Maven)
- Package
org.bouncycastle:bc-fips, org.bouncycastle:bcprov-jdk15to18, org.bouncycastle:bcprov-jdk18on- Disclosed
- 03.08.2026
- Updated
- 11.10.2026 13:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-9pwp-9qqc-pr26 - CC BY 4.0
Vulnerability history: org.bouncycastle:bcprov-lts8on
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 4
- First → latest
- 05.2024 08.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 1
- Medium 2
Disclosures per year
- 2024: 1
- 2025: 0
- 2026: 3
-
Bouncy Castle: Name Constraints bypass via trailing dot in rfc822Name and URI this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.