Description
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).
Published: 2026-08-03
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from a trailing dot in the rfc822Name or URI fields of a certificate, allowing an attacker to bypass name constraints enforced by the Bouncy Castle library. This flaw can cause the library to accept certificates that would normally not satisfy the constraints imposed by the certificate path, potentially enabling a man‑in‑the‑middle attack or granting an attacker the ability to impersonate a trusted entity. The weakness is categorized under CWE‑295, indicating an issue in transport layer protection and certificate validation.

Affected Systems

Affected are Bouncy Castle for Java releases before version 1.85 and the LTS releases before 2.73.12, as well as Bouncy Castle for Java FIPS (BC‑FJA) versions before bc‑fips 1.0.2.7 for the 1.0.X series, 2.0.2 for the 2.0.X series and 2.1.3 for the 2.1.X series. These include the BC‑FJA, BC‑JAVA, and BC‑LTS‑JAVA product lines under the Legion of the Bouncy Castle Inc. CNA.

Risk and Exploitability

The CVSS score of 9.3 signals a critical severity. Because the EPSS score is not available and there is no listing in the CISA KEV catalog, the current exploitation probability is unknown; however, the flaw is activatable with a crafted certificate chain. The likely attack vector involves an attacker deploying a malicious certificate containing a trailing dot in the rfc822Name or URI field, which the unpatched library would incorrectly validate against name constraints. Once validated, the application would accept the certificate, potentially granting the attacker unauthorized network or application level privileges.

Generated by OpenCVE AI on August 3, 2026 at 09:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Replace all Bouncy Castle for Java components with version 1.85 or later for standard releases, 2.73.12 or later for LTS releases, and bc‑fips 1.0.2.7 or newer for FIPS series before re‑deploying your services.
  • Implement supplemental certificate validation logic that filters out any rfc822Name or URI containing a trailing dot until the library update is complete; this provides a temporary defense against the bypass.
  • Continuously monitor application logs for anomalous certificate validation events or unexpected certificate chains to detect potential exploitation attempts.

Generated by OpenCVE AI on August 3, 2026 at 09:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 03 Aug 2026 16:15:00 +0000

Type Values Removed Values Added
First Time appeared Legion Of The Bouncy Castle Inc.
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
Vendors & Products Legion Of The Bouncy Castle Inc.
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

Mon, 03 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 03 Aug 2026 09:00:00 +0000


Mon, 03 Aug 2026 01:15:00 +0000

Type Values Removed Values Added
Description 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).
Title Name Constraints bypass via trailing dot in rfc822Name and URI
Weaknesses CWE-295
References
Metrics cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/U:Amber'}


Subscriptions

Legion Of The Bouncy Castle Inc. Bc-fja Bc-java Bc-lts-java
cve-icon MITRE

Status: PUBLISHED

Assigner: bcorg

Published:

Updated: 2026-08-03T13:29:24.563Z

Reserved: 2026-05-17T06:03:57.082Z

Link: CVE-2026-8763

cve-icon Vulnrichment

Updated: 2026-08-03T13:29:20.495Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-08-03T01:16:45.807

Modified: 2026-08-04T14:50:12.360

Link: CVE-2026-8763

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T15:52:45Z

Weaknesses
  • CWE-295

    Improper Certificate Validation