In Bouncy Castle for Java before 1.86, neither copy of PKIXCertPathReviewer - org.bouncycastle.pkix.jcajce.PKIXCertPathReviewer nor the legacy org.bouncycastle.x509.PKIXCertPathReviewer - applied X.5…
- CVSS
- 8.7High
- Chance of exploitation (EPSS)
- 0.17%
- Published
- Oct 3, 2026
- In the news
- Not yet
What to do
A serious security flaw that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 1.0.13, 1.86, 2.0.13, 2.1.13, 2.73.13
Affected versions
- Legion Of The Bouncy Castle Bc-fja
- 1.0.4 to before 1.0.13; 2.0.0 to before 2.0.13; 2.1.0 to before 2.1.13
- Legion Of The Bouncy Castle Bc-java
- Before 1.86
- Legion Of The Bouncy Castle Bc-lts-java
- 2.73.0 to before 2.73.13
Description
In Bouncy Castle for Java before 1.86, neither copy of PKIXCertPathReviewer - org.bouncycastle.pkix.jcajce.PKIXCertPathReviewer nor the legacy org.bouncycastle.x509.PKIXCertPathReviewer - applied X.509 name constraints to the end-entity certificate. checkNameConstraints walked the path with a loop bound of index greater than zero, which is the bound the CA-only steps require, but index zero is the target certificate under the standard CertPath ordering, so the permitted and excluded subtree checks of RFC 5280 sec. 6.1.3 (b) and (c) never ran against the leaf's subject DN or its subjectAltName. A chain whose leaf violated a NameConstraints extension imposed by its own issuing CA therefore reported isValidCertPath() true with an empty error list, while CertPathValidator.getInstance("PKIX", "BC"), which shares no code with the reviewer, rejected the identical chain against the identical trust anchor. An application using the reviewer to make the trust decision rather than for diagnostics alongside a real validation accepted a certificate the constrained CA was never authorised to issue. Both copies now check every certificate in the path including the target, waive the sec. 4.2.1.10 self-issued exemption for the final certificate as sec. 6.1.3 requires, and skip the sec. 6.1.4 (g) constraint-accumulation step for the target. This issue also affects Bouncy Castle for Java LTS before 2.73.13, which carries only the org.bouncycastle.pkix.jcajce copy of the reviewer. It also affects Bouncy Castle for Java FIPS (BC-FJA) before bcpkix-fips 1.0.13 (1.0.X series), 2.0.13 (2.0.X series) and 2.1.13 (2.1.X series).
Affected products
Get alerts for these →No product list yet. It usually appears within a few days of publication.
Timeline 6
Latest change: Nessus plugin 385107: openSUSE 16: bouncycastle / bouncycastle-javadoc / bouncycastle-jmail / etc (openSUSE-SU-2026:22382-1) (Nov 21, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Sun, Nov 22, 2026
Wed, Nov 18, 2026
Tue, Nov 17, 2026
Wed, Nov 11, 2026
Sun, Nov 1, 2026
Sat, Oct 3, 2026
- CVECVE-2026-71889 published (CVSS 8.7)CVE Program · 09:17 UTC
References 2
- github.com /bcgit/bc-java/commit/06dcff2f51037095de126986285c998e3455ab85
- github.com /bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9071889