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-2021-33560

CVE-2021-33560: Libgcrypt Information Disclosure Flaw

CVE-2021-33560 is an information disclosure vulnerability in Libgcrypt affecting ElGamal encryption due to missing exponent blinding. This article covers the technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-33560 Overview

CVE-2021-33560 is a side-channel vulnerability in Libgcrypt, the cryptographic library used by GnuPG and OpenPGP implementations. The vulnerability affects Libgcrypt versions before 1.8.8 and 1.9.x before 1.9.3, where the ElGamal encryption implementation mishandles cryptographic operations due to missing exponent blinding in the mpi_powm function combined with inappropriate window size selection. This allows attackers to potentially recover private key material through side-channel analysis.

Critical Impact

Successful exploitation of this side-channel vulnerability could allow attackers to recover ElGamal private keys used in OpenPGP encryption, compromising the confidentiality of encrypted communications and data.

Affected Products

  • GnuPG Libgcrypt (versions before 1.8.8 and 1.9.x before 1.9.3)
  • Debian Linux 9.0
  • Fedora 33 and 34
  • Oracle Communications Cloud Native Core Binding Support Function 1.11.0
  • Oracle Communications Cloud Native Core Network Function Cloud Native Environment 1.9.0, 1.10.0
  • Oracle Communications Cloud Native Core Network Repository Function 1.14.0, 1.15.0, 1.15.1
  • Oracle Communications Cloud Native Core Network Slice Selection Function 1.8.0
  • Oracle Communications Cloud Native Core Service Communication Proxy 1.15.0

Discovery Timeline

  • 2021-06-08 - CVE-2021-33560 published to NVD
  • 2025-12-03 - Last updated in NVD database

Technical Details for CVE-2021-33560

Vulnerability Analysis

This vulnerability falls under the category of Side Channel Attack (CWE-203) and Missing Cryptographic Step (CWE-325). The flaw exists in Libgcrypt's implementation of the ElGamal public-key encryption scheme, specifically within the modular exponentiation function mpi_powm.

The core issue is twofold: First, the implementation lacks exponent blinding, a standard cryptographic countermeasure that randomizes the exponent during computation to prevent timing-based analysis. Second, the window size used in the sliding window exponentiation algorithm is not appropriately chosen, leading to data-dependent timing variations that can be observed by an attacker.

When ElGamal encryption operations are performed, these timing variations create observable side-channel signals. An attacker capable of measuring precise timing information—either through local access, shared cloud infrastructure, or network-based measurements—can analyze these signals to reconstruct private key bits over multiple observations.

Root Cause

The root cause is the absence of exponent blinding countermeasures in the mpi_powm function combined with a fixed or inappropriately sized window in the sliding-window exponentiation implementation. Without blinding, the exponentiation operation directly uses the secret exponent, making timing patterns directly correlated with private key bits. The inappropriate window size further amplifies the side-channel signal by creating more pronounced and predictable timing patterns based on the exponent values being processed.

Attack Vector

The attack vector is network-based, meaning an attacker does not require local access to exploit this vulnerability. The attacker must be able to observe or measure timing information from cryptographic operations. Practical exploitation scenarios include:

  • Shared Infrastructure Attacks: In cloud or containerized environments, an attacker on the same physical host could use cache timing attacks or other microarchitectural side-channels to observe the victim's cryptographic operations.

  • Network Timing Analysis: In some scenarios, precise network-level timing measurements during ElGamal encryption/decryption operations could leak information about the private key.

  • Local Access: An attacker with local access to the system running the vulnerable Libgcrypt version could employ more direct side-channel measurement techniques.

The vulnerability requires no user interaction and no special privileges to exploit, though it does require the ability to gather timing measurements over multiple cryptographic operations to statistically recover key material.

Detection Methods for CVE-2021-33560

Indicators of Compromise

  • Unusual or repeated encryption/decryption requests targeting ElGamal operations that could indicate a side-channel measurement attack in progress
  • Presence of vulnerable Libgcrypt versions (< 1.8.8 or 1.9.x < 1.9.3) in system package inventories
  • Applications using OpenPGP with ElGamal keys on systems with unpatched Libgcrypt installations

Detection Strategies

  • Conduct software composition analysis (SCA) scans to identify systems running vulnerable Libgcrypt versions
  • Monitor package management logs for Libgcrypt version information across the environment
  • Review GnuPG and OpenPGP application configurations to identify usage of ElGamal encryption keys

Monitoring Recommendations

  • Implement continuous vulnerability scanning to detect unpatched Libgcrypt installations
  • Establish baseline metrics for cryptographic operation timing and alert on anomalous patterns that could indicate side-channel attacks
  • Deploy endpoint detection solutions capable of identifying known vulnerable library versions

How to Mitigate CVE-2021-33560

Immediate Actions Required

  • Upgrade Libgcrypt to version 1.8.8 or later for the 1.8.x branch, or version 1.9.3 or later for the 1.9.x branch
  • Verify the Libgcrypt version on all systems using libgcrypt-config --version or package manager queries
  • Prioritize patching systems handling sensitive encrypted communications or running in shared infrastructure environments
  • Review and update dependent applications that bundle their own Libgcrypt versions

Patch Information

GnuPG has released patched versions that address this vulnerability. The fix implements proper exponent blinding in the mpi_powm function and corrects the window size selection algorithm.

For detailed patch information, refer to:

  • GnuPG Task T5305
  • GnuPG Task T5328
  • GnuPG Task T5466
  • GnuPG Commit Reference

Distribution-specific patches are available:

  • Debian LTS Security Announcement
  • Gentoo GLSA 202210-13

Oracle users should consult the relevant Critical Patch Update advisories: Oracle CPU January 2022, Oracle CPU April 2022, and Oracle CPU July 2022.

Workarounds

  • Consider temporarily avoiding ElGamal-based encryption in favor of RSA or ECC-based alternatives until patching is complete
  • Isolate systems running vulnerable Libgcrypt versions to reduce exposure to potential side-channel attacks
  • For containerized environments, ensure base images are updated to include patched Libgcrypt versions
  • Implement network segmentation to limit attacker access to timing measurements from vulnerable systems
bash
# Verify current Libgcrypt version
libgcrypt-config --version

# Update Libgcrypt on Debian/Ubuntu
sudo apt update && sudo apt upgrade libgcrypt20

# Update Libgcrypt on RHEL/CentOS/Fedora
sudo dnf update libgcrypt

# Verify updated version
libgcrypt-config --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/TechGnupg

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.43%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-203

  • CWE-325
  • Technical References
  • Debian LTS Security Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Gentoo GLSA 202210-13

  • Oracle CPU October 2021 Alert
  • Vendor Resources
  • GnuPG Task T5305

  • GnuPG Task T5328

  • GnuPG Task T5466

  • GnuPG Task Reference

  • Oracle CPU April 2022 Alert

  • Oracle CPU January 2022 Alert

  • Oracle CPU July 2022 Alert
  • Related CVEs
  • CVE-2026-24883: GnuPG Denial of Service Vulnerability

  • CVE-2026-24881: GnuPG Buffer Overflow Vulnerability

  • CVE-2026-24882: GnuPG Buffer Overflow Vulnerability

  • CVE-2025-30258: GnuPG Verification DoS 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