Cloudanix VulnDB

CVE-2026-3505

None

CVSS

—

EPSS

0.9%

Published

Apr 15, 2026

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in a widely used encryption library can let attackers overwhelm a computer with work until the program stops responding, and organizations should update the library to stop this from happening.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Trivial
Impact
Denial Of Service
Component
Library
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Uncontrolled resource consumption in BC-JAVA bcpg pg modules due to missing limits or throttling during AEAD data packet processing in AEADEncDataPacket.java, BcAEADUtil.java, JceAEADUtil.java, and OperatorHelper.java, allowing remote attackers to exhaust memory or CPU.

Why it matters to the business

Attackers can cause denial of service by consuming excessive resources on systems using the affected Bouncy Castle library versions, leading to application unavailability and operational disruption until the service is restarted or resources are freed.

How an attack unfolds

An unauthenticated remote attacker crafts and sends malicious AEAD-encrypted data packets over the network to a target application using vulnerable BC-JAVA bcpg versions; the library allocates unbounded resources while processing the packets in the listed Java files, eventually exhausting memory or CPU and crashing the service.

How to fix it

Upgrade BC-JAVA to version 1.80.2 or later for the 1.74 branch, 1.81.1 or later for the 1.81 branch, and 1.84 or later for the 1.82 branch. Disable or restrict use of the affected pg/AEAD modules until patches are applied if immediate upgrade is not feasible.

How to confirm the fix worked

Verify the Bouncy Castle bcpg JAR version in the classpath matches a fixed release; perform functional testing with known AEAD test vectors to confirm resource usage remains bounded under load; monitor memory and CPU metrics during packet processing.

Typical attack path

  1. Identify a network-reachable service that uses BC-JAVA bcpg for OpenPGP or AEAD operations
  2. Craft and transmit malformed or specially sized AEAD data packets targeting the vulnerable processing paths
  3. Trigger repeated allocation without throttling until resource limits are reached
  4. Observe service degradation or crash confirming successful denial of service

How to detect it

Review application logs for sudden spikes in memory or CPU usage correlated with AEAD or PGP packet processing; inspect heap dumps or thread traces for excessive object allocation in the listed Java classes; correlate with network traffic containing unusual AEAD data patterns.

What your security team should do

  • Prioritize upgrade of BC-JAVA bcpg to the nearest fixed version in all environments within the next maintenance window
  • Inventory all applications and libraries depending on BC-JAVA to determine exposure scope
  • Implement network-level rate limiting or input validation on AEAD/PGP endpoints as a temporary control
  • Update vulnerability scanning policies to flag any remaining vulnerable bcpg versions

The record

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.

Affected packages

Ecosystem Package Introduced Fixed
openSUSE:Tumbleweed bouncycastle 0 1.84-1.1

Related vulnerabilities