Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-3505

CVE-2026-3505: BC-JAVA bcpg DoS Vulnerability

CVE-2026-3505 is a denial of service flaw in BC-JAVA bcpg caused by unbounded PGP AEAD chunk sizes leading to pre-authentication resource exhaustion. This article covers technical details, affected versions, and mitigations.

Published: April 17, 2026

CVE-2026-3505 Overview

CVE-2026-3505 is a resource exhaustion vulnerability discovered in the Bouncy Castle Java library (BC-JAVA bcpg), specifically affecting the PGP modules. The vulnerability stems from unbounded PGP AEAD (Authenticated Encryption with Associated Data) chunk size processing, which allows attackers to trigger pre-authentication resource exhaustion. This allocation of resources without limits or throttling vulnerability (CWE-400) can be exploited remotely without authentication.

Critical Impact

Unbounded PGP AEAD chunk size processing enables pre-authentication denial of service through resource exhaustion, potentially impacting any application relying on Bouncy Castle PGP functionality.

Affected Products

  • BC-JAVA (bcpg PGP modules) versions before 1.84
  • Applications using vulnerable Bouncy Castle bcpg libraries
  • Systems processing PGP-encrypted content with affected versions

Discovery Timeline

  • April 15, 2026 - CVE-2026-3505 published to NVD
  • April 15, 2026 - Last updated in NVD database

Technical Details for CVE-2026-3505

Vulnerability Analysis

The vulnerability exists in the Bouncy Castle Java library's handling of PGP AEAD encrypted packets. AEAD is a form of authenticated encryption that provides both confidentiality and integrity guarantees for encrypted data. In the affected versions, the library fails to implement proper limits on the chunk size parameter used during AEAD packet processing.

When processing PGP messages using AEAD encryption, the library allocates memory based on the chunk size specified in the incoming data. An attacker can craft a malicious PGP message with an excessively large chunk size value, causing the application to attempt allocation of unreasonable amounts of memory. This occurs before authentication is completed, making it a pre-authentication attack vector that can be exploited without valid credentials.

The resource exhaustion can lead to denial of service conditions, causing application crashes, system instability, or service unavailability for legitimate users. The network-accessible nature of this vulnerability makes it particularly concerning for services that process PGP data from untrusted sources.

Root Cause

The root cause is improper input validation in the PGP module's AEAD chunk processing implementation. The library fails to enforce reasonable upper bounds on the AEAD chunk size parameter before allocating resources based on attacker-controlled input. This allows attackers to specify arbitrarily large chunk sizes that consume excessive system resources.

Attack Vector

The attack can be executed remotely over the network without requiring user interaction or prior authentication. An attacker sends a specially crafted PGP message containing an excessively large AEAD chunk size value to a vulnerable application. The vulnerable Bouncy Castle library processes this malicious input and attempts to allocate memory based on the attacker-specified size, leading to resource exhaustion.

The attack is particularly effective because:

  • No authentication is required (pre-auth exploitation)
  • Attack complexity is low
  • No user interaction is necessary
  • The attack can be automated and scaled

For technical details on the vulnerability mechanism and fix, refer to the official security advisory and commit reference.

Detection Methods for CVE-2026-3505

Indicators of Compromise

  • Unusual memory consumption spikes in applications processing PGP data
  • Application crashes or OutOfMemoryError exceptions in Bouncy Castle PGP processing code
  • Increased garbage collection activity followed by service unavailability
  • Log entries indicating resource allocation failures during PGP decryption operations

Detection Strategies

  • Monitor application memory usage for sudden, unexplained spikes during PGP operations
  • Implement application-level logging to track PGP message processing and identify anomalous chunk sizes
  • Use dependency scanning tools to identify Bouncy Castle versions prior to 1.84
  • Configure JVM monitoring to alert on excessive heap allocation attempts

Monitoring Recommendations

  • Set up alerts for memory utilization exceeding baseline thresholds in PGP-processing services
  • Implement rate limiting on endpoints that accept PGP-encrypted content
  • Monitor application health endpoints for service degradation patterns
  • Track and analyze exception logs for java.lang.OutOfMemoryError and related resource exhaustion errors

How to Mitigate CVE-2026-3505

Immediate Actions Required

  • Upgrade Bouncy Castle BC-JAVA to version 1.84 or later
  • Review applications for Bouncy Castle bcpg dependencies and prioritize patching
  • Implement resource limits at the application or container level as a defense-in-depth measure
  • Consider temporarily disabling PGP AEAD processing if an immediate upgrade is not feasible

Patch Information

The vulnerability has been addressed in Bouncy Castle BC-JAVA version 1.84. The fix introduces proper validation and limits on AEAD chunk sizes to prevent resource exhaustion attacks. Organizations should update their dependencies to version 1.84 or later as soon as possible.

Patch details are available in the GitHub commit.

Workarounds

  • Implement input size validation at the application layer before passing data to Bouncy Castle
  • Configure JVM memory limits to contain the impact of resource exhaustion attempts
  • Deploy network-level filtering to limit the size of incoming PGP messages
  • Use Web Application Firewalls (WAF) to detect and block anomalously large PGP payloads
bash
# Example: Setting JVM memory limits to mitigate resource exhaustion impact
java -Xmx512m -Xms256m -jar your-application.jar

# Example: Maven dependency update to patched version
# Update pom.xml:
# <dependency>
#     <groupId>org.bouncycastle</groupId>
#     <artifactId>bcpg-jdk18on</artifactId>
#     <version>1.84</version>
# </dependency>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechBc Java

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-400
  • Technical References
  • GitHub Commit Reference

  • GitHub CVE-2026-3505 Wiki
  • Related CVEs
  • CVE-2026-0636: Bouncy Castle BC-JAVA LDAP Injection Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English