Description
kbx/keybox-search.c in GnuPG before 1.4.19, 2.0.x before 2.0.27, and 2.1.x before 2.1.2 does not properly handle bitwise left-shifts, which allows remote attackers to cause a denial of service (invalid read operation) via a crafted keyring file, related to sign extensions and "memcpy with overlapping ranges."
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.26-5 | — |
| Debian 13 | gnupg2 | 2.0.26-5 | — |
| Debian 12 | gnupg2 | 2.0.26-5 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | gnupg | 1.4.16-1ubuntu2.3 | USN-2554-1 |
| Ubuntu 14.04 LTS | gnupg2 | 2.0.22-3ubuntu1.3 | USN-2554-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | gpg2 | 2.0.24-3.2 | SUSE-SU-2015:2171-2 |
| SLES 12 | gpg2 | 2.0.24-3.2 | SUSE-SU-2015:2171-1 |
| SLES 11 SP4 | gpg2 | 2.0.9-25.33.41.2 | SUSE-SU-2015:2170-1 |
| SLES 11 SP3 | gpg2 | 2.0.9-25.33.41.2 | SUSE-SU-2015:2170-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP1 | gpg2 | 2.0.24-3.2 | SUSE-SU-2015:2171-2 |
| SLES for SAP 12 | gpg2 | 2.0.24-3.2 | SUSE-SU-2015:2171-1 |
| SLES for SAP 11 SP4 | gpg2 | 2.0.9-25.33.41.2 | SUSE-SU-2015:2170-1 |
| SLES for SAP 11 SP3 | gpg2 | 2.0.9-25.33.41.2 | SUSE-SU-2015:2170-1 |
Advisories 4
- USN-2554-1 gnupg, gnupg2 vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2015:2171-1 Security update for gpg2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:2170-1 Security update for gpg2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:2171-2 Security update for gpg2 SUSE / openSUSE Security Updates · May 2, 2025
References
- https://blog.fuzzing-project.org/5-Multiple-issues-in-GnuPG-found-through-keyring-fuzzing-TFPA-0012015.html
- https://lists.gnupg.org/pipermail/gnupg-announce/2015q1/000363.html
- http://www.openwall.com/lists/oss-security/2015/02/13/14
- http://www.openwall.com/lists/oss-security/2015/02/14/6
- https://lists.gnupg.org/pipermail/gnupg-announce/2015q1/000361.html
- https://lists.gnupg.org/pipermail/gnupg-announce/2015q1/000362.html
- http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git%3Ba=commit%3Bh=2183683bd633818dd031b090b5530951de76f392
- http://www.ubuntu.com/usn/usn-2554-1/
- http://www.securityfocus.com/bid/72610