---
title: 'USN-3064-1: GnuPG vulnerability | Ubuntu security notices'
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/notices/USN-3064-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-3064-1

---

# USN-3064-1: GnuPG vulnerability

Publication date

18 August 2016

Overview

GnuPG incorrectly generated random numbers.

Releases

[16.04 LTS](https://ubuntu.com/security/notices?release=xenial)
[14.04 LTS](https://ubuntu.com/security/notices?release=trusty)
[12.04](https://ubuntu.com/security/notices?release=precise)

---

Open side navigation

## Packages

* [gnupg](https://ubuntu.com/security/cves?package=gnupg) - GNU privacy guard - a free PGP replacement

## Details

Felix Dörre and Vladimir Klebanov discovered that GnuPG incorrectly handled
mixing functions in the random number generator. An attacker able to obtain
4640 bits from the RNG can trivially predict the next 160 bits of output.

## Update instructions

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

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

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

| Ubuntu Release | Package Version |
| --- | --- |
| 16.04 LTS xenial | [gnupg](https://launchpad.net/ubuntu/+source/gnupg) –  [1.4.20-1ubuntu3.1](https://launchpad.net/ubuntu/+source/gnupg/1.4.20-1ubuntu3.1) | | |
| 14.04 LTS trusty | [gnupg](https://launchpad.net/ubuntu/+source/gnupg) –  [1.4.16-1ubuntu2.4](https://launchpad.net/ubuntu/+source/gnupg/1.4.16-1ubuntu2.4) | | |
| 12.04 precise | [gnupg](https://launchpad.net/ubuntu/+source/gnupg) –  [1.4.11-3ubuntu2.10](https://launchpad.net/ubuntu/+source/gnupg/1.4.11-3ubuntu2.10) | | |

---

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

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2016-6313](https://ubuntu.com/security/CVE-2016-6313)

## Related notices

* [USN-3065-1](https://ubuntu.com/security/notices/USN-3065-1)
