[USN-7412-1] GnuPG vulnerability

Marc Deslauriers marc.deslauriers at canonical.com
Thu Apr 3 15:54:43 UTC 2025


==========================================================================
Ubuntu Security Notice USN-7412-1
April 03, 2025

gnupg2 vulnerability
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 24.10
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS

Summary:

GnuPG could be made to corrupt a keyring.

Software Description:
- gnupg2: GNU privacy guard - a free PGP replacement

Details:

It was discovered that GnuPG incorrectly handled importing keys with
certain crafted subkey data. If a user or automated system were tricked
into importing a specially crafted key, a remote attacker may prevent users
from importing other keys in the future.

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 24.10
   gnupg                           2.4.4-2ubuntu18.2
   gnupg2                          2.4.4-2ubuntu18.2
   gpg                             2.4.4-2ubuntu18.2

Ubuntu 24.04 LTS
   gnupg                           2.4.4-2ubuntu17.2
   gnupg2                          2.4.4-2ubuntu17.2
   gpg                             2.4.4-2ubuntu17.2

Ubuntu 22.04 LTS
   gnupg                           2.2.27-3ubuntu2.3
   gnupg2                          2.2.27-3ubuntu2.3
   gpg                             2.2.27-3ubuntu2.3

Ubuntu 20.04 LTS
   gnupg                           2.2.19-3ubuntu2.4
   gnupg2                          2.2.19-3ubuntu2.4
   gpg                             2.2.19-3ubuntu2.4

In general, a standard system update will make all the necessary changes.

References:
   https://ubuntu.com/security/notices/USN-7412-1
   CVE-2025-30258

Package Information:
   https://launchpad.net/ubuntu/+source/gnupg2/2.4.4-2ubuntu18.2
   https://launchpad.net/ubuntu/+source/gnupg2/2.4.4-2ubuntu17.2
   https://launchpad.net/ubuntu/+source/gnupg2/2.2.27-3ubuntu2.3
   https://launchpad.net/ubuntu/+source/gnupg2/2.2.19-3ubuntu2.4

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20250403/923d7f50/attachment-0001.sig>


More information about the ubuntu-security-announce mailing list