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-2025-8916

CVE-2025-8916: Bouncy Castle Java DoS Vulnerability

CVE-2025-8916 is a denial of service vulnerability affecting Bouncy Castle BC Java and BCPKIX FIPS caused by resource allocation without limits. This article covers the technical details, affected versions, and mitigation.

Published: April 15, 2026

CVE-2025-8916 Overview

CVE-2025-8916 is a Resource Exhaustion vulnerability affecting multiple Bouncy Castle Java cryptographic libraries. The vulnerability exists in the certificate path review functionality, specifically in the PKIXCertPathReviewer.java files within both the bcpkix and bcprov modules. This flaw allows attackers to trigger excessive memory allocation through specially crafted inputs, potentially leading to denial of service conditions in applications using these libraries.

Critical Impact

Applications utilizing Bouncy Castle for certificate path validation may be vulnerable to denial of service attacks through uncontrolled resource allocation, affecting availability of cryptographic services.

Affected Products

  • BC Java (bcpkix) versions 1.44 through 1.78
  • BC Java (bcprov) versions 1.44 through 1.78
  • BCPKIX FIPS versions 1.0.0 through 1.0.7 and 2.0.0 through 2.0.7

Discovery Timeline

  • August 13, 2025 - CVE-2025-8916 published to NVD
  • September 12, 2025 - Last updated in NVD database

Technical Details for CVE-2025-8916

Vulnerability Analysis

This vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). The flaw resides in the certificate path reviewing mechanism of Bouncy Castle's cryptographic libraries. The vulnerable code paths are found in the API modules, specifically within the certificate validation components that process X.509 certificate chains.

When processing certificate chains, the affected PKIXCertPathReviewer class fails to implement proper resource limits, allowing an attacker to provide input that causes the application to allocate excessive amounts of memory or other system resources. This lack of throttling on resource allocation can be exploited remotely over the network, though successful exploitation requires certain preconditions to be met.

The vulnerability impacts applications that use Bouncy Castle for certificate validation operations, which is common in TLS/SSL implementations, code signing verification, and various PKI-related operations.

Root Cause

The root cause is insufficient validation and resource limiting within the PKIXCertPathReviewer.java implementation. The affected files, located in both the pkix/src/main/java/org/bouncycastle/pkix/jcajce/ and prov/src/main/java/org/bouncycastle/x509/ directories, do not adequately constrain the resources allocated during certificate path review operations. This allows maliciously crafted certificate chains to trigger unbounded memory allocation.

Attack Vector

The attack vector for CVE-2025-8916 is network-based, allowing remote attackers to exploit the vulnerability without requiring authentication. An attacker can craft a malicious certificate chain that, when processed by an application using the vulnerable Bouncy Castle libraries, triggers excessive resource allocation. The attack requires the attacker to be able to submit certificates for validation to the target application.

The exploitation mechanism involves providing specially crafted X.509 certificates or certificate chains to applications utilizing the vulnerable PKIXCertPathReviewer functionality. When the application attempts to validate or review the certificate path, the lack of resource limits allows memory exhaustion. For detailed technical information, refer to the Bouncy Castle CVE-2025-8916 wiki page.

Detection Methods for CVE-2025-8916

Indicators of Compromise

  • Sudden spikes in memory consumption within Java applications performing certificate validation
  • Out-of-memory errors or crashes in services using Bouncy Castle certificate path review functionality
  • Unusually large or deeply nested certificate chains being submitted to application endpoints
  • Repeated requests to certificate validation endpoints from suspicious sources

Detection Strategies

  • Implement application performance monitoring (APM) to detect abnormal memory allocation patterns in certificate processing operations
  • Deploy SentinelOne Singularity Platform to monitor for resource exhaustion attacks and anomalous application behavior
  • Use software composition analysis (SCA) tools to identify applications with vulnerable Bouncy Castle library versions
  • Monitor Java heap usage and garbage collection patterns for signs of memory exhaustion attacks

Monitoring Recommendations

  • Enable detailed logging for certificate validation operations to capture potentially malicious certificate chains
  • Configure alerting thresholds for memory usage in services utilizing Bouncy Castle libraries
  • Implement rate limiting on endpoints that accept certificates for validation
  • Monitor for patterns consistent with denial of service attempts targeting certificate processing functionality

How to Mitigate CVE-2025-8916

Immediate Actions Required

  • Audit applications to identify usage of affected Bouncy Castle library versions (1.44 through 1.78 for BC Java, 1.0.0 through 1.0.7 and 2.0.0 through 2.0.7 for BCPKIX FIPS)
  • Prioritize patching for internet-facing applications that process certificate chains from untrusted sources
  • Implement resource limits and timeouts at the application level for certificate validation operations
  • Consider temporarily restricting certificate validation to known or trusted certificate chains where possible

Patch Information

Updates addressing CVE-2025-8916 should be obtained from the official Bouncy Castle release channels. For detailed patch information and remediation guidance, refer to the Bouncy Castle security advisory. Applications should be updated to versions beyond BC Java 1.78 and BCPKIX FIPS 1.0.7/2.0.7 once patches are available.

Workarounds

  • Implement application-level resource limits for memory allocation during certificate processing
  • Add timeouts to certificate validation operations to prevent extended resource consumption
  • Filter or validate incoming certificate chains before passing them to the Bouncy Castle library
  • Deploy network-level controls to rate-limit requests to certificate validation endpoints
bash
# Example: Identify vulnerable Bouncy Castle versions in Maven dependencies
find . -name "pom.xml" -exec grep -l "bcprov\|bcpkix" {} \;
mvn dependency:tree | grep -i "bouncy"

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechBouncycastle

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/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:P/AU:X/R:U/V:X/RE:M/U:Amber
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-770
  • Technical References
  • GitHub CVE-2025-8916 Overview
  • Related CVEs
  • CVE-2023-33202: Bouncy Castle For Java DoS Vulnerability

  • CVE-2020-26939: Bouncycastle Information Disclosure Flaw

  • CVE-2020-15522: Bouncy Castle Timing Vulnerability

  • CVE-2020-28052: Bouncycastle Bc-java Auth Bypass 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