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-2026-24882

CVE-2026-24882: GnuPG Buffer Overflow Vulnerability

CVE-2026-24882 is a stack-based buffer overflow in GnuPG before 2.5.17 affecting tpm2daemon during PKDECRYPT command handling. This article covers technical details, affected versions, security impact, and mitigation.

Published: January 30, 2026

CVE-2026-24882 Overview

A stack-based buffer overflow vulnerability has been discovered in GnuPG before version 2.5.17. The vulnerability exists within the tpm2daemon component during the handling of the PKDECRYPT command when processing TPM-backed RSA and ECC keys. This flaw could allow an attacker with local access to execute arbitrary code or cause a denial of service by corrupting stack memory.

Critical Impact

Local attackers can exploit this stack-based buffer overflow to potentially execute arbitrary code with the privileges of the tpm2daemon process, compromising the integrity of cryptographic operations and sensitive key material.

Affected Products

  • GnuPG versions prior to 2.5.17
  • Systems utilizing tpm2daemon for TPM-backed RSA key operations
  • Systems utilizing tpm2daemon for TPM-backed ECC key operations

Discovery Timeline

  • 2026-01-27 - CVE-2026-24882 published to NVD
  • 2026-01-29 - Last updated in NVD database

Technical Details for CVE-2026-24882

Vulnerability Analysis

This vulnerability is classified as CWE-121 (Stack-based Buffer Overflow), a critical memory corruption vulnerability that occurs when a program writes more data to a stack buffer than it was designed to hold. In the context of GnuPG's tpm2daemon, this overflow occurs during the processing of PKDECRYPT commands specifically when handling TPM-backed RSA and ECC keys.

The tpm2daemon acts as an intermediary between GnuPG and Trusted Platform Module (TPM) hardware, managing cryptographic operations for keys protected by the TPM. The PKDECRYPT command is responsible for decrypting data using private keys stored in the TPM. Due to insufficient bounds checking on input data during this operation, an attacker can craft malicious input that exceeds the allocated stack buffer, potentially overwriting critical stack data including return addresses.

Because this vulnerability requires local access, exploitation typically occurs in scenarios where an attacker already has some level of system access and seeks to escalate privileges or compromise cryptographic operations.

Root Cause

The root cause of this vulnerability lies in improper input validation within the PKDECRYPT command handler in tpm2daemon. When processing decryption requests for TPM-backed RSA and ECC keys, the code fails to properly verify the size of incoming data against the fixed-size stack buffer allocated for processing. This allows oversized input to overflow the buffer boundaries, corrupting adjacent stack memory.

Stack-based buffer overflows are particularly dangerous because the stack contains return addresses and saved frame pointers that control program execution flow. By carefully crafting the overflow data, an attacker could potentially redirect execution to malicious code.

Attack Vector

The attack vector for CVE-2026-24882 is local, meaning an attacker must have some form of local access to the target system to exploit this vulnerability. The attack could be executed by:

  1. Sending specially crafted PKDECRYPT requests to the tpm2daemon process
  2. Providing maliciously oversized key data during decryption operations
  3. Exploiting the buffer overflow to overwrite stack return addresses
  4. Redirecting execution flow to attacker-controlled code or causing a crash

The vulnerability does not require user interaction and can be exploited without prior authentication to the tpm2daemon service, though local system access is required.

The vulnerability manifests in the PKDECRYPT command handling routine within tpm2daemon. When processing decryption requests for TPM-backed keys, insufficient bounds checking allows oversized input to overflow stack buffers. For detailed technical information, refer to the GnuPG Task T8045 security advisory.

Detection Methods for CVE-2026-24882

Indicators of Compromise

  • Unexpected crashes or segmentation faults in the tpm2daemon process
  • Abnormal memory access patterns or stack corruption errors in system logs
  • Unusual PKDECRYPT command activity with oversized payloads
  • Process execution anomalies following tpm2daemon operations

Detection Strategies

  • Monitor system logs for tpm2daemon crashes, segmentation faults, or abnormal terminations
  • Implement process monitoring to detect unexpected child processes spawned from tpm2daemon
  • Use memory protection tools like Address Sanitizer (ASan) in development environments to detect buffer overflows
  • Deploy endpoint detection solutions capable of identifying stack-based exploitation attempts

Monitoring Recommendations

  • Enable verbose logging for GnuPG and tpm2daemon operations to capture detailed transaction data
  • Monitor for unusual patterns in TPM-related system calls using auditd or similar tools
  • Implement file integrity monitoring on GnuPG binaries to detect unauthorized modifications
  • Configure alerts for repeated tpm2daemon process restarts which may indicate exploitation attempts

How to Mitigate CVE-2026-24882

Immediate Actions Required

  • Upgrade GnuPG to version 2.5.17 or later immediately
  • If immediate patching is not possible, consider disabling tpm2daemon if TPM-backed keys are not essential
  • Review system access controls to limit which users and processes can interact with tpm2daemon
  • Monitor for exploitation attempts using the detection strategies outlined above

Patch Information

The GnuPG project has addressed this vulnerability in version 2.5.17. Organizations should upgrade to this version or later to remediate the stack-based buffer overflow in tpm2daemon. For detailed patch information and discussion, refer to:

  • GnuPG Task T8045 - Official GnuPG bug tracker entry
  • Openwall OSS Security Discussion - Security disclosure discussion

Workarounds

  • Disable tpm2daemon service if TPM-backed key operations are not required for your environment
  • Restrict local access to trusted users only, reducing the attack surface for local exploitation
  • Implement mandatory access control (MAC) policies using SELinux or AppArmor to confine tpm2daemon capabilities
  • Consider using alternative cryptographic key storage mechanisms until patching is complete
bash
# Configuration example - Disable tpm2daemon if not required
# Check if tpm2daemon is running
systemctl status tpm2daemon

# Stop and disable tpm2daemon service
sudo systemctl stop tpm2daemon
sudo systemctl disable tpm2daemon

# Verify GnuPG version after upgrade
gpg --version | head -n 1
# Expected output: gpg (GnuPG) 2.5.17 or higher

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechGnupg

  • SeverityHIGH

  • CVSS Score8.4

  • EPSS Probability0.01%

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

  • Openwall OSS Security Discussion
  • Related CVEs
  • CVE-2026-24881: GnuPG Buffer Overflow Vulnerability

  • CVE-2026-24883: GnuPG Denial of Service Vulnerability

  • CVE-2021-33560: Libgcrypt Information Disclosure Flaw

  • 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