CVE-2025-30258 json
In GnuPG before 2.5.5, if a user chooses to import a certificate with certain crafted subkey data...
published 2025-03-19 19 mo ago modified 2026-07-25 3 mo ago also EUVD-2025-6762 , JLSEC-2025-94
- cvss
- 2.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 9%
- public exploits
- 0
- none known
Summary
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."
Patch / fix
- julia GnuPG_jll 2.4.8+0
- GnuPG GnuPG 2.5.5
- gnupg2 Debian 14, Debian 13 2.2.46-5
debian advisories DEBIAN-CVE-2025-30258
- gnupg2 Ubuntu 20.04 LTS 2.2.19-3ubuntu2.4
- gnupg2 Ubuntu 22.04 LTS 2.2.27-3ubuntu2.3
- gnupg2 Ubuntu 24.04 LTS 2.4.4-2ubuntu17.2
- gnupg2 Ubuntu 25.10 2.4.4-2ubuntu23
- gnupg2 Ubuntu Pro 16.04 LTS 2.1.11-6ubuntu2.1+esm2
- gnupg2 Ubuntu Pro 18.04 LTS 2.2.4-1ubuntu1.6+esm1
ubuntu advisories UBUNTU-CVE-2025-30258
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- gpg2 SLE Micro 5.5, SLE Micro 5.4, SLE Micro 5.3 +1 more 2.2.27-150300.3.13.1
- gpg2 SLE Module for Basesystem 15 SP7, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 2.4.4-150600.3.9.1
- gpg2 Linux Micro 6.1 2.4.4-slfo.1.1_5.1
- gpg2 Linux Micro 6.0 2.4.4-5.1
- gpg2 Linux Micro 6.1 2.4.4-slfo.1.1_4.1
- gpg2 Linux Micro 6.1 2.4.4-slfo.1.1_3.1
- gpg2 Linux Micro 6.0 2.4.4-4.1
- gpg2 Linux Micro 6.1 2.4.4-slfo.1.1_2.1
suse advisories SUSE-SU-2025:3986-1SUSE-SU-2025:02259-1SUSE-SU-2025:20472-1SUSE-SU-2025:20465-1SUSE-RU-2025:20460-1SUSE-SU-2025:20458-1
- gpg2 openSUSE Tumbleweed 2.5.6-1.1
opensuse advisories openSUSE-SU-2025:15076-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-30258 updated cvss 2.7
gnupg: verification DoS due to a malicious subkey in the keyring
-
Red Hat Enterprise Linux 6 gnupg2, gnupg2-smime Red Hat Enterprise Linux 7 gnupg2, gnupg2-smime Red Hat Enterprise Linux 8 gnupg2, gnupg2-smimeaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 9 gnupg2, gnupg2-smime Red Hat Enterprise Linux 10 gnupg2affected: workaround, no fix available “Fix deferred”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-core-bff-rhel9, rhoai/odh-dashboard-rhel9, rhoai/odh-mod-arch-maas-rhel9, rhoai/odh-mod-arch-automl-rhel9, rhoai/odh-mod-arch-gen-ai-rhel9, rhoai/odh-mod-arch-mlflow-rhel9, +6 moreunder investigation
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-mlflow-rhel9, rhoai/odh-kube-rbac-proxy-rhel9, rhoai/odh-maas-controller-rhel9, rhoai/odh-mlflow-operator-rhel9, rhoai/odh-model-controller-rhel9, rhoai/odh-ogx-k8s-operator-rhel9, +14 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 9% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- dev.gnupg.org https://dev.gnupg.org/T7527 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 2.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:N/A:L |
| NVD | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | GnuPG_jll | <2.4.8+0 |
2.4.8+0 |
Affected products
- GnuPG GnuPG
Classification
- Weakness
-
- CWE-754 Improper Check for Unusual or Exceptional Conditions
References
-
dev.gnupg.org
/T7527
exploit, issue-tracking, web
-
lists.gnupg.org
/pipermail/gnupg-announce/2025q1/000491.html
mailing-list, release-notes, vendor-advisory, web
-
dev.gnupg.org
/rG48978ccb4e20866472ef18436a32744350a65158
issue-tracking, web
Sources
- CVE List CVE-2025-30258
- NVD CVE-2025-30258
- OSV JLSEC-2025-94
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.