USN-7412-1: GnuPG vulnerability

Publication date

3 April 2025

Overview

GnuPG could be made to corrupt a keyring.


Packages

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

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

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

Learn more about how to get the fixes.

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

Ubuntu Release Package Version
24.10 oracular gnupg –  2.4.4-2ubuntu18.2
gnupg2 –  2.4.4-2ubuntu18.2
gpg –  2.4.4-2ubuntu18.2
24.04 noble gnupg –  2.4.4-2ubuntu17.2
gnupg2 –  2.4.4-2ubuntu17.2
gpg –  2.4.4-2ubuntu17.2
22.04 jammy gnupg –  2.2.27-3ubuntu2.3
gnupg2 –  2.2.27-3ubuntu2.3
gpg –  2.2.27-3ubuntu2.3
20.04 focal gnupg –  2.2.19-3ubuntu2.4
gnupg2 –  2.2.19-3ubuntu2.4
gpg –  2.2.19-3ubuntu2.4

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›