USN-1682-1: GnuPG vulnerability

9 January 2013

gnupg, gnupg2 vulnerability

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

  • Ubuntu 12.10
  • Ubuntu 12.04 LTS
  • Ubuntu 11.10
  • Ubuntu 10.04 LTS
  • Ubuntu 8.04 LTS


GnuPG could be made to corrupt the keyring if it imported a specially crafted key.

Software Description

  • gnupg - GNU privacy guard - a free PGP replacement
  • gnupg2 - GNU privacy guard - a free PGP replacement


KB Sriram discovered that GnuPG incorrectly handled certain malformed keys. If a user or automated system were tricked into importing a malformed key, the GnuPG keyring could become corrupted.

Update instructions

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

Ubuntu 12.10
gnupg - 1.4.11-3ubuntu4.1
gnupg2 - 2.0.17-2ubuntu3.1
Ubuntu 12.04 LTS
gnupg - 1.4.11-3ubuntu2.2
gnupg2 - 2.0.17-2ubuntu2.12.04.2
Ubuntu 11.10
gnupg - 1.4.11-3ubuntu1.11.10.2
gnupg2 - 2.0.17-2ubuntu2.11.10.2
Ubuntu 10.04 LTS
gnupg - 1.4.10-2ubuntu1.2
gnupg2 - 2.0.14-1ubuntu1.5
Ubuntu 8.04 LTS
gnupg - 1.4.6-2ubuntu5.2

To update your system, please follow these instructions:

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