CVE-2026-58062: Stapled OCSP Certificate-Binding Bypass in Bouncy Castle
- Vendor
- Bouncy Castle
CVE-2026-58062 is an improper certificate-validation vulnerability in Bouncy Castle's handling of stapled Online Certificate Status Protocol (OCSP) responses. The revocation checker accepts a stapled response without binding it to the certificate being checked, allowing a response for a different certificate to potentially satisfy revocation-status validation. Affected versions are Bouncy Castle for Java before 1.85, Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before 2.0.2 in the 2.0.x series and before 2.1.3 in the 2.1.x series.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker may bypass certificate revocation-status validation by supplying an OCSP response associated with a different certificate. This can undermine certificate-based trust and potentially allow a revoked certificate to pass the affected revocation check. The published CVSS assessments assign high confidentiality and integrity impacts and no availability impact; actual consequences depend on how the application uses certificate validation. The flaw does not establish a bypass of all other certificate checks.
Mitigation
If you can’t patch tonight, do this now.
Until the affected libraries or applications are upgraded, avoid relying on vulnerable stapled OCSP validation paths where possible and use independent certificate revocation-validation controls. Simply disabling revocation checking does not preserve the affected security protection.
Remediation
Patch, then assume compromise.
Upgrade Bouncy Castle for Java to 1.85 or later, Java LTS to 2.73.12 or later, BC-FJA 2.0.x to 2.0.2 or later, or BC-FJA 2.1.x to 2.1.3 or later within the applicable release series. For products bundling Bouncy Castle, install the vendor-supported release containing the fix. CVE-specific fixed Confluence releases include 9.2.24, 10.2.17, and 11.0.0.
Exploits
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-58062 exploited in the wild?
- As of Oct 31, 2026, Mallory has no reports of CVE-2026-58062 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-58062?
- As of Oct 31, 2026, Mallory has found no public exploit for CVE-2026-58062.
- Is there a patch for CVE-2026-58062?
- Upgrade Bouncy Castle for Java to 1.85 or later, Java LTS to 2.73.12 or later, BC-FJA 2.0.x to 2.0.2 or later, or BC-FJA 2.1.x to 2.1.3 or later within the applicable release series. For products bundling Bouncy Castle, install the vendor-supported release containing the fix.
- What products are affected by CVE-2026-58062?
- Bouncy Castle Bc-Java, Bouncy Castle For Java Lts, and Bouncy Castle Fips Java Api.
- How severe is CVE-2026-58062?
- CVE-2026-58062 has a CVSS v4 score of 9.3 (Critical) and an EPSS score of 0.27% (13th percentile) as of Oct 31, 2026.
Recent activity
17 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.