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-2023-52323

CVE-2023-52323: Pycryptodome Information Disclosure Flaw

CVE-2023-52323 is an information disclosure vulnerability in Pycryptodome that allows side-channel leakage during OAEP decryption, exploitable for Manger attacks. This article covers technical details, affected versions, and mitigations.

Published: February 11, 2026

CVE-2023-52323 Overview

CVE-2023-52323 is a side-channel vulnerability affecting PyCryptodome and pycryptodomex, two popular Python cryptographic libraries. Versions prior to 3.19.1 are susceptible to side-channel leakage during OAEP (Optimal Asymmetric Encryption Padding) decryption operations. This vulnerability can be exploited to perform a Manger attack, a sophisticated cryptographic attack that allows an adversary to decrypt ciphertext by analyzing the timing or behavior of the decryption process.

Critical Impact

Attackers can exploit timing differences in OAEP decryption to recover plaintext data through a Manger attack, potentially compromising encrypted communications and sensitive data protected by RSA-OAEP encryption.

Affected Products

  • PyCryptodome versions prior to 3.19.1
  • pycryptodomex versions prior to 3.19.1
  • Python applications using vulnerable versions of these cryptographic libraries

Discovery Timeline

  • 2024-01-05 - CVE-2023-52323 published to NVD
  • 2025-06-03 - Last updated in NVD database

Technical Details for CVE-2023-52323

Vulnerability Analysis

This vulnerability falls under the category of Side Channel Attack (CWE-203: Observable Discrepancy). The flaw exists in the implementation of RSA-OAEP decryption within PyCryptodome and pycryptodomex libraries. During the decryption process, the code exhibits timing variations that correlate with the internal state of the cryptographic operation, creating an observable side channel.

The Manger attack specifically targets OAEP implementations that leak information about whether the decryption process succeeds or fails at various stages. By carefully crafting malformed ciphertexts and observing the timing or error responses, an attacker can systematically extract information about the private key operations, eventually recovering the plaintext of intercepted encrypted messages.

This attack requires network access to a service performing OAEP decryption operations and the ability to send multiple carefully crafted ciphertext queries while measuring response times or observing error conditions.

Root Cause

The root cause of CVE-2023-52323 lies in the non-constant-time implementation of OAEP decryption routines in PyCryptodome. Cryptographic operations that handle sensitive data must execute in constant time regardless of input values to prevent timing-based side-channel attacks. The vulnerable versions of PyCryptodome contained code paths that exhibited observable timing differences based on the validity and structure of the decrypted OAEP padding.

Specifically, the decryption process would return or respond differently depending on where in the OAEP padding validation the operation failed, creating distinguishable timing profiles that an attacker could exploit through repeated queries.

Attack Vector

The attack vector for CVE-2023-52323 is network-based, requiring no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Intercepting an encrypted message protected with RSA-OAEP from a target application
  2. Sending modified versions of this ciphertext to a server that performs OAEP decryption
  3. Measuring the timing of responses or observing error messages
  4. Using the Manger attack algorithm to iteratively narrow down the plaintext value
  5. After sufficient queries (typically thousands), recovering the complete plaintext

The attack is particularly dangerous for applications that provide decryption as a service or automatically process encrypted messages, as attackers can automate the query process. The vulnerability requires multiple adaptive queries, making it more complex to exploit but still practically feasible against exposed services.

Detection Methods for CVE-2023-52323

Indicators of Compromise

  • Unusual patterns of failed decryption attempts from a single source
  • High volume of slightly modified encrypted messages targeting OAEP decryption endpoints
  • Timing analysis requests or unusually precise timing measurements in network traffic
  • Anomalous error rates in cryptographic operations without corresponding application issues

Detection Strategies

  • Monitor for suspicious patterns of repeated decryption requests with similar but modified ciphertexts
  • Implement rate limiting and anomaly detection on cryptographic API endpoints
  • Review application dependencies to identify vulnerable versions of PyCryptodome (< 3.19.1) or pycryptodomex (< 3.19.1)
  • Deploy network monitoring to detect timing-based attack patterns against encryption services

Monitoring Recommendations

  • Audit Python package dependencies using tools like pip-audit or safety to identify vulnerable cryptographic libraries
  • Enable detailed logging for cryptographic operations to establish baselines and detect anomalies
  • Implement application performance monitoring (APM) to identify timing inconsistencies in decryption routines
  • Configure alerting for elevated error rates in RSA-OAEP decryption operations

How to Mitigate CVE-2023-52323

Immediate Actions Required

  • Upgrade PyCryptodome to version 3.19.1 or later immediately
  • Upgrade pycryptodomex to version 3.19.1 or later immediately
  • Audit all Python applications and dependencies for vulnerable library versions
  • Regenerate and rotate any RSA keys that may have been exposed through vulnerable decryption services

Patch Information

The vulnerability has been addressed in PyCryptodome and pycryptodomex version 3.19.1. Users should upgrade to this version or later to receive the security fix. The patch implements constant-time OAEP decryption operations that prevent timing-based side-channel attacks.

For detailed information about the fix, refer to the GitHub Changelog for PyCryptodome and the PyPI Project History for PyCryptodome.

Workarounds

  • Implement network-level rate limiting on endpoints performing RSA-OAEP decryption to slow potential attacks
  • Add artificial timing noise to decryption responses as a temporary measure (note: this is not a substitute for patching)
  • Consider disabling affected cryptographic endpoints until the library can be upgraded
  • Implement additional authentication requirements to limit access to decryption services
bash
# Upgrade PyCryptodome to patched version
pip install --upgrade pycryptodome>=3.19.1

# Upgrade pycryptodomex to patched version
pip install --upgrade pycryptodomex>=3.19.1

# Verify installed version
pip show pycryptodome | grep Version
pip show pycryptodomex | grep Version

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechPycryptodome

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.07%

  • 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-203
  • Technical References
  • GitHub Changelog for PyCryptodome

  • PyPI Project History for PyCryptodome
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal Vulnerability
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