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
CVE-2025-30258 is a low-severity flaw (CVSS 2.7) affecting gnupg. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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."
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 2.7 (Low) |
| Attack vector | Local |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 91%) |
| CISA exploited list | No |
| Weakness | CWE-754 |
| Published | 2025-03-19 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-30258?
gnupg: upgrade to 2.4.8, 2.5.5. Exact commands for each OS are on this page.
Is CVE-2025-30258 being exploited?
CVE-2025-30258 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-30258 affect?
CVE-2025-30258 affects gnupg. Severity is low (CVSS 2.7). 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
How urgent is CVE-2025-30258?
Priority 17/100. Public exploit reference
Software pages
Related CVEs
- CVE-2025-68973 HIGH 7.8 UPGRADE In GnuPG before 2.4.9, armor_filter in g10/armor.c has two increments of an index variable where one is intend
- CVE-2025-68972 MEDIUM 5.9 UPGRADE In GnuPG through 2.4.8, if a signed message has \f at the end of a plaintext line, an adversary can construct
- CVE-2026-24882 HIGH 8.4 UPGRADE UPGRADE In GnuPG before 2.5.17, a stack-based buffer overflow exists in tpm2daemon during handling of the PKDECRYPT co
- CVE-2026-24881 HIGH 8.1 UPGRADE UPGRADE In GnuPG before 2.5.17, a crafted CMS (S/MIME) EnvelopedData message carrying an oversized wrapped session key
- CVE-2026-24883 LOW 3.7 UPGRADE UPGRADE In GnuPG before 2.5.17, a long signature packet length causes parse_signature to return success with sig->data