CVE-2025-30258
GNU Privacy Guard vulnerability analysis and mitigation

Overview

In GnuPG before version 2.5.5, a vulnerability was discovered that could lead to a verification denial of service (DoS) attack. The vulnerability, identified as CVE-2025-30258, affects systems where a user imports a certificate with certain crafted subkey data that lacks a valid backsig or has incorrect usage flags. This vulnerability was discovered in February 2025 and was patched in March 2025 (GnuPG Announce, NVD).

Technical details

The vulnerability stems from an issue where if a malicious certificate is imported with crafted subkey data lacking valid backsigs or containing incorrect usage flags, it prevents the verification of signatures made from certain other signing keys. The vulnerability has been assigned a CVSS v3.1 score of 2.7 (LOW) with the vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:N/A:L. The issue is classified under CWE-754 (Improper Check for Unusual or Exceptional Conditions) (NVD).

Impact

When exploited, this vulnerability causes a denial of service condition specifically affecting signature verification capabilities. Users lose the ability to verify signatures made from certain signing keys after importing a malicious certificate. This impacts the system's ability to verify the authenticity of signed files and communications (GnuPG Bug).

Mitigation and workarounds

The vulnerability has been fixed in GnuPG version 2.5.5. The fix involves changes to how GnuPG handles key lookups and verification processes. Users are advised to upgrade to version 2.5.5 or later to mitigate this vulnerability. The patch specifically addresses the verification DoS issue caused by malicious subkeys in the keyring (GnuPG Commit, GnuPG Announce).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management