CVSS 3.1
4.7 mediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HMedium (4.7) in gnupg gnupg. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HExplain 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.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| GnuPG | before 2.5.5 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | gnupg2 | no fix listed | DEBIAN-CVE-2025-30258 |
| Debian | 13, 14 | gnupg2 | 2.2.46-5 | DEBIAN-CVE-2025-30258 |
| Ubuntu | 20.04:LTS | gnupg2 | 2.2.19-3ubuntu2.4 | UBUNTU-CVE-2025-30258 USN-7412-1 |
| Ubuntu | 22.04:LTS | gnupg2 | 2.2.27-3ubuntu2.3 | UBUNTU-CVE-2025-30258 USN-7412-1 |
| Ubuntu | 24.04:LTS | gnupg2 | 2.4.4-2ubuntu17.2 | UBUNTU-CVE-2025-30258 USN-7412-1 |
| Ubuntu | 25.10 | gnupg2 | 2.4.4-2ubuntu23 | UBUNTU-CVE-2025-30258 |
| Ubuntu | Pro:16.04:LTS | gnupg2 | 2.1.11-6ubuntu2.1+esm2 | UBUNTU-CVE-2025-30258 |
| Ubuntu | Pro:18.04:LTS | gnupg2 | 2.2.4-1ubuntu1.6+esm1 | UBUNTU-CVE-2025-30258 |
| SUSE | Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4 and 1 more | gpg2 | 2.2.27-150300.3.13.1 | SUSE-SU-2025:3986-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7 | gpg2 | 2.4.4-150600.3.9.1 | SUSE-SU-2025:02259-1 |
| SUSE | Linux Micro 6.0 | gpg2 | 2.4.4-2.1 | SUSE-SU-2025:20209-1 |
| SUSE | Linux Micro 6.0 | gpg2 | 2.4.4-4.1 | SUSE-SU-2025:20454-1 |
| SUSE | Linux Micro 6.0 | gpg2 | 2.4.4-5.1 | SUSE-SU-2025:20465-1 |
| SUSE | Linux Micro 6.1 | gpg2 | 2.4.4-slfo.1.1_2.1 | SUSE-SU-2025:20444-1 |
| SUSE | Linux Micro 6.1 | gpg2 | 2.4.4-slfo.1.1_3.1 | SUSE-SU-2025:20458-1 |
| SUSE | Linux Micro 6.1 | gpg2 | 2.4.4-slfo.1.1_4.1 | SUSE-RU-2025:20460-1 |
| SUSE | Linux Micro 6.1 | gpg2 | 2.4.4-slfo.1.1_5.1 | SUSE-SU-2025:20472-1 |
| openSUSE | Leap 15.6 | gpg2 | 2.4.4-150600.3.9.1 | SUSE-SU-2025:02259-1 |
| openSUSE | Tumbleweed | gpg2 | 2.5.6-1.1 | openSUSE-SU-2025:15076-1 |
| Azure Linux | 2 | gnupg2 | no fix listed | AZL-58932 |
| Azure Linux | 3 | gnupg2 | 2.4.8-1 | AZL-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 rates this Low.
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.
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.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | gnupg2 | Fix deferred | |
| Red Hat Enterprise Linux 6 | gnupg2 | Out of support scope | |
| Red Hat Enterprise Linux 7 | gnupg2 | Out of support scope | |
| Red Hat Enterprise Linux 8 | gnupg2 | Out of support scope | |
| Red Hat Enterprise Linux 9 | gnupg2 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ai-gateway-operator-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-core-bff-rhel9 | Under investigation | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-dashboard-operator-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-dashboard-rhel9 | Under investigation | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-data-science-pipelines-operator-controller-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kf-notebook-controller-rhel9 | Under investigation | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kserve-controller-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kserve-llmisvc-controller-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kserve-module-operator-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kuberay-operator-controller-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kube-rbac-proxy-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-llama-stack-k8s-operator-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-maas-controller-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-mlflow-operator-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-mlflow-rhel9 | Not 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.