CVE-2025-30258
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."
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | gnupg2 | Fixed | 2.4.4-2ubuntu23 | UBUNTU-CVE-2025-30258 |
| Ubuntu 24.04 | gnupg2 | Fixed | 2.4.4-2ubuntu17.2 | UBUNTU-CVE-2025-30258 |
| Ubuntu 22.04 | gnupg2 | Fixed | 2.2.27-3ubuntu2.3 | UBUNTU-CVE-2025-30258 |
| Ubuntu 20.04 | gnupg2 | Fixed | 2.2.19-3ubuntu2.4 | UBUNTU-CVE-2025-30258 |
| Ubuntu 18.04 | gnupg2 | Fix pending | 2.2.4-1ubuntu1.6+esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-30258 |
| Ubuntu 16.04 | gnupg2 | Fix pending | 2.1.11-6ubuntu2.1+esm2 (Ubuntu Pro) | UBUNTU-CVE-2025-30258 |
| Debian 14 | gnupg2 | Fixed | 2.2.46-5 | DEBIAN-CVE-2025-30258 |
| Debian 13 | gnupg2 | Fixed | 2.2.46-5 | DEBIAN-CVE-2025-30258 |
| Debian 12 | gnupg2 | Fix pending | DEBIAN-CVE-2025-30258 | |
| Red Hat Enterprise Linux 10 | gnupg2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | gnupg2-smime | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gnupg2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gnupg2-smime | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | gnupg2 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 8 | gnupg2-smime | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | gnupg2 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | gnupg2-smime | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gnupg2 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gnupg2-smime | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- GnuPG: affected: before 2.5.5; fixed in
2.5.5
References
- https://lists.gnupg.org/pipermail/gnupg-announce/2025q1/000491.html
- https://dev.gnupg.org/T7527
- https://dev.gnupg.org/rG48978ccb4e20866472ef18436a32744350a65158
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.