CVE-2025-30258
No exploitation reported by the sources we read.
- Published2025-03-19
- Fixed in2.5.5 · 2.4.8
- WeaknessCWE-754
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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."
Timeline
dates in UTC- 2025-03-1920:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.5 | ≥ 2.5.0, < 2.5.5 | 2.5.5 | NVD |
| 2.4 | < 2.4.8 | 2.4.8 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As mitre, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- GnuPGother versions: not affectedAffected
- < 2.5.5fixed in 2.5.5semver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-03-19
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- gnupgWolfiall versions · fixed in 2.4.8-r1and 12 other packages
- gnupgMinimOSall versions · fixed in 2.4.8-r0and 12 other packages
- gnupgChainguardall versions · fixed in 2.4.8-r1and 12 other packages
- gnupg2Ubuntu:Pro:18.04:LTSall versions · fixed in 2.2.4-1ubuntu1.6+esm1
- gnupg2Ubuntu:Pro:16.04:LTSall versions · fixed in 2.1.11-6ubuntu2.1+esm2
- gnupg2Ubuntu:25.10all versions · fixed in 2.4.4-2ubuntu23
- gnupg2Ubuntu:24.04:LTSall versions · fixed in 2.4.4-2ubuntu17.2
- gnupg2Ubuntu:22.04:LTSall versions · fixed in 2.2.27-3ubuntu2.3
38 more package ranges on OSV.dev
Vendor advisories
gnupg: verification DoS due to a malicious subkey in the keyring
gnupg2 as a component of Red Hat Enterprise Linux 10 · gnupg2-smime as a component of Red Hat Enterprise Linux 10 · gnupg2.src as a component of Red Hat Enterprise Linux 10 · +12 more
Fix
- Update Gnupg to 2.5.5 · 2.4.8
- Workaround from the vendor Red Hat Product Security CVE-2025-30258 · 15 productsThere 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 G…
- No fix available, says the vendor Red Hat Product Security CVE-2025-30258 · 6 productsFix deferred
- No fix planned, says the vendor Red Hat Product Security CVE-2025-30258 · 9 productsOut of support scope
Advisories and patches
- lists.gnupg.orgRelease Notes · Vendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2025-03-19
- CNACVSS 3.12.7known since 2026-10-23
- NVDCVSS 3.14.7read 2026-10-23
- CNAweakness (CWE)CWE-754known since 2026-10-23
- FIRST EPSSEPSS score0.2 %2026-11-04
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-58932same flawAzure Linux · MIT
- AZL-58935same flawAzure Linux · MIT
- CGA-2p76-pv2g-wc8csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-455p-v9fr-mg95same flawChainguard · CC-BY-NC-ND-4.0
- CGA-46fj-8q46-6cqvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4pvw-88qm-5x55same flawChainguard · CC-BY-NC-ND-4.0
- CGA-56rj-gqm8-gf55same flawChainguard · CC-BY-NC-ND-4.0
- CGA-57rp-9ccr-x64gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6vff-h9qp-jwp7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-72cq-ch62-9m59same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7746-9hr4-2h7fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7rww-hmrm-fxv5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-92g6-x26g-8x6qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9mf4-2c4g-5c2hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-c9hc-2fqw-rfgcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f6hc-4w2j-qj5jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-gfvm-v29h-c8f8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-gh6v-8jvm-gx99same flawChainguard · CC-BY-NC-ND-4.0
- CGA-jqqq-fr37-5wcqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-m595-hffq-x4r5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-mrpg-mj4c-qwc4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-pmc4-3qhq-3gr3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-qf8m-xpq7-58mjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-qr4r-8m47-hqc7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-r8rx-3658-q35csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-rcwc-6hfm-56rvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-w3h7-4x55-x52csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-w5gh-mx93-gr55same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2025-6762same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-5rjg-pf4q-hgcrsame flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2025-94same flawJulia Security Advisories · CC-BY-4.0
- MINI-wv49-m2hm-w2vqsame flawMinimOS · LicenseRef-unstated
- MGASA-2025-0133advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2025-1375advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1376advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1521advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1522advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1523advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2025:15076-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-RU-2025:20460-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:02259-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:20209-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:20444-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:20454-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:20458-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:20465-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:20472-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:3986-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-7412-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- Published
- 2025-03-19
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-5rjg-pf4q-hgcr
Frequently asked questions
What is CVE-2025-30258?
Is CVE-2025-30258 actively exploited?
What is the CVSS score for CVE-2025-30258?
Running gnupg? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-5rjg-pf4q-hgcr
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0