cve.bz

CVE-2026-3505 legion of the bouncy castle inc. bc-java: Uncontrolled Resource Consumption

8.7 highEPSS 0.8%Fix available

High (8.7) in legion of the bouncy castle inc. bc-java. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in org.bouncycastle:bcpg-jdk14 1.84.

On this page
Allocation of resources without limits or throttling, Uncontrolled Resource Consumption vulnerability in Legion of the Bouncy Castle Inc. BC-JAVA bcpg on all (pg modules). This vulnerability is associated with program files AEADEncDataPacket.Java, BcAEADUtil.Java, JceAEADUtil.Java, OperatorHelper.Java. This issue affects BC-JAVA: from 1.74 before 1.80.2, from 1.81 before 1.81.1, from 1.82 before 1.84.

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

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.8% (unchanged from 0.8% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-22. 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-04-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • org.bouncycastle:bcpg-jdk14 (Maven): fixed in 1.84
  • org.bouncycastle:bcpg-jdk15to18 (Maven): fixed in 1.84
  • org.bouncycastle:bcpg-jdk18on (Maven): fixed in 1.84
  • Debian, Red Hat, openSUSE: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-3505 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-3505?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-3505?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-3505 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.74 before 1.80.2
Legion of the Bouncy Castle Inc. BC-JAVAfrom 1.81 before 1.81.1
Legion of the Bouncy Castle Inc. BC-JAVAfrom 1.82 before 1.84

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cj8j-37rh-8475Mavenorg.bouncycastle:bcpg-jdk12<=130no fix published
GHSA-cj8j-37rh-8475Mavenorg.bouncycastle:bcpg-jdk14<1.841.84
GHSA-cj8j-37rh-8475Mavenorg.bouncycastle:bcpg-jdk15<=1.46no fix published
GHSA-cj8j-37rh-8475Mavenorg.bouncycastle:bcpg-jdk15to18<1.841.84
GHSA-cj8j-37rh-8475Mavenorg.bouncycastle:bcpg-jdk15on<=1.70no fix published
GHSA-cj8j-37rh-8475Mavenorg.bouncycastle:bcpg-jdk16<=1.46no fix published
GHSA-cj8j-37rh-8475Mavenorg.bouncycastle:bcpg-jdk18on<1.841.84

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13bouncycastleno fix listedDEBIAN-CVE-2026-3505
Debian14bouncycastle1.86-1DEBIAN-CVE-2026-3505
Ubuntu25.10, 26.04:LTS, 26.10 and 5 morebouncycastleno fix listedUBUNTU-CVE-2026-3505
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-activemq-artemis, eap8-activemq-artemis-cli, eap8-activemq-artemis-dto and 12 more0:2.40.0-6.redhat_00012.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-activemq-artemis, eap8-activemq-artemis-cli, eap8-activemq-artemis-dto and 12 more0:2.40.0-8.redhat_00024.1.el8eapRHSA-2026:70228
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-angus, eap8-angus-mail0:2.0.5-1.redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-angus-activation0:2.0.3-1.redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-apache-cxf, eap8-apache-cxf-rt, eap8-apache-cxf-tools and 1 more0:4.1.7-1.SP1_redhat_00001.1.el8eapRHSA-2026:70228
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-artemis-wildfly-integration0:2.0.5-1.Final_redhat_00001.1.el8eapRHSA-2026:70228
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-bouncycastle, eap8-bouncycastle-pg, eap8-bouncycastle-pkix and 3 more0:1.84.0-1.redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-bouncycastle, eap8-bouncycastle-pg, eap8-bouncycastle-pkix and 3 more0:1.85.0-1.redhat_00001.1.el8eapRHSA-2026:70228
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-cryptacular0:1.2.7-1.redhat_00002.1.el8eapRHSA-2026:70228
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-eap-product-conf-parent, eap8-eap-product-conf-wildfly-ee-feature-pack0:801.6.0-1.GA_redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-eap-product-conf-parent, eap8-eap-product-conf-wildfly-ee-feature-pack0:801.8.0-1.GA_redhat_00001.1.el8eapRHSA-2026:70228
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-guava, eap8-guava-libraries0:33.0.0-3.jre_redhat_00004.1.el8eapRHSA-2026:18054
150 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedbouncycastle1.84-1.1openSUSE-SU-2026:10571-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 · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

To exploit this issue, an attacker needs to submit a specially crafted PGP AEAD message containing an unbounded chunk size to an application. An attack typically requires the application to process this malformed data, resulting in the uncontrolled allocation of memory resources.

The primary impact of this vulnerability is a compromise of system availability, allowing an unauthenticated remote attacker to cause memory exhaustion in a JVM, resulting in a denial of service.

Red Hat's mitigation

To mitigate this vulnerability, enforce payload size limits on all incoming PGP messages before processing them. Additionally, apply memory quotas to the JVM or container environment to prevent a complete system outage in the event of memory exhaustion.

ProductPackageStateAdvisory
Red Hat Build of Apache Camel 4.14 for Quarkus 3.27bcpg-jdk18onFixed 2026-05-05RHSA-2026:13631
Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14bcpg-jdk18onFixed 2026-05-14RHSA-2026:17668
Red Hat JBoss Enterprise Application Platform 7.4.25bcpg-jdk18onFixed 2026-08-11RHSA-2026:53806
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7eap7-activemq-artemis-0:2.16.0-22.redhat_00057.1.el7eapFixed 2026-08-11RHSA-2026:53644
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7eap7-glassfish-jsf-0:2.3.14-11.SP11_redhat_00001.1.el7eapFixed 2026-08-11RHSA-2026:53644
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7eap7-ironjacamar-0:1.5.26-2.Final_redhat_00001.1.el7eapFixed 2026-08-11RHSA-2026:53644
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7eap7-jackson-annotations-0:2.18.8-1.redhat_00003.1.el7eapFixed 2026-08-11RHSA-2026:53644
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7eap7-jackson-core-0:2.18.8-1.redhat_00003.1.el7eapFixed 2026-08-11RHSA-2026:53644
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7eap7-jackson-databind-0:2.18.8-1.redhat_00003.1.el7eapFixed 2026-08-11RHSA-2026:53644
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7eap7-jackson-jaxrs-providers-0:2.18.8-1.redhat_00003.1.el7eapFixed 2026-08-11RHSA-2026:53644
OpenShift Developer Tools and ServicesjenkinsAffected
OpenShift Developer Tools and Servicesjenkins-2-pluginsAffected
Red Hat AMQ Clientsbcpg-jdk18onNot affected
Red Hat build of Apache Camel 4 for Quarkus 3bcpg-jdk18onAffected
Red Hat Data Grid 8bcpg-jdk15onNot affected
Red Hat Data Grid 8bcpg-jdk18onNot affected
Red Hat Enterprise Linux 9jmcAffected
Red Hat Fuse 7bcpg-jdk15onWill not fix
Red Hat Fuse 7bcpg-jdk18onWill not fix
Red Hat JBoss Enterprise Application Platform 7bcpg-jdk15onNot affected
165 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-3505.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON