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-2022-3219

CVE-2022-3219: GnuPG Denial of Service Vulnerability

CVE-2022-3219 is a denial of service vulnerability in GnuPG that allows attackers to cause resource exhaustion through specially crafted public keys. This article covers technical details, affected versions, and mitigation.

Published: February 17, 2026

CVE-2022-3219 Overview

CVE-2022-3219 is a denial of service vulnerability affecting GnuPG (GNU Privacy Guard), a widely used free implementation of the OpenPGP standard. The vulnerability allows an attacker to cause GnuPG to enter an excessive processing loop by supplying a relatively small, specially crafted input—such as a public key containing thousands of signatures compressed to just a few kilobytes.

Critical Impact

Local attackers with low privileges can cause resource exhaustion and denial of service conditions by providing maliciously crafted compressed public keys to GnuPG, potentially disrupting cryptographic operations and system availability.

Affected Products

  • GnuPG (GNU Privacy Guard)
  • Systems and applications relying on GnuPG for OpenPGP cryptographic operations
  • Package managers and software distribution systems using GnuPG for signature verification

Discovery Timeline

  • 2023-02-23 - CVE-2022-3219 published to NVD
  • 2025-03-12 - Last updated in NVD database

Technical Details for CVE-2022-3219

Vulnerability Analysis

This vulnerability stems from how GnuPG processes OpenPGP public keys that contain an excessive number of signatures. When a public key is crafted with thousands of attached signatures and then compressed using standard compression algorithms, the resulting file can be reduced to just a few kilobytes while decompressing into a much larger data structure during processing.

When GnuPG attempts to process such a key, it must iterate through and validate each signature, causing the application to "spin" or enter an extended processing loop. This algorithmic complexity attack exploits the asymmetry between the compressed input size and the computational resources required to process the decompressed content.

The vulnerability is classified under CWE-787 (Out-of-Bounds Write), though the primary observable impact is denial of service through resource exhaustion. The local attack vector requires an attacker to provide the malicious key file to a victim's GnuPG installation, which could occur through various means such as importing keys from untrusted keyservers or processing email attachments.

Root Cause

The root cause lies in GnuPG's signature processing routine, which does not implement adequate limits or early termination conditions when handling public keys with an abnormally high number of attached signatures. The compression of these signatures amplifies the attack by allowing an attacker to deliver a small payload that expands into a computationally expensive operation.

Attack Vector

The attack requires local access and involves providing a specially crafted public key file to GnuPG for processing. Attack scenarios include:

  1. An attacker uploads a malicious public key to a keyserver, which is then retrieved by the victim
  2. A malicious key is included in an email or document that triggers automatic GnuPG processing
  3. The crafted key is placed in a location where GnuPG operations are automated, such as package verification systems

The vulnerability mechanism involves creating a public key with thousands of signatures, then compressing the entire structure. When decompressed and processed by GnuPG, the signature validation loop consumes excessive CPU cycles, causing the application to become unresponsive. Detailed technical analysis is available in the GnuPG Development Update D556 and GnuPG Task Update T5993.

Detection Methods for CVE-2022-3219

Indicators of Compromise

  • Unusually high CPU usage by gpg or gpg-agent processes over extended periods
  • GnuPG operations timing out or becoming unresponsive during key import or verification operations
  • Presence of unusually small key files (few KB) that cause extended processing times
  • Log entries indicating stalled or prolonged cryptographic operations

Detection Strategies

  • Monitor system processes for abnormal CPU consumption by GnuPG-related binaries
  • Implement file size vs. processing time ratio analysis for incoming key files
  • Use application-level monitoring to detect GnuPG operations exceeding normal duration thresholds
  • Deploy behavioral analysis to identify patterns consistent with algorithmic complexity attacks

Monitoring Recommendations

  • Configure alerting for GnuPG processes consuming excessive CPU resources for more than expected durations
  • Implement logging for all key import operations including source and processing time metrics
  • Monitor keyserver communications for unusual patterns or repeated retrieval of the same keys
  • Review automated systems that process OpenPGP keys for signs of performance degradation

How to Mitigate CVE-2022-3219

Immediate Actions Required

  • Update GnuPG to the latest available version that includes the fix referenced in GnuPG Development Update D556
  • Review and restrict sources from which public keys are automatically imported
  • Implement resource limits (CPU time, memory) for processes handling untrusted cryptographic material
  • Audit systems that automatically process OpenPGP keys from external sources

Patch Information

The GnuPG development team has addressed this vulnerability. Patches and updates are tracked in the GnuPG Task Update T5993. Users should consult their Linux distribution's security advisories, including the Red Hat CVE-2022-3219 Advisory and NetApp Security Advisory NTAP-20230324-0001 for distribution-specific patches.

Workarounds

  • Implement timeout limits for GnuPG operations processing keys from untrusted sources
  • Use containerization or sandboxing to limit the impact of resource exhaustion attacks
  • Configure keyserver settings to use trusted sources only and disable automatic key retrieval where possible
  • Apply process resource limits using system tools such as ulimit or cgroups
bash
# Configuration example - Limit GnuPG process resources
# Add to shell profile or wrapper script for gpg operations

# Set CPU time limit (in seconds)
ulimit -t 60

# Set maximum memory limit (in KB)
ulimit -v 1048576

# Example cgroup configuration for systemd service
# Add to /etc/systemd/system/gpg-processing.service.d/limits.conf
# [Service]
# CPUQuota=50%
# MemoryMax=512M
# TimeoutSec=120

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechGnupg

  • SeverityLOW

  • CVSS Score3.3

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-787
  • Technical References
  • Red Hat CVE-2022-3219 Advisory

  • Red Hat Bug Report #2127010

  • NetApp Security Advisory NTAP-20230324-0001
  • Vendor Resources
  • GnuPG Development Update D556

  • GnuPG Task Update T5993

  • OSS-Security Mailing List Discussion
  • Related CVEs
  • CVE-2026-24883: GnuPG Denial of Service Vulnerability

  • CVE-2025-30258: GnuPG Verification DoS Vulnerability

  • CVE-2026-24881: GnuPG Buffer Overflow Vulnerability

  • CVE-2026-24882: GnuPG Buffer Overflow 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