CVE-2026-58062: CWE-295 Improper Certificate Validation in Legion of the Bouncy Castle Inc. BC-JAVA
CVE-2026-58062 is a critical vulnerability in Bouncy Castle for Java (BC-JAVA) affecting versions before 1.85 and certain LTS and FIPS releases. The issue involves improper certificate validation where stapled OCSP responses are accepted without proper binding to the checked certificate. This flaw can undermine the trustworthiness of certificate status verification.
AI Analysis
Technical Summary
This vulnerability (CWE-295) in BC-JAVA occurs because stapled OCSP responses are accepted without verifying that they are bound to the certificate being checked. Affected versions include BC-JAVA before 1.85, BC-JAVA LTS before 2.73.12, and BC-FJA FIPS versions before 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series). The CVSS 4.0 score is 9.3, indicating a critical severity with network attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality and integrity. No official patch or remediation level is indicated in the available data, and no known exploits in the wild have been reported.
Potential Impact
The vulnerability allows acceptance of OCSP responses that are not properly bound to the certificate, potentially enabling attackers to bypass certificate status validation. This can lead to trust in revoked or invalid certificates, compromising secure communications that rely on BC-JAVA for certificate validation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider avoiding affected versions or implementing additional certificate validation controls outside of BC-JAVA. Monitor vendor communications for updates on patches or workarounds.
CVE-2026-58062: CWE-295 Improper Certificate Validation in Legion of the Bouncy Castle Inc. BC-JAVA
Description
CVE-2026-58062 is a critical vulnerability in Bouncy Castle for Java (BC-JAVA) affecting versions before 1.85 and certain LTS and FIPS releases. The issue involves improper certificate validation where stapled OCSP responses are accepted without proper binding to the checked certificate. This flaw can undermine the trustworthiness of certificate status verification.
CVSS v4.0
Score 9.3critical
Affected software
pkg:github/bcprov-lts8onRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CWE-295) in BC-JAVA occurs because stapled OCSP responses are accepted without verifying that they are bound to the certificate being checked. Affected versions include BC-JAVA before 1.85, BC-JAVA LTS before 2.73.12, and BC-FJA FIPS versions before 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series). The CVSS 4.0 score is 9.3, indicating a critical severity with network attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality and integrity. No official patch or remediation level is indicated in the available data, and no known exploits in the wild have been reported.
Potential Impact
The vulnerability allows acceptance of OCSP responses that are not properly bound to the certificate, potentially enabling attackers to bypass certificate status validation. This can lead to trust in revoked or invalid certificates, compromising secure communications that rely on BC-JAVA for certificate validation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider avoiding affected versions or implementing additional certificate validation controls outside of BC-JAVA. Monitor vendor communications for updates on patches or workarounds.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- bcorg
- Date Reserved
- 2026-06-28T01:21:46.334Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a700186bf32cb7a34d5cb16
Added to database: 08/03/2026, 02:48:38 UTC
Last enriched: 08/03/2026, 03:02:54 UTC
Last updated: 08/03/2026, 03:02:54 UTC
Views: 19
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.