CVE-2010-2547 Use after free in n/a

High 8.1 Published Updated

Remote attackers can cause a crash or potentially execute arbitrary code by providing a crafted certificate with many Subject Alternate Names to GPGSM.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2010-2547?

CVE-2010-2547 is a high-severity use after free vulnerability in Debian Debian Linux, published on 5 Aug 2010. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Use-after-free vulnerability in kbx/keybox-blob.c in GPGSM in GnuPG 2.x through 2.0.16 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a certificate with a large number of Subject Alternate Names, which is not properly handled in a realloc operation when importing the certificate or verifying its signature.

Weakness: CWE-416

Which versions are affected by CVE-2010-2547?

It affects 3 products.

Linux distribution packages (4)
gnupg2 Red Hat:enterprise_linux:5::clientAll versions0:2.0.10-3.el5_5.1
gnupg2-debuginfo Red Hat:enterprise_linux:5::clientAll versions0:2.0.10-3.el5_5.1
gnupg2 Red Hat:enterprise_linux:5::serverAll versions0:2.0.10-3.el5_5.1
gnupg2-debuginfo Red Hat:enterprise_linux:5::serverAll versions0:2.0.10-3.el5_5.1

Products include Debian Debian Linux, Fedoraproject Fedora, Gnupg Gnupg.

How do I fix CVE-2010-2547?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2010-2547 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2010-2547, DSA-2076-1, GHSA-jjg3-cx5h-88wm, RHSA-2010:0603.

Is CVE-2010-2547 in your software?

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

Check your SBOMs for free