Description
In Bouncy Castle for Java before 1.85, Stapled OCSP response accepted without binding to the checked certificate. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 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 Bouncy Castle for Java libraries validate OCSP stapling for TLS but do not bind the stapled OCSP response to the certificate that is being checked. This means an attacker can supply a stapled response that references a different certificate or an arbitrary validity period. As a result, the library may accept a forged response and believe the certificate is valid when it is not, allowing the attacker to impersonate the server or bypass revocation checks. This loss of trust can compromise confidentiality, integrity, and availability of TLS connections.

Affected Systems

Affected vendors are Legion of the Bouncy Castle Inc. with products BC-FJA, BC-JAVA and BC-LTS-JAVA. The bug exists in Bouncy Castle for Java before version 1.85, Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC‑FJA) before bc‑fips 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).

Risk and Exploitability

The CVSS base score of 9.3 indicates a critical impact. The EPSS score is unavailable, so current data does not quantify the likelihood, but the lack of KEV inclusion suggests no publicly known active exploitation yet. Based on the description, the likely attack vector is over the network during a TLS handshake where a client or server presents a stapled OCSP response that the library blindly accepts. An attacker who can modify the stapled response would need to intercept or control the TLS traffic. Once the library accepts the forged response, the attacker can impersonate the server or bypass revocation, enabling man‑in‑the‑middle attacks or certificate forgery.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Bouncy Castle library to v1.85, v2.73.12, or the applicable FIPS version 2.0.2/2.1.3 or later.
  • If the upgrade cannot be applied immediately, disable OCSP stapling validation or remove stapled responses from the TLS context before verification.
  • Implement additional checks to enforce that any stapled OCSP response is bound to the certificate being validated, effectively rejecting responses that do not match the target certificate.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 03 Aug 2026 19: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 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 06:45:00 +0000


Mon, 03 Aug 2026 02:45:00 +0000

Type Values Removed Values Added
Description In Bouncy Castle for Java before 1.85, Stapled OCSP response accepted without binding to the checked certificate. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).
Title Stapled OCSP response accepted without binding to the checked certificate
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-03T18:27:07.645Z

Reserved: 2026-06-28T01:21:46.334Z

Link: CVE-2026-58062

cve-icon Vulnrichment

Updated: 2026-08-03T18:27:04.595Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-08-03T03:16:45.640

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

Link: CVE-2026-58062

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-295

    Improper Certificate Validation