Skip to content
OpenAdvisories
High · 8.7 CVE-2026-58060 EUVD-2026-52091GHSA-3q78-fqj5-g3mc

HSS public-key level count unbounded, enabling huge allocation on verify

Published Aug 3, 2026 · Updated Aug 3, 2026 · Assigned by bcorg

Description

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

Affected products

VendorProductAffectedFixed
Legion of the Bouncy Castle BC-JAVA 1.65 – < 1.85 1.85
Legion of the Bouncy Castle BC-LTS-JAVA 2.73.0 – < 2.73.12 2.73.12
Legion of the Bouncy Castle BC-FJA 2.0.0 – < 2.0.2, 2.1.0 – < 2.1.3 2.0.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 bouncycastle 1.86-1 —
Debian 13 bouncycastle No fix yet —
Debian 12 bouncycastle No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 bouncycastle No fix yet —
Ubuntu 26.04 LTS bouncycastle No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS bouncycastle No fix yet —
Ubuntu Pro 22.04 LTS bouncycastle No fix yet —
Ubuntu Pro 20.04 LTS bouncycastle No fix yet —
Ubuntu Pro 18.04 LTS bouncycastle No fix yet —
Ubuntu Pro 16.04 LTS bouncycastle No fix yet —
ReleasePackageFixed inAdvisory
Red Hat JBoss EAP 8 eap8-apache-sshd 2.20.0-1.redhat_00002.1.el8eap RHSA-2026:99018
Red Hat JBoss EAP 8 eap8-bouncycastle +5 1.86.0-1.redhat_00001.1.el8eap RHSA-2026:99018
Red Hat JBoss EAP 8 eap8-eap-product-conf-parent +1 801.9.1-1.GA_redhat_00002.1.el8eap RHSA-2026:99018
Red Hat JBoss EAP 8 eap8-ironjacamar +8 3.1.1-1.Final_redhat_00001.1.el8eap RHSA-2026:99018
Red Hat JBoss EAP 8 eap8-jackson-jaxrs-base +7 2.18.11-1.redhat_00001.1.el8eap RHSA-2026:99018
Red Hat JBoss EAP 8 eap8-mod_cluster 2.1.1-1.Final_redhat_00001.1.el8eap RHSA-2026:99018
Red Hat JBoss EAP 8 eap8-neethi 3.2.4-1.redhat_00001.1.el8eap RHSA-2026:99018
Red Hat JBoss EAP 8 eap8-wildfly +3 8.1.9.1-1.GA_redhat_00006.1.el8eap RHSA-2026:99018
Red Hat JBoss EAP 8 eap8-wildfly-http-client +4 2.1.5-1.Final_redhat_00001.1.el8eap RHSA-2026:99018
Red Hat JBoss EAP 8 eap8-wildfly-javadocs 8.1.1-15.GA_redhat_00052.1.el8eap RHSA-2026:99018
Red Hat JBoss EAP 8 eap8-ws-commons-XmlSchema 2.3.3-1.redhat_00001.1.el8eap RHSA-2026:99018
ReleasePackageFixed inAdvisory
SLES 15 SP7 bouncycastle 1.85-150200.3.38.1 SUSE-SU-2026:3559-1
SLES 15 SP6 bouncycastle 1.85-150200.3.38.1 SUSE-SU-2026:3559-1
SLES 15 SP5 bouncycastle 1.85-150200.3.38.1 SUSE-SU-2026:3559-1
SLES 15 SP4 bouncycastle 1.85-150200.3.38.1 SUSE-SU-2026:3559-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 bouncycastle 1.85-160000.1.1 SUSE-SU-2026:23150-1, SUSE-SU-2026:23127-1
SLES for SAP 15 SP6 bouncycastle 1.85-150200.3.38.1 SUSE-SU-2026:3559-1
SLES for SAP 15 SP5 bouncycastle 1.85-150200.3.38.1 SUSE-SU-2026:3559-1
SLES for SAP 15 SP4 bouncycastle 1.85-150200.3.38.1 SUSE-SU-2026:3559-1
SLES 16.0 bouncycastle 1.85-160000.1.1 SUSE-SU-2026:23150-1, SUSE-SU-2026:23127-1
SLE HPC 15 SP5 bouncycastle 1.85-150200.3.38.1 SUSE-SU-2026:3559-1
SLE HPC 15 SP4 bouncycastle 1.85-150200.3.38.1 SUSE-SU-2026:3559-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed bouncycastle 1.85-1.1 openSUSE-SU-2026:11445-1
openSUSE Leap 16.0 bouncycastle 1.85-160000.1.1 openSUSE-SU-2026:21538-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 bouncycastle +6 1.70-4.amzn2023.0.8 ALAS2023-2026-2153

Advisories 13

References