cve.bz

CVE-2026-71889 legion of the bouncy castle inc.: Improper Certificate Validation

8.7 highEPSS 0.2%

High (8.7) in legion of the bouncy castle inc.. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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).

Severity

CVSS 4.0

8.7 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/U:Amber
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 6th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-71889 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-71889?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-71889?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-71889 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • legion of the bouncy castle inc.:bc-fja
  • legion of the bouncy castle inc.:bc-java
  • legion of the bouncy castle inc.:bc-lts-java

Versions

From the CNA's record in the CVE List.

ProductAffected
Legion of the Bouncy Castle Inc. BC-JAVAbefore 1.86
Legion of the Bouncy Castle Inc. BC-LTS-JAVAfrom 2.73.0 before 2.73.13
Legion of the Bouncy Castle Inc. BC-FJAfrom 1.0.4 before 1.0.13
Legion of the Bouncy Castle Inc. BC-FJAfrom 2.0.0 before 2.0.13
Legion of the Bouncy Castle Inc. BC-FJAfrom 2.1.0 before 2.1.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13bouncycastleno fix listedDEBIAN-CVE-2026-71889
Debian14bouncycastle1.86-1DEBIAN-CVE-2026-71889
Ubuntu26.04:LTS, 26.10, Pro:16.04:LTS and 4 morebouncycastleno fix listedUBUNTU-CVE-2026-71889
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-apache-sshd0:2.20.0-1.redhat_00002.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-bouncycastle, eap8-bouncycastle-pg, eap8-bouncycastle-pkix and 3 more0:1.86.0-1.redhat_00001.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-eap-product-conf-parent, eap8-eap-product-conf-wildfly-ee-feature-pack0:801.9.1-1.GA_redhat_00002.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-ironjacamar, eap8-ironjacamar-jdbc, eap8-ironjacamar-core-api and 6 more0:3.1.1-1.Final_redhat_00001.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-jackson-jaxrs-base, eap8-jackson-modules-base, eap8-jackson-datatype-jdk8 and 5 more0:2.18.11-1.redhat_00001.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-mod_cluster0:2.1.1-1.Final_redhat_00001.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-neethi0:3.2.4-1.redhat_00001.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-wildfly, eap8-wildfly-modules, eap8-wildfly-java-jdk17 and 1 more0:8.1.9.1-1.GA_redhat_00006.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-wildfly-http-client, eap8-wildfly-http-ejb-client, eap8-wildfly-http-client-common and 2 more0:2.1.5-1.Final_redhat_00001.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-wildfly-javadocs0:8.1.1-15.GA_redhat_00052.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-ws-commons-XmlSchema0:2.3.3-1.redhat_00001.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el9eap8-apache-sshd0:2.20.0-1.redhat_00002.1.el9eapRHSA-2026:99018
21 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morebouncycastle1.86-150200.3.41.1SUSE-SU-2026:4797-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0bouncycastle1.86-160000.1.1SUSE-SU-2026:24461-1
openSUSELeap 16.0bouncycastle1.86-160000.1.1openSUSE-SU-2026:22169-1
openSUSETumbleweedbouncycastle1.86-1.1openSUSE-SU-2026:12090-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

A flaw was found in Bouncy Castle's PKIXCertPathReviewer, where X.509 name constraints are not evaluated against the end-entity certificate during path validation. An attacker can exploit this by presenting a certificate chain with a leaf certificate violating domain or subtree restrictions set by an issuing Certificate Authority. If an application relies on PKIXCertPathReviewer rather than standard CertPathValidator to determine trust decisions, it may accept unauthorized or spoofed certificates as valid, bypassing intended certificate-based authentication and integrity controls.

Red Hat's mitigation

Do not use PKIXCertPathReviewer for trust or path validation decisions. Instead, validate certificate paths using the standard Java Cryptography Architecture via CertPathValidator.getInstance("PKIX", "BC")

ProductPackageStateAdvisory
Red Hat Build of Apache Camel 3.33.4.redhatorg.bouncycastle/bcpkix-jdk18on:1.86.0.redhat-00001Fixed 2026-10-15RHSA-2026:83670
Red Hat build of Quarkus 3.27.6.redhatorg.bouncycastle/bcpkix-jdk18on:1.86.0.redhat-00001Fixed 2026-10-15RHSA-2026:83082
Red Hat build of Quarkus 3.33.4.redhatorg.bouncycastle/bcpkix-jdk18on:1.86.0.redhat-00001Fixed 2026-10-15RHSA-2026:83520
Red Hat JBoss Enterprise Application Platform 8.1bcjmail-jdk18onFixed 2026-11-11RHSA-2026:99017
Red Hat JBoss Enterprise Application Platform 8.1bcpg-jdk18onFixed 2026-11-11RHSA-2026:99017
Red Hat JBoss Enterprise Application Platform 8.1bcpkix-jdk18onFixed 2026-11-11RHSA-2026:99017
Red Hat JBoss Enterprise Application Platform 8.1bcprov-jdk18onFixed 2026-11-11RHSA-2026:99017
Red Hat JBoss Enterprise Application Platform 8.1bcutil-jdk18onFixed 2026-11-11RHSA-2026:99017
Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 10eap8-apache-sshd-0:2.20.0-1.redhat_00002.1.el10eapFixed 2026-11-11RHSA-2026:99018
Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 10eap8-bouncycastle-0:1.86.0-1.redhat_00001.1.el10eapFixed 2026-11-11RHSA-2026:99018
OpenShift Developer Tools and ServicesjenkinsAffected
OpenShift Developer Tools and Servicesjenkins-2-pluginsAffected
OpenShift Serverlessopenshift-serverless-1/kn-ekb-dispatcher-rhel9Under investigation
OpenShift Serverlessopenshift-serverless-1/kn-ekb-receiver-rhel9Under investigation
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-ddb-streams-source-rhel9Under investigation
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel9Under investigation
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel9Under investigation
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sns-sink-rhel9Under investigation
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sqs-sink-rhel9Under investigation
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sqs-source-rhel9Under investigation
119 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-71889.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON