CVE-2012-6085 Denial of service in n/a

Medium 5.8 Published Updated

Remote attackers can crash GnuPG or corrupt the public keyring by sending a crafted OpenPGP packet during key import.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2012-6085?

CVE-2012-6085 is a medium-severity denial of service vulnerability in n/a, published on 24 Jan 2013. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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

Weakness: CWE-20

Which versions are affected by CVE-2012-6085?

It affects 1 product.

Products include Gnupg Gnupg.

How do I fix CVE-2012-6085?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2012-6085 being exploited?

There is no known exploitation of CVE-2012-6085 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2012-6085, DSA-2601-1, GHSA-5m4p-hwr3-qvm6.

Is CVE-2012-6085 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free