Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2026-41989

CVE-2026-41989: Libgcrypt Buffer Overflow Vulnerability

CVE-2026-41989 is a heap-based buffer overflow flaw in Libgcrypt before 1.12.2 that enables denial of service attacks via crafted ECDH ciphertext. This article covers technical details, affected versions, and mitigation.

Published: April 23, 2026

CVE-2026-41989 Overview

CVE-2026-41989 is a heap-based buffer overflow vulnerability affecting Libgcrypt versions prior to 1.12.2. The vulnerability occurs when processing crafted Elliptic Curve Diffie-Hellman (ECDH) ciphertext through the gcry_pk_decrypt function, potentially allowing an attacker to cause a denial of service condition or corrupt heap memory.

Critical Impact

Successful exploitation of this vulnerability can lead to denial of service and potential integrity violations through heap memory corruption when processing malicious ECDH ciphertext.

Affected Products

  • Libgcrypt versions prior to 1.12.2
  • Applications and systems utilizing vulnerable Libgcrypt for cryptographic operations
  • GnuPG implementations relying on affected Libgcrypt libraries

Discovery Timeline

  • April 23, 2026 - CVE-2026-41989 published to NVD
  • April 23, 2026 - Last updated in NVD database

Technical Details for CVE-2026-41989

Vulnerability Analysis

This vulnerability is classified as CWE-787 (Out-of-bounds Write), specifically manifesting as a heap-based buffer overflow. The flaw resides in Libgcrypt's handling of ECDH ciphertext during decryption operations. When the gcry_pk_decrypt function processes specially crafted ciphertext, insufficient bounds checking allows data to be written beyond the allocated heap buffer boundaries.

The local attack vector requires an attacker to provide malicious input to an application using the vulnerable Libgcrypt library. While no known exploits are currently available in the wild and this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog, the potential for heap corruption makes this a significant concern for systems processing untrusted cryptographic data.

Root Cause

The root cause of CVE-2026-41989 lies in improper input validation within the ECDH decryption code path. When processing elliptic curve ciphertext, the library fails to adequately verify the size and format of input data before writing to heap-allocated buffers. This insufficient bounds checking allows an attacker to trigger an out-of-bounds write condition by supplying ciphertext with unexpected dimensions or malformed parameters.

Attack Vector

The attack requires local access and involves crafting malicious ECDH ciphertext that exploits the buffer overflow condition. An attacker would need to:

  1. Identify an application using a vulnerable version of Libgcrypt for ECDH operations
  2. Craft malicious ciphertext designed to trigger the overflow in gcry_pk_decrypt
  3. Deliver the malicious ciphertext to the target application for decryption
  4. Upon processing, the heap overflow can corrupt adjacent memory structures, leading to denial of service or potentially other integrity impacts

The vulnerability mechanism involves malformed ECDH ciphertext being passed to gcry_pk_decrypt, which fails to properly validate buffer boundaries before write operations. Technical details are available in the GnuPG Task T8211 Overview and the Openwall OSS-Security Discussion.

Detection Methods for CVE-2026-41989

Indicators of Compromise

  • Unexpected application crashes or segmentation faults in processes using Libgcrypt for ECDH operations
  • Anomalous memory allocation patterns or heap corruption errors in system logs
  • Increased frequency of cryptographic operation failures in applications using gcry_pk_decrypt

Detection Strategies

  • Monitor for crash dumps indicating heap corruption in Libgcrypt-linked applications
  • Implement runtime memory protection tools (ASAN, Valgrind) in development and staging environments to detect out-of-bounds writes
  • Deploy endpoint detection rules to identify processes exhibiting signs of heap exploitation targeting cryptographic libraries

Monitoring Recommendations

  • Enable verbose logging for applications performing ECDH decryption operations
  • Monitor system logs for repeated crashes or errors related to Libgcrypt or GnuPG components
  • Implement application-level monitoring to detect abnormal cryptographic input patterns

How to Mitigate CVE-2026-41989

Immediate Actions Required

  • Upgrade Libgcrypt to version 1.12.2 or later immediately
  • Inventory all systems and applications using Libgcrypt to identify affected deployments
  • Restrict access to applications processing untrusted ECDH ciphertext until patches are applied
  • Review and rebuild applications statically linked against vulnerable Libgcrypt versions

Patch Information

The GnuPG project has released Libgcrypt version 1.12.2 which addresses this heap-based buffer overflow vulnerability. System administrators should update to this version or later through their distribution's package manager or by building from source. Additional details are available via the GnuPG Announcement Mailing List.

For most Linux distributions, updating can be performed using the standard package management tools once updated packages are available in repositories.

Workarounds

  • Implement input validation at the application layer to reject malformed or suspicious ECDH ciphertext before passing to Libgcrypt
  • Deploy applications with memory protection features enabled (ASLR, stack canaries, heap protection)
  • Consider isolating cryptographic operations in sandboxed environments to limit impact of potential exploitation
bash
# Check current Libgcrypt version
libgcrypt-config --version

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

# Update Libgcrypt on RHEL/CentOS systems
sudo yum 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
  • TypeBuffer Overflow

  • Vendor/TechLibgcrypt

  • SeverityMEDIUM

  • CVSS Score6.7

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Technical References
  • GnuPG Task T8211 Overview

  • GnuPG Announcement Mailing List

  • Openwall OSS-Security Discussion
  • Related CVEs
  • CVE-2026-41990: Libgcrypt Buffer Overflow Vulnerability

  • CVE-2024-2236: libgcrypt RSA Information Disclosure Flaw
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