USN-7412-3: GnuPG vulnerability

Publication date

9 December 2025

Overview

GnuPG could be made to corrupt a keyring.


Packages

  • gnupg2 - GNU privacy guard - a free PGP replacement

Details

USN-7412-1 fixed a vulnerability in GnuPG. This update provides the
corresponding update for Ubuntu 16.04 LTS and Ubuntu 18.04 LTS.

Original advisory 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.

USN-7412-1 fixed a vulnerability in GnuPG. This update provides the
corresponding update for Ubuntu 16.04 LTS and Ubuntu 18.04 LTS.

Original advisory 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

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
18.04 LTS bionic gnupg –  2.2.4-1ubuntu1.6+esm1  
gnupg2 –  2.2.4-1ubuntu1.6+esm1  
gpg –  2.2.4-1ubuntu1.6+esm1  
16.04 LTS xenial gnupg2 –  2.1.11-6ubuntu2.1+esm2  
gpgv2 –  2.1.11-6ubuntu2.1+esm2  

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 ›