GitHub Advisory Database
GHSA-9pwp-9qqc-pr26
Bouncy Castle: Name Constraints bypass via trailing dot in rfc822Name and URI
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.bouncycastle:bc-fips | All versions before 1.0.2.7 (fixed in 1.0.2.7) |
| Maven | org.bouncycastle:bc-fips | From 2.0.0 before 2.0.2 (fixed in 2.0.2) |
| Maven | org.bouncycastle:bc-fips | From 2.1.0 before 2.1.3 (fixed in 2.1.3) |
| Maven | org.bouncycastle:bcprov-jdk18on | All versions before 1.85 (fixed in 1.85) |
| Maven | org.bouncycastle:bcprov-lts8on | All versions before 2.73.12 (fixed in 2.73.12) |
| Maven | org.bouncycastle:bcprov-jdk15to18 | All versions before 1.85 (fixed in 1.85) |
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