Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain revoked cert and mismatched signed OCSP 'good' response
-
DeliveryPresent cert to victim's TLS/PKI client
-
ExploitStaple OCSP response bound to other CertID
-
ExecutionPKIXRevocationChecker accepts non-matching response
-
PersistRevocation check bypassed, connection trusted
-
ImpactEstablish MITM / impersonation
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Exploitation requires that the relying application performs OCSP revocation checking through Bouncy Castle's PKIXRevocationChecker and consumes a stapled/supplied OCSP response (via setOcspResponses) or an AIA-fetched response (itself gated behind the ocsp.enable security property, disabled by default in BC). The attacker must present a certificate whose revocation status would otherwise be caught, together with a validly-signed OCSP response bound to a DIFFERENT CertID than the checked certificate. Limiting factors: it does not affect applications that skip OCSP or enforce CRL-only checking; the AIA network-fetch path is off unless ocsp.enable=true; and the attacker needs a legitimately-signed OCSP response (e.g. any 'good' response from the responder covering another serial). This is a control-bypass rather than a no-precondition remote compromise, so it is not exploitable against arbitrary default deployments without OCSP-stapling reliance. |
| Impact | Signals are mixed and warrant careful interpretation. The vendor CVSS 4.0 score is 9.3 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N) with a U:Amber caveat, implying trivially remote, unauthenticated, high-impact exploitation - but the description and source evidence show this is a revocation-enforcement bypass, not direct code execution or data theft. Real-world exploitation requires the attacker to already possess or present a certificate that would otherwise be caught as revoked, plus a relying application that uses PKIXRevocationChecker with stapled/supplied OCSP responses; this is closer to AC:H than AC:L in practice, so the 9.3 likely overstates ease of attack. No EPSS score is provided, the CVE is not in CISA KEV, and no POC beyond the vendor's regression test is referenced, so this is not evidence of active, widespread exploitation. Nonetheless the impact class is serious: silently accepting revoked certificates undermines a core TLS/PKI control and can enable man-in-the-middle interception with a revoked-but-valid-looking cert. Net assessment: high-priority patch for anyone using Bouncy Castle OCSP revocation checking, but the headline 9.3 should be read as an upper bound - the practical prerequisites make it targeted rather than mass-exploitable. |
| Exploit ScenarioDerived | An attacker holding a certificate that has been revoked (for example after a stolen private key) positions themselves as a TLS peer or MITM and staples a validly-signed OCSP 'good' response that actually covers a different certificate's serial (such as the CA's). A relying Java application using vulnerable Bouncy Castle OCSP revocation checking accepts the mismatched response as proof the presented certificate is not revoked, and the connection is trusted despite the revocation. No public exploit is identified beyond the vendor's regression test. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 03, 2026
Certificate revocation-check bypass in the Bouncy Castle for Java (bc-java) PKIX provider allows a validly-signed OCSP response issued for one certificate to be accepted as proof-of-status for a different certificate, because the stapled response is not bound to the CertID of the certificate actually being checked. This means a revoked end-entity certificate can pass PKIXRevocationChecker validation when a 'good' OCSP response for another serial (e.g. the CA's) is supplied, defeating revocation enforcement in TLS/PKI clients that rely on OCSP stapling. Affected releases are bc-java before 1.85, bc-lts-java before 2.73.12, and BC-FJA (FIPS) before 2.0.2 and 2.1.3; no public exploit identified at time of analysis and it is not listed in CISA KEV.
RemediationAI
Upgrade to a fixed release: bc-java 1.85 or later, bc-lts-java 2.73.12 or later, and for FIPS deployments BC-FJA 2.0.2 (2.0.X series) or 2.1.3 (2.1.X series) or later; the corresponding upstream fix is commit add5f822660f3b2c29fd824e2f4095469c42a1c7 (https://github.com/bcgit/bc-java/commit/add5f822660f3b2c29fd824e2f4095469c42a1c7) and the advisory at https://github.com/bcgit/bc-java/wiki/CVE-2026-58062. If you cannot upgrade immediately, do not rely solely on stapled OCSP for revocation: configure PKIXRevocationChecker to require CRL checking or enable CRL fallback so a non-matching OCSP response does not silently pass (this adds CRL-distribution network dependencies and latency), and avoid trusting caller-supplied stapled OCSP responses from untrusted peers. As an interim control, validate at the application layer that any OCSP response's CertID matches the certificate under test, accepting the added integration effort this requires.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Bouncy Castle is one of the most widely used cryptographic libraries in the Java ecosystem, providing a JCA/JCE provider used for TLS, PKI, and certificate-path validation. The flaw lives in the OCSP handling of PKIXRevocationChecker, which processes OCSP responses supplied via setOcspResponses(...) (stapling) as well as via AIA network fetch. The root cause is CWE-295 (Improper Certificate Validation): when validating an end-entity certificate the code accepted a syntactically valid, correctly-signed OCSP response even when none of its SingleResponse entries matched the checked certificate's CertID (issuer name hash, issuer key hash, and serial number). As the added PKIXRevocationTest demonstrates, a 'good' response covering the CA's CertID stapled for the end-entity was silently treated as a successful check instead of a no-match. The fix makes an OCSP response with no matching SingleResponse fail the OCSP check so that CRL fallback runs (or validation is rejected), verified across the ONLY_END_ENTITY option and the ocsp.enable-gated AIA network path. CPE strings identify the three affected packages: legion_of_the_bouncy_castle_inc.:bc-java, :bc-lts-java, and :bc-fja.
Know when Java gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-facing revocation bypass but needs a revoked cert plus a mismatched signed OCSP response and OCSP reliance, so AC:H; enables MITM/impersonation giving C:H/I:H, no availability impact.
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Primary rating from Vendor (bcorg).
CVSS VectorVendor: bcorg
DescriptionCVE.org
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).
Executive ViewAI
Bouncy Castle for Java contains a critical certificate revocation bypass (CVE-2026-58062), and no public exploit has been identified at time of analysis. The vulnerability allows revoked certificates to pass validation by reusing OCSP responses from other certificates, directly undermining certificate-based authentication in TLS and PKI systems. Organizations using Bouncy Castle must immediately apply vendor patches to restore revocation enforcement and prevent potential security breaches.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Related Vulnerabilities in Bouncy Castle for Java Cryptographic Vulnerabilities
View all 23Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-295 – Improper Certificate Validation
View allSame technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| SUSE Linux Enterprise Desktop 15 SP7 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| openSUSE Leap 16.0 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Manager Proxy 4.3 | Affected |
| SUSE Manager Retail Branch Server 4.3 | Affected |
| SUSE Manager Server 4.3 | Affected |
| SUSE Enterprise Storage 7 | Affected |
| SUSE Enterprise Storage 7.1 | Affected |
| SUSE Linux Enterprise Desktop 15 SP2 | Affected |
| SUSE Linux Enterprise Desktop 15 SP3 | Affected |
| SUSE Linux Enterprise Desktop 15 SP4 | Affected |
| SUSE Linux Enterprise Desktop 15 SP5 | Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP2 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP2 | Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP2 | Affected |
| SUSE Linux Enterprise Server 15 SP2-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP3 | Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Manager Proxy 4.1 | Affected |
| SUSE Manager Proxy 4.2 | Affected |
| SUSE Manager Retail Branch Server 4.1 | Affected |
| SUSE Manager Retail Branch Server 4.2 | Affected |
| SUSE Manager Server 4.1 | Affected |
| SUSE Manager Server 4.2 | Affected |
| openSUSE Leap 15.3 | Affected |
| openSUSE Leap 15.4 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-52089
GHSA-j295-77c3-9frf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB