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-25659

CVE-2020-25659: Cryptography RSA Timing Attack Vulnerability

CVE-2020-25659 is a Bleichenbacher timing attack vulnerability in Cryptography.io's python-cryptography library affecting RSA decryption. Attackers can exploit timing differences to decrypt ciphertext. This article covers technical details, affected versions, security impact, and mitigation strategies.

Published: March 4, 2026

CVE-2020-25659 Overview

CVE-2020-25659 is a timing attack vulnerability affecting the python-cryptography library version 3.2. The vulnerability exists in the RSA decryption API, which is susceptible to Bleichenbacher timing attacks through timed processing of valid PKCS#1 v1.5 ciphertext. This side-channel vulnerability allows attackers to potentially recover plaintext data by measuring decryption timing variations.

Critical Impact

Attackers can exploit timing differences in RSA decryption operations to gradually decrypt ciphertext without direct access to the private key, potentially exposing sensitive encrypted communications.

Affected Products

  • cryptography.io cryptography version 3.2
  • Oracle Communications Cloud Native Core Network Function Cloud Native Environment version 1.10.0

Discovery Timeline

  • 2021-01-11 - CVE CVE-2020-25659 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-25659

Vulnerability Analysis

The vulnerability resides in the RSA decryption implementation within python-cryptography 3.2. The Bleichenbacher attack exploits subtle timing differences that occur during the validation and decryption of PKCS#1 v1.5 padded ciphertext. When the library processes RSA-encrypted data, the time required to validate padding and decrypt varies based on the validity of the ciphertext structure. An attacker who can submit carefully crafted ciphertexts and measure the precise response times can use these timing variations to progressively determine the plaintext content.

This attack requires the attacker to have network access to a service performing RSA decryption operations and the ability to measure timing responses with sufficient precision. While the attack complexity is high due to the statistical nature of timing measurements and the number of oracle queries required, it represents a real threat to systems using PKCS#1 v1.5 padding for RSA operations.

Root Cause

The root cause of this vulnerability is classified under CWE-385 (Covert Timing Channel). The RSA decryption implementation does not process all ciphertext inputs in constant time. When handling PKCS#1 v1.5 formatted ciphertext, the code path execution time varies depending on the validity and structure of the padding bytes. This non-constant-time behavior creates a covert timing channel that leaks information about the decryption process.

Attack Vector

The attack vector is network-based, allowing remote exploitation without authentication or user interaction. An attacker must be able to:

  1. Submit arbitrary ciphertext to a target service that performs RSA decryption using the vulnerable library
  2. Measure the precise timing of decryption responses
  3. Perform a large number of oracle queries to statistically distinguish timing differences
  4. Reconstruct the plaintext using the Bleichenbacher adaptive chosen-ciphertext attack methodology

The attack typically requires thousands to millions of oracle queries depending on the precision of timing measurements and network conditions. Services exposed over networks with consistent latency are more susceptible to successful exploitation.

Detection Methods for CVE-2020-25659

Indicators of Compromise

  • Unusual volume of failed or malformed RSA decryption requests from a single source
  • Repeated decryption operations with varying ciphertext patterns targeting the same encrypted message
  • Statistical patterns in request timing consistent with oracle attack probing
  • Increased error rates in cryptographic operations without corresponding legitimate application errors

Detection Strategies

  • Monitor application logs for abnormal patterns of cryptographic operation failures
  • Implement rate limiting on endpoints performing RSA decryption to slow potential timing attacks
  • Deploy network traffic analysis to identify sustained high-frequency request patterns characteristic of oracle attacks
  • Audit dependency versions using software composition analysis tools to identify vulnerable cryptography library versions

Monitoring Recommendations

  • Track RSA decryption operation metrics including request volume, timing distributions, and error rates
  • Alert on anomalous increases in cryptographic operation latency variance
  • Monitor for dependency vulnerabilities through continuous security scanning in CI/CD pipelines
  • Correlate application performance metrics with security events to identify potential exploitation attempts

How to Mitigate CVE-2020-25659

Immediate Actions Required

  • Upgrade the cryptography Python package to a patched version (versions after 3.2 with the timing fix)
  • Audit applications to identify all usage of RSA decryption with PKCS#1 v1.5 padding
  • Consider migrating to OAEP (Optimal Asymmetric Encryption Padding) for RSA operations where possible
  • Review Oracle product deployments and apply patches per Oracle Security Alert April 2022 and Oracle Security Alert July 2022

Patch Information

The vulnerability has been addressed in the cryptography library. The fix is available through the GitHub Cryptography Pull Request which implements constant-time processing for RSA decryption operations to eliminate the timing oracle.

For Oracle Communications Cloud Native Core Network Function Cloud Native Environment deployments, apply the patches documented in the Oracle Critical Patch Updates from April 2022 and July 2022.

To update the cryptography package:

bash
pip install --upgrade cryptography

Workarounds

  • Implement application-level rate limiting on RSA decryption endpoints to increase attack difficulty
  • Add artificial random delays to cryptographic operation responses to obscure timing patterns (not a complete mitigation)
  • Where feasible, transition from PKCS#1 v1.5 padding to RSA-OAEP which is more resistant to padding oracle attacks
  • Deploy network-level protections to limit precision timing measurements by potential attackers
bash
# Verify cryptography package version
pip show cryptography | grep Version

# Upgrade to latest patched version
pip install cryptography --upgrade

# For requirements.txt, ensure minimum secure version
# cryptography>=3.3

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechCryptography

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.25%

  • 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-385

  • NVD-CWE-Other
  • Vendor Resources
  • GitHub Cryptography Pull Request

  • Oracle Security Alert April 2022

  • Oracle Security Alert July 2022
  • Related CVEs
  • CVE-2026-34073: Python Cryptography Information Disclosure

  • CVE-2026-26007: Cryptography Package Info Disclosure Flaw

  • CVE-2023-49083: Cryptography.io Cryptography DoS Flaw

  • CVE-2023-23931: Cryptography.io Buffer Mutation 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