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-2020-15522

CVE-2020-15522: Bouncy Castle Timing Vulnerability

CVE-2020-15522 is a timing vulnerability in Bouncy Castle BC-Csharp that exposes private key information through ECDSA signature generation. This article covers the technical details, affected versions, and mitigation steps.

Published: March 4, 2026

CVE-2020-15522 Overview

CVE-2020-15522 is a timing side-channel vulnerability affecting multiple Bouncy Castle cryptographic library implementations across Java and .NET platforms. The vulnerability exists within the EC (Elliptic Curve) math library and can expose private key information when an attacker is able to observe timing variations during the generation of multiple deterministic ECDSA signatures.

This vulnerability represents a significant concern for applications relying on Bouncy Castle for cryptographic operations, as successful exploitation could lead to the recovery of private keys used in ECDSA signature operations.

Critical Impact

Attackers capable of observing timing information during ECDSA signature generation may extract private key material, compromising the confidentiality of cryptographic operations and potentially enabling signature forgery or decryption of protected communications.

Affected Products

  • Bouncy Castle BC Java before version 1.66
  • Bouncy Castle BC C# .NET before version 1.8.7
  • Bouncy Castle BC-FJA (FIPS Java API) before versions 1.0.1.2 and 1.0.2.1
  • Bouncy Castle BC-FNA (FIPS .NET API) before version 1.0.1.1

Discovery Timeline

  • 2021-05-20 - CVE-2020-15522 published to NVD
  • 2025-07-17 - Last updated in NVD database

Technical Details for CVE-2020-15522

Vulnerability Analysis

This vulnerability is classified as a timing side-channel attack (CWE-362 - Race Condition) affecting the elliptic curve mathematics implementation in Bouncy Castle cryptographic libraries. The flaw arises from non-constant-time operations within the EC math routines used during ECDSA signature generation.

When generating deterministic ECDSA signatures (as specified in RFC 6979), the library performs scalar multiplication operations on elliptic curve points. These operations should execute in constant time to prevent timing analysis attacks. However, vulnerable versions of Bouncy Castle exhibit timing variations that correlate with the bits of the private key being used.

An attacker who can measure the time taken to generate multiple signatures with the same private key can statistically analyze these timing differences. Through techniques such as lattice-based cryptanalysis, the attacker may reconstruct portions of the private key or recover it entirely, depending on the number of observed signatures.

The attack requires network-level access to observe timing differences, making it most relevant in scenarios where an attacker can either directly measure signature generation time or infer it through network latency measurements.

Root Cause

The root cause of CVE-2020-15522 lies in the implementation of elliptic curve scalar multiplication within the Bouncy Castle EC math library. Specifically, the library did not implement constant-time algorithms for certain EC operations, resulting in execution time variations that depend on the secret scalar (private key) values.

Constant-time implementation is a critical requirement for cryptographic operations to prevent side-channel attacks. The affected code paths allow timing measurements to leak information about the private key through observable differences in computation duration.

Attack Vector

The attack vector for this vulnerability is network-based, requiring the attacker to observe timing information from multiple ECDSA signature operations. The attack scenario typically involves:

  1. The attacker positions themselves to measure signature generation times, either through network latency observations or local timing measurements
  2. Multiple signatures are generated using the target private key
  3. Timing variations are collected and statistically analyzed
  4. Lattice-based techniques are applied to recover private key bits from the timing data

The vulnerability requires high attack complexity as the attacker must collect numerous timing samples and apply sophisticated cryptanalytic techniques. No user interaction is required, and the attacker needs no prior privileges to execute this attack.

Detection Methods for CVE-2020-15522

Indicators of Compromise

  • Unusual patterns of repeated signature requests to cryptographic endpoints using ECDSA
  • Network traffic analysis showing systematic probing of signature generation timing
  • Elevated volume of signature operations from specific sources attempting timing correlation
  • Anomalous latency measurement attempts targeting cryptographic services

Detection Strategies

  • Monitor for excessive ECDSA signature generation requests from individual sources that may indicate timing analysis attempts
  • Implement application-level logging to track signature operation frequency and source patterns
  • Deploy network intrusion detection rules to identify potential timing attack reconnaissance patterns
  • Audit software bill of materials (SBOM) to identify applications using vulnerable Bouncy Castle versions

Monitoring Recommendations

  • Establish baseline metrics for cryptographic operation timing and alert on statistical anomalies
  • Configure security information and event management (SIEM) systems to correlate signature-related events
  • Monitor dependency management systems for alerts regarding vulnerable Bouncy Castle library versions
  • Implement continuous vulnerability scanning to detect outdated cryptographic libraries in the environment

How to Mitigate CVE-2020-15522

Immediate Actions Required

  • Upgrade Bouncy Castle BC Java to version 1.66 or later
  • Upgrade Bouncy Castle BC C# .NET to version 1.8.7 or later
  • Upgrade Bouncy Castle BC-FJA to version 1.0.1.2 or 1.0.2.1 or later
  • Upgrade Bouncy Castle BC-FNA to version 1.0.1.1 or later
  • Conduct a thorough inventory of all applications using Bouncy Castle libraries

Patch Information

Bouncy Castle has released patched versions that implement constant-time EC math operations, eliminating the timing side-channel. The fixes are documented in the Bouncy Castle Release Notes.

For detailed technical information about the vulnerability and remediation, refer to:

  • GitHub CVE-2020-15522 Wiki - Java
  • GitHub CVE-2020-15522 Wiki - C#
  • NetApp Security Advisory NTAP-20210622-0007

Organizations should prioritize updating the library across all affected applications and verify the update through dependency scanning tools.

Workarounds

  • If immediate patching is not possible, consider implementing network-level rate limiting on signature generation endpoints
  • Add artificial random timing jitter to signature responses as a temporary measure (note: this is not a complete fix)
  • Restrict network access to cryptographic services to trusted sources only
  • Consider temporarily switching to non-ECDSA signature algorithms if operationally feasible
  • Monitor signature operations closely until patches can be applied

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechBouncycastle

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.35%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-362
  • Technical References
  • GitHub CVE-2020-15522 Wiki - C#

  • GitHub CVE-2020-15522 Wiki - Java

  • NetApp Security Advisory NTAP-20210622-0007
  • Vendor Resources
  • Bouncy Castle Release Notes
  • Related CVEs
  • CVE-2020-26939: Bouncycastle Information Disclosure Flaw

  • CVE-2023-33202: Bouncy Castle For Java DoS Vulnerability

  • CVE-2020-28052: Bouncycastle Bc-java Auth Bypass Flaw

  • CVE-2023-33201: Bouncy Castle Bc-java LDAP 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