CVE-2026-8763

Name Constraints bypass via trailing dot in rfc822Name and URI

Published Aug 3, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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).

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Github GHSA Github GHSA GHSA-9pwp-9qqc-pr26 Bouncy Castle: Name Constraints bypass via trailing dot in rfc822Name and URI
History
Type Values Removed Values Added
First Time appeared Bouncycastle
Bouncycastle bc-java
Bouncycastle bouncy Castle For Java Lts
Bouncycastle fips Java Api
CPEs cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*
cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:*
cpe:2.3:a:bouncycastle:fips_java_api:*:*:*:*:*:*:*:*
Vendors & Products Bouncycastle
Bouncycastle bc-java
Bouncycastle bouncy Castle For Java Lts
Bouncycastle fips Java Api
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

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
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-295

    Improper Certificate Validation

Sources

Status
PUBLISHED
Assigner
bcorg
Published
Updated
Oct 5, 2026, 1:16 AM
Reserved
May 17, 2026, 6:03 AM
Status
Analyzed
Published
Aug 3, 2026, 1:16 AM
Modified
Sep 2, 2026, 2:28 PM