USN-7946-1: GnuPG vulnerability

Publication date

8 January 2026

Overview

GnuPG could be made to crash or run programs if it received specially crafted network traffic.


Packages

  • gnupg2 - GNU privacy guard - a free PGP replacement

Details

It was discovered that GnuPG incorrectly handled crafted input.
A remote attacker could possibly use this issue to crash the program,
or execute arbitrary code.

It was discovered that GnuPG incorrectly handled crafted input.
A remote attacker could possibly use this issue to crash the program,
or execute arbitrary code.

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
25.10 questing gnupg –  2.4.8-2ubuntu2.1
gnupg2 –  2.4.8-2ubuntu2.1
gpg –  2.4.8-2ubuntu2.1
25.04 plucky gnupg –  2.4.4-2ubuntu23.2
gnupg2 –  2.4.4-2ubuntu23.2
gpg –  2.4.4-2ubuntu23.2
24.04 LTS noble gnupg –  2.4.4-2ubuntu17.4
gnupg2 –  2.4.4-2ubuntu17.4
gpg –  2.4.4-2ubuntu17.4
22.04 LTS jammy gnupg –  2.2.27-3ubuntu2.5
gnupg2 –  2.2.27-3ubuntu2.5
gpg –  2.2.27-3ubuntu2.5
20.04 LTS focal gnupg –  2.2.19-3ubuntu2.5+esm1  
gnupg2 –  2.2.19-3ubuntu2.5+esm1  
gpg –  2.2.19-3ubuntu2.5+esm1  
18.04 LTS bionic gnupg –  2.2.4-1ubuntu1.6+esm2  
gnupg2 –  2.2.4-1ubuntu1.6+esm2  
gpg –  2.2.4-1ubuntu1.6+esm2  
16.04 LTS xenial gnupg2 –  2.1.11-6ubuntu2.1+esm3  
gpgv2 –  2.1.11-6ubuntu2.1+esm3  

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 ›