Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

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

17
Routine
LOW 2.7UPGRADE

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 score2.7 (Low)
Attack vectorLocal
Attack complexityHigh
Privileges neededNone
User interactionRequired
EPSS exploit chance0.2% (top 91%)
CISA exploited listNo
WeaknessCWE-754
Published2025-03-19
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: gnupg

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

gnupg gnupg UPGRADE
Affected: < 2.4.8 · >= 2.5.0 and < 2.5.5
Fixed in: 2.4.8, 2.5.5
Safe to downgrade to: a release before 2.5.0
1. Check installed version
apt-cache policy gnupg || rpm -q gnupg || gnupg --version
2. UPGRADE to 2.4.8 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade gnupg
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade gnupg
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 2.5.0 (Debian / Ubuntu)
apt-cache madison gnupg sudo apt install gnupg=<VERSION_BEFORE_2.5.0> sudo apt-mark hold gnupg
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list gnupg sudo dnf downgrade gnupg-<VERSION_BEFORE_2.5.0> sudo dnf versionlock add gnupg
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

GnuPG vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.