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
    • 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-2022-34903

CVE-2022-34903: GnuPG Authentication Bypass Vulnerability

CVE-2022-34903 is an authentication bypass flaw in GnuPG that enables signature forgery through status line injection when attackers possess secret-key data. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 18, 2026

CVE-2022-34903 Overview

CVE-2022-34903 is a signature forgery vulnerability affecting GnuPG through version 2.3.6. In unusual situations where an attacker possesses any secret-key information from a victim's keyring and other constraints (e.g., use of GPGME) are met, the vulnerability allows signature forgery via injection into the status line. This injection vulnerability (CWE-74) can compromise the integrity of cryptographic signature verification, potentially allowing attackers to forge signatures and impersonate trusted parties.

Critical Impact

Attackers with partial secret-key information can inject malicious content into GnuPG's status line output, enabling signature forgery attacks that bypass cryptographic verification when GPGME or similar status-line parsing tools are used.

Affected Products

  • GnuPG versions through 2.3.6
  • Fedora 35 and 36
  • Debian Linux 10.0 and 11.0
  • NetApp Active IQ Unified Manager for VMware vSphere
  • NetApp ONTAP Select Deploy Administration Utility

Discovery Timeline

  • 2022-07-01 - CVE-2022-34903 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-34903

Vulnerability Analysis

This vulnerability represents an injection flaw in GnuPG's status line processing mechanism. The status line is an internal communication channel used by GnuPG to report signature verification results to calling applications, particularly those using the GPGME library. When specific conditions are met—namely, an attacker having obtained any portion of secret-key material from a victim's keyring—the attacker can craft malicious input that injects arbitrary content into the status line output.

The attack requires a combination of factors: partial compromise of the victim's key material, use of GPGME or other tools that parse GnuPG's status output, and the ability to present crafted data for signature verification. When these conditions align, an attacker can manipulate the status line to report a valid signature verification result for forged content.

Root Cause

The root cause lies in insufficient input validation and sanitization of data that gets incorporated into GnuPG's status line output. The status line protocol was designed for machine-readable output between GnuPG and calling applications, but it lacks adequate protection against injection attacks when processing certain types of input data in conjunction with compromised key material.

Attack Vector

The attack is network-accessible and exploits GnuPG's status line communication mechanism. An attacker must first obtain some secret-key information from the target's keyring through prior compromise, side-channel attacks, or other means. With this partial key material, the attacker can craft specially formatted data that, when processed by GnuPG for signature verification, causes malicious content to be injected into the status line.

Applications using GPGME or similar libraries that parse status line output are particularly vulnerable, as they may interpret the injected status information as legitimate signature verification results. This can lead to applications accepting forged signatures as valid, potentially enabling further attacks such as malware distribution through seemingly signed packages or tampering with encrypted communications.

Detection Methods for CVE-2022-34903

Indicators of Compromise

  • Unexpected or malformed status line output from GnuPG processes containing unusual control characters or newline sequences
  • Signature verification results that do not match expected key fingerprints
  • Log entries showing signature verifications with anomalous status codes or key identifiers
  • Evidence of unauthorized access to keyring files or GPG agent sockets

Detection Strategies

  • Monitor GnuPG status line output for injection patterns, particularly embedded newlines or status keywords within data fields
  • Implement integrity checking on keyring files to detect unauthorized modifications or access
  • Review application logs for signature verification discrepancies where status output contradicts actual verification results
  • Deploy file integrity monitoring on ~/.gnupg/ directories and associated configuration files

Monitoring Recommendations

  • Enable verbose logging for applications using GPGME to capture full status line communications
  • Implement anomaly detection for GPG-related processes accessing keyring files outside normal usage patterns
  • Monitor system calls and file access patterns around GnuPG binaries and libraries
  • Set up alerts for modifications to GnuPG configuration files or keyring databases

How to Mitigate CVE-2022-34903

Immediate Actions Required

  • Update GnuPG to a patched version beyond 2.3.6 that addresses the status line injection vulnerability
  • Audit keyring files and rotate any keys where secret material compromise is suspected
  • Review and update applications using GPGME to ensure they properly validate status line output
  • Restrict access to keyring directories using appropriate filesystem permissions

Patch Information

Security patches have been released through multiple channels. Fedora has published package announcements for updated GnuPG versions. Debian has released DSA-5174 addressing this vulnerability. The official GnuPG project has tracked this issue as T6027, and additional details are available in Debian Bug Report #1014157. NetApp has also issued Security Advisory NTAP-20220826-0005 for affected products.

Workarounds

  • If immediate patching is not possible, restrict keyring access permissions to prevent unauthorized reading of secret-key material
  • Consider temporarily disabling automated signature verification in critical pipelines until patches can be applied
  • Implement additional signature validation through alternative means (e.g., manual verification with trusted GnuPG instances)
  • For applications using GPGME, implement additional parsing validation to detect anomalous status line patterns
bash
# Secure keyring permissions as a temporary hardening measure
chmod 700 ~/.gnupg
chmod 600 ~/.gnupg/secring.gpg
chmod 600 ~/.gnupg/private-keys-v1.d/*

# Verify current GnuPG version
gpg --version | head -1

# Check for available updates (Debian/Ubuntu)
apt-cache policy gnupg

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechGnupg

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability2.40%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-74
  • Technical References
  • Openwall Security Mailing List Update

  • Fedora Package Announcement #1

  • Fedora Package Announcement #2

  • Fedora Package Announcement #3

  • Fedora Package Announcement #4

  • NetApp Security Advisory NTAP-20220826-0005

  • Debian Security Advisory DSA-5174

  • Openwall Security Mailing List Update
  • Vendor Resources
  • Debian Bug Report #1014157

  • GnuPG Issue T6027
  • 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-2021-33560: Libgcrypt 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