Vulnerabilities / CVE-2026-58062

critical

CVE-2026-58062

org.bouncycastle/bcpkix-jdk15on: org.bouncycastle/bcprov-jdk15on: Bouncy Castle for Java: Certificate validation bypass via stapled OCSP response

Published Modified CWE 295
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Red Hat7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), Amazon (high).

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).

Affected packages and fixed versions

SourcePackageFixed in
amazon linux 2023bouncycastle, bouncycastle-javadoc, bouncycastle-mail and 4 more1.70-4.amzn2023.0.8
chainguardbouncycastle-fips, keycloak-26.6, keycloak-26.7 and 2 more2.1.3-r0 and 4 more
debian 11bouncycastleno fix listed
debian 12bouncycastleno fix listed
debian 13bouncycastleno fix listed
debian 14bouncycastle1.86-1
echobouncycastleno fix listed
rapidfort amazon linux 2023bouncycastle, bouncycastle-javadoc, bouncycastle-mail and 4 more1.70-4.amzn2023.0.8
rapidfort debian 12bouncycastle0:1.86-1
rapidfort debian 13bouncycastle0:1.86-1
Red Hatbcpkix-jdk15on, bcpkix-jdk18on, bcprov-jdk15on and 31 moreno fix listed
seal maven::Seal Security Databaseorg.bouncycastle:bc-fips, org.bouncycastle:bcprov-jdk18on, seal.sp1.org.bouncycastle:bc-fips and 2 more2.1.2+sp2 and 4 more
Show all 66 entries from 13 sources
SourcePackageFixed in
amazon linux 2023bouncycastle1.70-4.amzn2023.0.8
amazon linux 2023bouncycastle-javadoc1.70-4.amzn2023.0.8
amazon linux 2023bouncycastle-mail1.70-4.amzn2023.0.8
amazon linux 2023bouncycastle-pg1.70-4.amzn2023.0.8
amazon linux 2023bouncycastle-pkix1.70-4.amzn2023.0.8
amazon linux 2023bouncycastle-tls1.70-4.amzn2023.0.8
amazon linux 2023bouncycastle-util1.70-4.amzn2023.0.8
chainguardbouncycastle-fips2.1.3-r0
chainguardkeycloak-26.626.6.7-r3
chainguardkeycloak-26.726.7.4-r2
chainguardkeycloak-fips-26.626.6.7-r1
chainguardkeycloak-fips-26.726.7.4-r1
debian 11bouncycastleno fix listed
debian 12bouncycastleno fix listed
debian 13bouncycastleno fix listed
debian 14bouncycastle1.86-1
echobouncycastleno fix listed
rapidfort amazon linux 2023bouncycastle1.70-4.amzn2023.0.8
rapidfort amazon linux 2023bouncycastle-javadoc1.70-4.amzn2023.0.8
rapidfort amazon linux 2023bouncycastle-mail1.70-4.amzn2023.0.8
rapidfort amazon linux 2023bouncycastle-pg1.70-4.amzn2023.0.8
rapidfort amazon linux 2023bouncycastle-pkix1.70-4.amzn2023.0.8
rapidfort amazon linux 2023bouncycastle-tls1.70-4.amzn2023.0.8
rapidfort amazon linux 2023bouncycastle-util1.70-4.amzn2023.0.8
rapidfort debian 12bouncycastle0:1.86-1
rapidfort debian 13bouncycastle0:1.86-1
Red Hatbcpkix-jdk15onno fix listed
Red Hatbcpkix-jdk18onno fix listed
Red Hatbcprov-jdk15onno fix listed
Red Hatcephno fix listed
Red Hatceph-baseno fix listed
Red Hatceph-commonno fix listed
Red Hatceph-fuseno fix listed
Red Hatceph-immutable-object-cacheno fix listed
Red Hatceph-mibno fix listed
Red Hatceph-resource-agentsno fix listed
Red Hatceph-selinuxno fix listed
Red Hatcephadmno fix listed
Red Hatcephfs-topno fix listed
Red Hatlibarrowno fix listed
Red Hatlibarrow-docno fix listed
Red Hatlibcephfs-develno fix listed
Red Hatlibcephfs-proxy2no fix listed
Red Hatlibcephfs2no fix listed
Red Hatlibrados-develno fix listed
Red Hatlibrados2no fix listed
Red Hatlibradospp-develno fix listed
Red Hatlibradosstriper1no fix listed
Red Hatlibrbd-develno fix listed
Red Hatlibrbd1no fix listed
Red Hatlibrgw-develno fix listed
Red Hatlibrgw2no fix listed
Red Hatparquet-libsno fix listed
Red Hatpython3-ceph-argparseno fix listed
Red Hatpython3-ceph-commonno fix listed
Red Hatpython3-cephfsno fix listed
Red Hatpython3-radosno fix listed
Red Hatpython3-rbdno fix listed
Red Hatpython3-rgwno fix listed
Red Hatrbd-nbdno fix listed
seal maven::Seal Security Databaseorg.bouncycastle:bc-fips2.1.2+sp2
seal maven::Seal Security Databaseorg.bouncycastle:bcprov-jdk18on1.82+sp3p3, 1.84+sp2p2
seal maven::Seal Security Databaseseal.sp1.org.bouncycastle:bc-fips2.1.2+sp999
seal maven::Seal Security Databaseseal.sp1.org.bouncycastle:bcprov-jdk18on1.82+sp999, 1.84+sp999
seal maven::Seal Security Databaseseal.sp2.org.bouncycastle:bcprov-jdk18on1.82+sp999
wolfikeycloak-26.626.6.7-r3

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.