The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2024-30172

CVE-2024-30172: Bouncy Castle Ed25519 DoS Vulnerability

CVE-2024-30172 is a denial of service flaw in Bouncy Castle Java Cryptography APIs affecting Ed25519 verification. A crafted signature can trigger an infinite loop. This article covers technical details, affected versions, and mitigation.

Published: January 28, 2026

CVE-2024-30172 Overview

CVE-2024-30172 is a denial of service vulnerability discovered in the Bouncy Castle Java Cryptography APIs. The vulnerability exists in the Ed25519 signature verification code, where a crafted signature and public key combination can trigger an infinite loop condition, causing the application to hang indefinitely. This algorithmic complexity attack can be exploited remotely without authentication to exhaust system resources and deny service to legitimate users.

Critical Impact

Remote attackers can cause a complete denial of service by submitting maliciously crafted Ed25519 signatures, potentially rendering cryptographic operations and dependent applications unresponsive.

Affected Products

  • Bouncy Castle Java Cryptography APIs versions prior to 1.78
  • Applications and services utilizing Bouncy Castle for Ed25519 signature verification
  • Enterprise systems with dependencies on vulnerable Bouncy Castle libraries

Discovery Timeline

  • 2024-05-14 - CVE-2024-30172 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-30172

Vulnerability Analysis

The vulnerability resides in the Ed25519 signature verification implementation within Bouncy Castle's Java Cryptography APIs. Ed25519 is a widely-used elliptic curve digital signature algorithm based on Curve25519, commonly employed for authentication in protocols like SSH, TLS, and various blockchain implementations.

The flaw manifests when the verification function processes specifically crafted input parameters. Under normal operation, the verification algorithm performs a bounded number of cryptographic operations. However, malformed signature and public key combinations can cause the internal verification logic to enter a non-terminating loop state.

This vulnerability allows network-accessible attackers to exploit the flaw without requiring authentication or user interaction. The impact is limited to availability—there is no compromise of data confidentiality or integrity. However, the denial of service can be severe, potentially affecting all cryptographic operations that depend on the vulnerable library.

Root Cause

The root cause is an insufficient bounds check or exit condition in the Ed25519 verification algorithm implementation. When processing certain edge-case inputs involving malformed cryptographic parameters, the algorithm fails to properly terminate, resulting in an infinite loop that consumes CPU resources indefinitely. This represents an algorithmic complexity vulnerability where the computational cost of verification becomes unbounded for specific malicious inputs.

Attack Vector

The attack vector is network-based and requires no privileges or user interaction. An attacker can exploit this vulnerability by:

  1. Identifying an application or service that uses Bouncy Castle for Ed25519 signature verification
  2. Crafting a malicious signature and public key pair designed to trigger the infinite loop condition
  3. Submitting the crafted cryptographic parameters to the target system
  4. The vulnerable verification code enters an infinite loop, consuming CPU resources and blocking the processing thread

The attack is particularly effective against services that perform signature verification on untrusted input, such as authentication endpoints, certificate validation services, or blockchain nodes processing transactions. Multiple concurrent requests with malicious inputs can amplify the denial of service effect.

Detection Methods for CVE-2024-30172

Indicators of Compromise

  • Unusually high CPU utilization by Java processes performing cryptographic operations
  • Application threads stuck in Bouncy Castle Ed25519 verification methods
  • Service timeouts or unresponsiveness in components using Ed25519 signatures
  • Thread dumps showing infinite loops in org.bouncycastle.math.ec or related packages

Detection Strategies

  • Implement Software Composition Analysis (SCA) to identify Bouncy Castle library versions in your codebase
  • Monitor Java application thread states for prolonged execution in cryptographic verification functions
  • Set up alerting on CPU consumption anomalies for services performing signature verification
  • Conduct dependency audits to identify all applications consuming Bouncy Castle libraries

Monitoring Recommendations

  • Configure application performance monitoring (APM) to track Ed25519 verification operation duration
  • Implement timeout mechanisms around cryptographic verification calls
  • Monitor for repeated failed signature verification attempts from the same source
  • Review application logs for cryptographic operation exceptions or hangs

How to Mitigate CVE-2024-30172

Immediate Actions Required

  • Update Bouncy Castle Java Cryptography APIs to version 1.78 or later immediately
  • Identify all applications and services that depend on Bouncy Castle through dependency scanning
  • Prioritize patching for internet-facing services that process Ed25519 signatures
  • Consider implementing request rate limiting on endpoints that perform signature verification

Patch Information

The vulnerability has been addressed in Bouncy Castle version 1.78. The fix corrects the boundary conditions in the Ed25519 verification algorithm to ensure proper termination regardless of input parameters. Organizations should update to the patched version by modifying their Maven, Gradle, or other build configuration dependencies.

For detailed information about the fix and release notes, refer to the Bouncy Castle Release Notes. Additional vendor guidance is available in the NetApp Security Advisory NTAP-20240614-0007.

Workarounds

  • Implement timeout wrappers around Ed25519 verification operations to prevent indefinite hangs
  • Add input validation to reject obviously malformed signatures before passing to the verification function
  • Deploy Web Application Firewalls (WAF) to rate-limit or filter suspicious cryptographic requests
  • Consider using application-level circuit breakers to isolate failures in cryptographic operations
bash
# Maven dependency update example
# Update pom.xml to use patched Bouncy Castle version
# Replace existing bcprov-jdk15on dependency with:
# <dependency>
#     <groupId>org.bouncycastle</groupId>
#     <artifactId>bcprov-jdk18on</artifactId>
#     <version>1.78</version>
# </dependency>

# Gradle dependency update
# implementation 'org.bouncycastle:bcprov-jdk18on:1.78'

# Verify installed version after update
mvn dependency:tree | grep bouncycastle

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechBouncy Castle

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.14%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • Technical References
  • NetApp Security Advisory NTAP-20240614-0007

  • Bouncy Castle Release Notes
  • Related CVEs
  • CVE-2024-29857: Bouncy Castle DoS Vulnerability

  • CVE-2024-34447: Bouncy Castle Information Disclosure Bug

  • CVE-2024-30171: Bouncy Castle TLS Timing Vulnerability
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