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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gnupg2 | 2.0.14-2 | — |
| Debian 13 | gnupg2 | 2.0.14-2 | — |
| Debian 12 | gnupg2 | 2.0.14-2 | — |
| Debian 5.0 | gnupg2 | 2.0.9-3.1+lenny1 | DSA-2076-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | gnupg2 | 2.0.10-3.el5_5.1 | RHSA-2010:0603 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | gpg2 | 2.1.16-1.1 | openSUSE-SU-2024:10102-1 |
Advisories 3
- RHSA-2010:0603 Red Hat Security Advisory: gnupg2 security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2076-1 gnupg2 - execution of arbitrary code Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10102-1 gpg2-2.1.16-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- MDVSA-2010:143 vendor-advisory
- ADV-2010-1988 vdb-entry
- SUSE-SR:2010:020 vendor-advisory
- https://issues.rpath.com/browse/RPL-3229
- ADV-2010-1931 vdb-entry
- 41945 vdb-entry
- FEDORA-2010-11413 vendor-advisory
- DSA-2076 vendor-advisory
- 1024247 vdb-entry
- [gnupg-announce] 20100723 [Announce] Security Alert for GnuPG 2.0 - Realloc bug in GPGSM mailing-list
- 38877 third-party-advisory
- 40841 third-party-advisory
- http://wiki.rpath.com/wiki/Advisories:rPSA-2010-0076
- 40718 third-party-advisory
- ADV-2010-3125 vdb-entry
- ADV-2010-1950 vdb-entry
- SSA:2010-240-01 vendor-advisory
- ADV-2010-2217 vdb-entry