CVE-2026-58062 Stapled OCSP response accepted without binding to the checked certificate
Attackers can bypass certificate validation by presenting a stapled OCSP response not bound to the checked certificate in Bouncy Castle Java libraries.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-58062?
CVE-2026-58062 is a critical vulnerability in Bouncycastle Bc-Java, published on 3 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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).
Weakness: CWE-295
Which versions are affected by CVE-2026-58062?
It affects 3 products.
Products include Bouncycastle Bc-Java, Bouncycastle Bouncy Castle for Java Lts, Bouncycastle Fips Java Api.
How do I fix CVE-2026-58062?
Upgrade to a fixed version.
Is CVE-2026-58062 being exploited?
There is no known exploitation of CVE-2026-58062 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Bouncycastle Bc-Java
- CVE-2007-6721 Legion of the Bouncy Castle Java Cryptography API Bleichenbacher Oracle Vulnerability
- CVE-2018-1000613 Deserialization of Untrusted Data in Bouncy castle
- CVE-2026-59638 JSSE hostname verifier CN-fallback enabled by default despite documented opt-in
- CVE-2026-59650 MTI/A0 DH agreement exponentiates unvalidated peer value
- CVE-2026-8763 Name Constraints bypass via trailing dot in rfc822Name and URI
Sources
Also known as CLEANSTART-2026-IC52490, CLEANSTART-2026-NV23074, CLEANSTART-2026-QI70925, CLEANSTART-2026-QK17801, CLEANSTART-2026-VS62795, DEBIAN-CVE-2026-58062 and 2 more.