CVE-2025-30258 Affecting gnupg2 package, versions <2.2.27-3ubuntu2.3


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.01% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-GNUPG2-9507589
  • published4 Apr 2025
  • disclosed19 Mar 2025

Introduced: 19 Mar 2025

NewCVE-2025-30258  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 gnupg2 to version 2.2.27-3ubuntu2.3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gnupg2 package and not the gnupg2 package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

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."

CVSS Base Scores

version 3.1