---
title: CVE-2012-6085
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/CVE-2012-6085
---

# CVE-2012-6085

Publication date 31 December 2012

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

The read\_block function in g10/import.c in GnuPG 1.4.x before 1.4.13 and
2.0.x through 2.0.19, when importing a key, allows remote attackers to
corrupt the public keyring database or cause a denial of service
(application crash) via a crafted length field of an OpenPGP packet.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2012-6085#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| gnupg | 12.10 quantal | Fixed in 1.4.11-3ubuntu4.1 |
| 12.04 LTS precise | Fixed in 1.4.11-3ubuntu2.2 |
| 11.10 oneiric | Fixed in 1.4.11-3ubuntu1.11.10.2 |
| 10.04 LTS lucid | Fixed in 1.4.10-2ubuntu1.2 |
| 8.04 LTS hardy | Fixed in 1.4.6-2ubuntu5.2 |
| gnupg2 | 12.10 quantal | Fixed in 2.0.17-2ubuntu3.1 |
| 12.04 LTS precise | Fixed in 2.0.17-2ubuntu2.12.04.2 |
| 11.10 oneiric | Fixed in 2.0.17-2ubuntu2.11.10.2 |
| 10.04 LTS lucid | Fixed in 2.0.14-1ubuntu1.5 |
| 8.04 LTS hardy | Ignored end of life |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2012-6085#patch-details)

## Notes

---

### [seth-arnold](https://launchpad.net/~seth-arnold)

reproducer key available from dropbox url

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| gnupg | * Upstream:   <http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=patch;h=f795a0d59e197455f8723c300eebf59e09853efa> * Vendor:   <http://www.debian.org/security/2013/dsa-2601> |
| gnupg2 | * Upstream:   <http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=patch;h=498882296ffac7987c644aaf2a0aa108a2925471> * Vendor:   <http://www.debian.org/security/2013/dsa-2601> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-6085)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2012-6085)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2012-6085)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2012-6085)

### Related Ubuntu Security Notices (USN)

+ [USN-1682-1](https://usn.ubuntu.com/USN-1682-1)
+ GnuPG vulnerability
+ 9 January 2013

### Other references

* <http://seclists.org/bugtraq/2012/Dec/151>
* <http://dl.dropbox.com/u/18852638/gnupg-issues/1455.zip>
* <http://www.openwall.com/lists/oss-security/2013/01/01/6>
* <https://www.cve.org/CVERecord?id=CVE-2012-6085>
