cve.bz

CVE-2025-30258 gnupg gnupg

4.7 mediumExploit referenceEPSS 0.2%

Medium (4.7) in gnupg gnupg. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
In GnuPG before 2.5.5, if a user chooses to import a certificate with certain crafted subkey data that lacks a valid backsig or that has incorrect usage flags, the user loses the ability to verify signatures made from certain other signing keys, aka a "verification DoS."

Severity

CVSS 3.1

4.7 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 9th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-03-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-754 Improper Check for Unusual or Exceptional Conditions
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-30258 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-30258?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-30258?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-30258 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
GnuPGbefore 2.5.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12gnupg2no fix listedDEBIAN-CVE-2025-30258
Debian13, 14gnupg22.2.46-5DEBIAN-CVE-2025-30258
Ubuntu20.04:LTSgnupg22.2.19-3ubuntu2.4UBUNTU-CVE-2025-30258 USN-7412-1
Ubuntu22.04:LTSgnupg22.2.27-3ubuntu2.3UBUNTU-CVE-2025-30258 USN-7412-1
Ubuntu24.04:LTSgnupg22.4.4-2ubuntu17.2UBUNTU-CVE-2025-30258 USN-7412-1
Ubuntu25.10gnupg22.4.4-2ubuntu23UBUNTU-CVE-2025-30258
UbuntuPro:16.04:LTSgnupg22.1.11-6ubuntu2.1+esm2UBUNTU-CVE-2025-30258
UbuntuPro:18.04:LTSgnupg22.2.4-1ubuntu1.6+esm1UBUNTU-CVE-2025-30258
SUSELinux Enterprise Micro 5.2, Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4 and 1 moregpg22.2.27-150300.3.13.1SUSE-SU-2025:3986-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7gpg22.4.4-150600.3.9.1SUSE-SU-2025:02259-1
SUSELinux Micro 6.0gpg22.4.4-2.1SUSE-SU-2025:20209-1
SUSELinux Micro 6.0gpg22.4.4-4.1SUSE-SU-2025:20454-1
SUSELinux Micro 6.0gpg22.4.4-5.1SUSE-SU-2025:20465-1
SUSELinux Micro 6.1gpg22.4.4-slfo.1.1_2.1SUSE-SU-2025:20444-1
SUSELinux Micro 6.1gpg22.4.4-slfo.1.1_3.1SUSE-SU-2025:20458-1
SUSELinux Micro 6.1gpg22.4.4-slfo.1.1_4.1SUSE-RU-2025:20460-1
SUSELinux Micro 6.1gpg22.4.4-slfo.1.1_5.1SUSE-SU-2025:20472-1
openSUSELeap 15.6gpg22.4.4-150600.3.9.1SUSE-SU-2025:02259-1
openSUSETumbleweedgpg22.5.6-1.1openSUSE-SU-2025:15076-1
Azure Linux2gnupg2no fix listedAZL-58932
Azure Linux3gnupg22.4.8-1AZL-58935

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability is rated as LOW impact. This is because it exists in GnuPG's certificate import logic. When a user imports a crafted certificate containing a subkey with a missing/invalid backsig (binding signature proving subkey-primary key association) or malformed usage flags, GnuPG fails to isolate the invalid key material, corrupting internal key selection state. This prevents verification of legitimate signing keys which is a denial of service extending beyond the malicious certificate. Exploitation requires user action to import an untrusted certificate.

Red Hat's mitigation

There is no available mitigation for this vulnerability.

However as a general security procedure,users should exercise caution and avoid importing GnuPG certificates from untrusted or unverified sources. Only import certificates that are known to be legitimate and from trusted entities.

Update to GnuPG version 2.5.5 or later to resolve this issue.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10gnupg2Fix deferred
Red Hat Enterprise Linux 6gnupg2Out of support scope
Red Hat Enterprise Linux 7gnupg2Out of support scope
Red Hat Enterprise Linux 8gnupg2Out of support scope
Red Hat Enterprise Linux 9gnupg2Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-ai-gateway-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-core-bff-rhel9Under investigation
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-rhel9Under investigation
Red Hat OpenShift AI (RHOAI)rhoai/odh-data-science-pipelines-operator-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kf-notebook-controller-rhel9Under investigation
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-llmisvc-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-module-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kuberay-operator-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kube-rbac-proxy-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-llama-stack-k8s-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-maas-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-rhel9Not affected
17 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-30258.

References

Check your stackJSON