Intel

AIKIDO-2026-582928

bcprov-jdk18on is vulnerable to Improper Certificate Validation

Improper Certificate ValidationCVE-2026-58062 Published Aug 10, 2026

93

Critical Risk

This Affects:

JAVAbcprov-jdk18on
1.66.0 - 1.84.0
Fixed in 1.85.0
Are you affected? Scan for Free

TL;DR

ProvOcspRevocationChecker accepts a stapled OCSP response without verifying that the response is bound to the certificate under check. An OCSP response for a different certificate can be presented and treated as evidence of status for the wrong cert. TLS or PKIX flows that rely on stapled OCSP may accept revoked or unrelated status information. The fix requires the OCSP response to match the certificate being validated.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use stapled OCSP via ProvOcspRevocationChecker.

Background info

bcprov-jdk18on is vulnerable to Improper Certificate Validation in versions 1.66.0 - 1.84.0.

How to fix this

Upgrade the org.bouncycastle:bcprov-jdk18on and/or the org.bouncycastle:bcprov-jdk15to18 library to the patch version.