cve.bz

CVE-2026-58060 bouncycastle

8.7 highEPSS 0.7%Fix available

High (8.7) in bouncycastle. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
In Bouncy Castle for Java before 1.85, HSS public-key level count unbounded, enabling huge allocation on verify. 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).

Severity

CVSS 4.0

8.7 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Amber

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-08-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-789 Memory Allocation with Excessive Size Value
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-58060 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-58060?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-58060?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-58060 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Legion of the Bouncy Castle Inc. BC-JAVAfrom 1.65 before 1.85
Legion of the Bouncy Castle Inc. BC-LTS-JAVAfrom 2.73.0 before 2.73.12
Legion of the Bouncy Castle Inc. BC-FJAfrom 2.0.0 before 2.0.2
Legion of the Bouncy Castle Inc. BC-FJAfrom 2.1.0 before 2.1.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13bouncycastleno fix listedDEBIAN-CVE-2026-58060
Debian14bouncycastle1.86-1DEBIAN-CVE-2026-58060
Ubuntu26.04:LTS, 26.10, Pro:16.04:LTS and 4 morebouncycastleno fix listedUBUNTU-CVE-2026-58060
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-apache-sshd0:2.20.0-1.redhat_00002.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-bouncycastle, eap8-bouncycastle-pg, eap8-bouncycastle-pkix and 3 more0:1.86.0-1.redhat_00001.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-eap-product-conf-parent, eap8-eap-product-conf-wildfly-ee-feature-pack0:801.9.1-1.GA_redhat_00002.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-ironjacamar, eap8-ironjacamar-jdbc, eap8-ironjacamar-core-api and 6 more0:3.1.1-1.Final_redhat_00001.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-jackson-jaxrs-base, eap8-jackson-modules-base, eap8-jackson-datatype-jdk8 and 5 more0:2.18.11-1.redhat_00001.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-mod_cluster0:2.1.1-1.Final_redhat_00001.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-neethi0:3.2.4-1.redhat_00001.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-wildfly, eap8-wildfly-modules, eap8-wildfly-java-jdk17 and 1 more0:8.1.9.1-1.GA_redhat_00006.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-wildfly-http-client, eap8-wildfly-http-ejb-client, eap8-wildfly-http-client-common and 2 more0:2.1.5-1.Final_redhat_00001.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-wildfly-javadocs0:8.1.1-15.GA_redhat_00052.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-ws-commons-XmlSchema0:2.3.3-1.redhat_00001.1.el8eapRHSA-2026:99018
Red Hatjboss_enterprise_application_platform:8.1::el9eap8-apache-sshd0:2.20.0-1.redhat_00002.1.el9eapRHSA-2026:99018
21 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morebouncycastle1.85-150200.3.38.1SUSE-SU-2026:3559-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0bouncycastle1.85-160000.1.1SUSE-SU-2026:23127-1 SUSE-SU-2026:23150-1
openSUSELeap 16.0bouncycastle1.85-160000.1.1openSUSE-SU-2026:21538-1
openSUSETumbleweedbouncycastle1.85-1.1openSUSE-SU-2026:11445-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Important: Bouncy Castle for Java is vulnerable to a denial of service due to an unbounded HSS public-key level count during verification. This flaw can lead to excessive memory allocation, impacting the availability of applications. Red Hat products utilizing Bouncy Castle for Java are affected if they process untrusted HSS public keys.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat JBoss Enterprise Application Platform 8.1bcjmail-jdk18onFixed 2026-11-11RHSA-2026:99017
Red Hat JBoss Enterprise Application Platform 8.1bcpg-jdk18onFixed 2026-11-11RHSA-2026:99017
Red Hat JBoss Enterprise Application Platform 8.1bcpkix-jdk18onFixed 2026-11-11RHSA-2026:99017
Red Hat JBoss Enterprise Application Platform 8.1bcprov-jdk18onFixed 2026-11-11RHSA-2026:99017
Red Hat JBoss Enterprise Application Platform 8.1bcutil-jdk18onFixed 2026-11-11RHSA-2026:99017
Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 10eap8-apache-sshd-0:2.20.0-1.redhat_00002.1.el10eapFixed 2026-11-11RHSA-2026:99018
Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 10eap8-bouncycastle-0:1.86.0-1.redhat_00001.1.el10eapFixed 2026-11-11RHSA-2026:99018
Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 10eap8-eap-product-conf-parent-0:801.9.1-1.GA_redhat_00002.1.el10eapFixed 2026-11-11RHSA-2026:99018
Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 10eap8-ironjacamar-0:3.1.1-1.Final_redhat_00001.1.el10eapFixed 2026-11-11RHSA-2026:99018
Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 10eap8-jackson-jaxrs-providers-0:2.18.11-1.redhat_00001.1.el10eapFixed 2026-11-11RHSA-2026:99018
Red Hat AMQ Broker 7bcpkix-jdk18onNot affected
Red Hat AMQ Broker 7bcprov-jdk18onAffected
Red Hat AMQ Broker 7bcutil-jdk18onNot affected
Red Hat build of Apache Camel 4 for Quarkus 3bcpg-jdk18onNot affected
Red Hat build of Apache Camel 4 for Quarkus 3bcpkix-jdk18onNot affected
Red Hat build of Apache Camel 4 for Quarkus 3bcprov-jdk18onNot affected
Red Hat build of Apache Camel 4 for Quarkus 3bcutil-jdk18onNot affected
Red Hat build of Apache Camel for Spring Boot 4bcpkix-jdk18onAffected
Red Hat build of Apache Camel for Spring Boot 4bcprov-jdk18onAffected
Red Hat build of Apache Camel for Spring Boot 4bcutil-jdk18onAffected
78 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-58060.

References

Check your stackJSON