CVE Vulnerabilities

CVE-2010-2547

Use After Free

Published: Aug 05, 2010 | Modified: Apr 11, 2025
CVSS 3.x
8.1
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
5.1 MEDIUM
AV:N/AC:H/Au:N/C:P/I:P/A:P
RedHat/V2
5.1 MODERATE
AV:N/AC:H/Au:N/C:P/I:P/A:P
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
GnupgGnupg2.0.0 (including)2.0.16 (including)
Red Hat Enterprise Linux 5RedHatgnupg2-0:2.0.10-3.el5_5.1*
Gnupg2Ubuntudapper*
Gnupg2Ubuntudevel*
Gnupg2Ubuntuhardy*
Gnupg2Ubuntujaunty*
Gnupg2Ubuntukarmic*
Gnupg2Ubuntulucid*
Gnupg2Ubuntuupstream*

Potential Mitigations

References