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.
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.19-2 | — |
| Debian 13 | gnupg2 | 2.0.19-2 | — |
| Debian 12 | gnupg2 | 2.0.19-2 | — |
| Debian 6.0 | gnupg | 1.4.10-4+squeeze1 | DSA-2601-1 |
| Debian 6.0 | gnupg2 | 2.0.14-2+squeeze1 | DSA-2601-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | gnupg2 +1 | 2.0.14-6.el6_4 | RHSA-2013:1459 |
| RHEL 5 | gnupg | 1.4.5-18.el5_10 | RHSA-2013:1458 |
| RHEL 5 | gnupg2 | 2.0.10-6.el5_10 | RHSA-2013:1459 |
Advisories 3
- RHSA-2013:1459 Red Hat Security Advisory: gnupg2 security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2013:1458 Red Hat Security Advisory: gnupg security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2601-1 gnupg - missing input sanitation Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://bugzilla.redhat.com/show_bug.cgi?id=891142
- https://bugs.g10code.com/gnupg/issue1455
- 57102 vdb-entry
- FEDORA-2013-0377 vendor-advisory
- http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git%3Ba=commitdiff%3Bh=f0b33b6fb8e0586e9584a7a409dcc31263776a67
- [oss-security] 20130101 Re: GnuPG 1.4.12 and lower - memory access errors and keyring database corruption mailing-list
- FEDORA-2013-0148 vendor-advisory
- RHSA-2013:1459 vendor-advisory
- USN-1682-1 vendor-advisory
- MDVSA-2013:001 vendor-advisory
- gnupg-public-keys-code-exec(80990) vdb-entry