Skip to main content
EPSS 0.8%top 46%

CVE-2026-3505: CWE-770 Allocation of resources without limits or throttling in Legion of the Bouncy Castle Inc. BC-JAVA

0
High
VulnerabilityCVE-2026-3505cvecve-2026-3505cwe-770cwe-400gcve
Published: 04/15/2026 (04/15/2026, 09:06:37 UTC)
Source: CVE Database V5
Vendor/Project: Legion of the Bouncy Castle Inc.
Product: BC-JAVA

Description

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.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Legion of the Bouncy Castle Inc.

BC-JAVA

Affected versions
>=1.74 <1.80.2>=1.81 <1.81.1>=1.82 <1.84
org.bouncycastle/bcpg
pkg:maven/org.bouncycastle/bcpg
Affected versions
=1.74<1.80.2>=1.81<1.81.1>=1.82<1.84
GitHub Actionsmore threats →cve
bcpg
pkg:github/bcpg
Affected versions
>=1.74 <1.80.2>=1.81 <1.81.1>=1.82 <1.84

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 13:03:23 UTC

Technical Analysis

The vulnerability CVE-2026-3505 in BC-JAVA's bcpg module allows an unauthenticated remote attacker to cause memory exhaustion by submitting a specially crafted PGP AEAD message containing an unbounded chunk size. This leads to uncontrolled allocation of memory resources in the JVM, resulting in denial of service. The issue affects BC-JAVA versions from 1.74 before 1.80.2, from 1.81 before 1.81.1, and from 1.82 before 1.84. The flaw is linked to program files AEADEncDataPacket.Java, BcAEADUtil.Java, JceAEADUtil.Java, and OperatorHelper.Java. Red Hat has published advisories and security updates addressing this vulnerability, recommending payload size enforcement and JVM memory quotas as mitigations.

Potential Impact

An unauthenticated remote attacker can exploit this vulnerability to cause excessive memory consumption in the JVM, leading to denial of service and loss of system availability. There is no impact on confidentiality or integrity, but the availability impact is high.

Mitigation Recommendations

A security update fixing this vulnerability is available from Red Hat and should be applied. Additionally, enforce payload size limits on all incoming PGP messages before processing them. Applying memory quotas to the JVM or container environment can help prevent complete system outages in case of memory exhaustion. Follow vendor advisories for patch application and mitigation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
bcorg
Date Reserved
2026-03-04T00:44:50.028Z
Cvss Version
4.0
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-3505","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:18054","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:18055","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13631","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:18059","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:17668","vendor":"Red Hat"}]

Threat ID: 69df5b0f82d89c981fca1f49

Added to database: 04/15/2026, 09:31:59 UTC

Last enriched: 08/12/2026, 13:03:23 UTC

Last updated: 09/14/2026, 22:11:26 UTC

Views: 276

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses