Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bouncycastle/bc-fips
  4. ›
  5. CVE-2026-58062

CVE-2026-58062: Stapled OCSP response accepted without binding to the checked certificate

August 3, 2026 (updated September 16, 2026)

Affects Bouncy Castle for Java FIPS (BC-FJA) bc-fips before 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series). In the stapled OCSP path, ProvOcspRevocationChecker verifies the response signature and then searches for a SingleResponse matching the certificate’s serial and issuer hashes, but returns normally when none matches, so the certificate is treated as unrevoked with no CRL fallback. The network-fetch path enforces this binding; the stapled path does not. A server holding a revoked certificate can staple any validly signed response from the same CA and pass revocation checking.

References

  • github.com/bcgit/bc-java/commit/add5f822660f3b2c29fd824e2f4095469c42a1c7
  • github.com/bcgit/bc-java/wiki/CVE-2026-58062
  • nvd.nist.gov/vuln/detail/CVE-2026-58062

Code Behaviors & Features

Detect and mitigate CVE-2026-58062 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0 before 2.0.2, all versions starting from 2.1.0 before 2.1.3

Fixed versions

  • 2.0.2
  • 2.1.3

Solution

Upgrade to versions 2.0.2, 2.1.3 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

maven/org.bouncycastle/bc-fips/CVE-2026-58062.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:19:44 +0000.