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-2025-30258

CVE-2025-30258: GnuPG Verification DoS Vulnerability

CVE-2025-30258 is a verification DoS flaw in GnuPG before 2.5.5 that disrupts signature verification when importing malicious certificates. This article covers the technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-30258 Overview

A denial of service vulnerability exists in GnuPG versions prior to 2.5.5 that allows an attacker to disrupt signature verification functionality. When a user imports a certificate containing crafted subkey data that lacks a valid backsig (back signature) or has incorrect usage flags, the user loses the ability to verify signatures made from certain other signing keys. This vulnerability is classified as CWE-754 (Improper Check for Unusual or Exceptional Conditions) and represents a "verification DoS" attack vector.

Critical Impact

Successful exploitation can render GnuPG's signature verification functionality unusable for legitimate signing keys, undermining the trust model that GnuPG provides for secure communications and software integrity verification.

Affected Products

  • GnuPG versions before 2.5.5
  • Systems using GnuPG for cryptographic signature verification
  • Package managers and software distribution systems relying on GnuPG

Discovery Timeline

  • 2025-03-19 - CVE-2025-30258 published to NVD
  • 2025-10-16 - Last updated in NVD database

Technical Details for CVE-2025-30258

Vulnerability Analysis

This vulnerability stems from improper validation of certificate subkey data during the import process. GnuPG relies on backsigs (back signatures) to cryptographically bind subkeys to their primary keys, ensuring that subkeys are legitimately associated with a given certificate. When a user imports a maliciously crafted certificate containing subkey data that either lacks a valid backsig or carries incorrect usage flags, GnuPG fails to properly handle this exceptional condition.

The result is a denial of service condition affecting the signature verification subsystem. Rather than simply rejecting the malformed certificate or isolating its effects, the vulnerability causes broader disruption to the keyring, preventing the verification of signatures from unrelated, legitimate signing keys. This attack requires local access and user interaction (importing the malicious certificate), but the impact on cryptographic operations can be significant.

Root Cause

The root cause is classified under CWE-754: Improper Check for Unusual or Exceptional Conditions. GnuPG's certificate import routine did not adequately validate or handle edge cases where subkey data contained missing or malformed backsigs, nor did it properly process subkeys with incorrect usage flags. This lack of defensive validation allowed the corrupted state to propagate and affect the broader signature verification functionality.

Attack Vector

The attack requires local access to the target system. An attacker must craft a certificate with specially constructed subkey data—either missing the required backsig that proves the subkey is authorized by the primary key, or containing usage flags that don't match the subkey's actual capabilities. The attacker then needs to convince the victim to import this malicious certificate into their GnuPG keyring.

This could be accomplished through various social engineering tactics, such as distributing the malicious certificate via email, key servers, or embedding it in software packages. Once imported, the malicious certificate disrupts the user's ability to verify signatures from other legitimate keys, effectively creating a denial of service condition for GnuPG's core trust verification functionality.

Detection Methods for CVE-2025-30258

Indicators of Compromise

  • Unexpected failures when verifying signatures from previously trusted keys
  • Error messages related to backsig validation or subkey usage flags during verification operations
  • GnuPG returning verification failures for known-good signatures after importing new certificates
  • Keyring corruption warnings or unusual behavior following certificate imports

Detection Strategies

  • Monitor GnuPG logs for unusual verification failures or backsig-related errors
  • Implement auditing of certificate import operations, particularly from untrusted sources
  • Compare signature verification results before and after certificate imports to detect anomalies
  • Use file integrity monitoring on GnuPG keyring files to detect unexpected modifications

Monitoring Recommendations

  • Enable verbose logging for GnuPG operations to capture detailed error information
  • Establish baseline behavior for signature verification operations and alert on deviations
  • Monitor system calls related to GnuPG keyring access patterns
  • Implement alerting for bulk verification failures that may indicate exploitation

How to Mitigate CVE-2025-30258

Immediate Actions Required

  • Upgrade GnuPG to version 2.5.5 or later immediately
  • Review recently imported certificates for suspicious characteristics
  • Verify that signature verification functionality is operating correctly after any recent certificate imports
  • Exercise caution when importing certificates from untrusted or unknown sources

Patch Information

GnuPG has addressed this vulnerability in version 2.5.5. The fix is documented in the GnuPG Commit rG48978c and detailed in GnuPG Task T7527. Users should consult the official GnuPG Security Announcement for complete upgrade instructions.

The patch implements proper validation checks for subkey backsigs and usage flags during the certificate import process, preventing malformed certificates from disrupting the signature verification subsystem.

Workarounds

  • Avoid importing certificates from untrusted or unverified sources until the patch is applied
  • Maintain backups of your GnuPG keyring to enable recovery if affected
  • Implement organizational policies requiring certificate verification before import
  • Consider using isolated GnuPG environments for testing certificates from unknown sources
bash
# Upgrade GnuPG to patched version
# On Debian/Ubuntu systems:
sudo apt update && sudo apt upgrade gnupg

# Verify GnuPG version after upgrade
gpg --version

# Backup existing keyring before any certificate imports
cp -r ~/.gnupg ~/.gnupg.backup

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechGnupg

  • SeverityMEDIUM

  • CVSS Score4.7

  • EPSS Probability0.03%

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

  • GnuPG Commit rG48978c
  • Vendor Resources
  • GnuPG Announcement #491
  • Related CVEs
  • CVE-2026-24883: GnuPG Denial of Service Vulnerability

  • CVE-2022-3219: GnuPG Denial of Service 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