Description
The do_uncompress function in g10/compress.c in GnuPG 1.x before 1.4.17 and 2.x before 2.0.24 allows context-dependent attackers to cause a denial of service (infinite loop) via malformed compressed packets, as demonstrated by an a3 01 5b ff byte sequence.
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.24-1 | — |
| Debian 13 | gnupg2 | 2.0.24-1 | — |
| Debian 12 | gnupg2 | 2.0.24-1 | — |
| Debian 7 | gnupg | 1.4.12-7+deb7u4 | DSA-2967-1 |
| Debian 7 | gnupg2 | 2.0.19-2+deb7u2 | DSA-2968-1 |
| Debian 6.0 | gnupg | 1.4.10-4+squeeze5 | DLA-0012-1 |
| Debian 6.0 | gnupg2 | 2.0.14-2+squeeze2 | DLA-51-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | gnupg | 1.4.16-1ubuntu2.1 | USN-2258-1 |
| Ubuntu 14.04 LTS | gnupg2 | 2.0.22-3ubuntu1.1 | USN-2258-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | gpg2 | 2.1.16-1.1 | openSUSE-SU-2024:10102-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | gnupg2 +1 | 2.0.22-5.amzn2.0.3 | ALAS2-2019-1203 |
Advisories 7
- DLA-51-1 gnupg2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-2968-1 gnupg2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-2967-1 gnupg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-0012-1 gnupg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-2258-1 gnupg, gnupg2 vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- openSUSE-SU-2024:10102-1 gpg2-2.1.16-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2019-1203 Moderate: gnupg2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 3, 2019
References
- 59351 third-party-advisory
- 59578 third-party-advisory
- [gnupg-announce] 20140624 [security fix] GnuPG 2.0.24 released mailing-list
- DSA-2967 vendor-advisory
- openSUSE-SU-2014:0866 vendor-advisory
- http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git%3Ba=commit%3Bh=014b2103fcb12f261135e3954f26e9e07b39e342
- USN-2258-1 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html
- DSA-2968 vendor-advisory
- http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git%3Ba=commit%3Bh=11fdfcf82bd8d2b5bc38292a29876e10770f4b0a
- 59534 third-party-advisory
- 59213 third-party-advisory
- [gnupg-announce] 20140623 [security fix] GnuPG 1.4.17 released mailing-list