Description
libgcrypt before version 1.7.8 is vulnerable to a cache side-channel attack resulting into a complete break of RSA-1024 while using the left-to-right method for computing the sliding-window expansion. The same attack is believed to work on RSA-2048 with moderately more computation. This side-channel requires that attacker can run arbitrary software on the hardware where the private RSA key is used.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GnuPG | libgcrypt | 1.7.8 | — |
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 | gnupg1 | 1.4.22-1 | — |
| Debian 14 | libgcrypt20 | 1.7.8-1 | — |
| Debian 13 | gnupg1 | 1.4.22-1 | — |
| Debian 13 | libgcrypt20 | 1.7.8-1 | — |
| Debian 12 | gnupg1 | 1.4.22-1 | — |
| Debian 12 | libgcrypt20 | 1.7.8-1 | — |
| Debian 9 | libgcrypt20 | 1.7.6-2+deb9u1 | DSA-3901-1 |
| Debian 8 | gnupg | 1.4.18-7+deb8u4 | DSA-3960-1 |
| Debian 8 | libgcrypt20 | 1.6.3-2+deb8u4 | DSA-3901-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | gnupg | 1.4.12-7+deb7u9 | DLA-1080-1 |
| Debian 7 | libgcrypt11 | 1.5.0-5+deb7u6 | DLA-1015-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | gnupg | 1.4.20-1ubuntu3.3 | USN-3733-1 |
| Ubuntu 16.04 LTS | libgcrypt20 | 1.6.5-2ubuntu0.3 | USN-3347-1 |
| Ubuntu 14.04 LTS | gnupg | 1.4.16-1ubuntu2.6 | USN-3733-1 |
| Ubuntu 14.04 LTS | libgcrypt11 | 1.5.3-2ubuntu4.5 | USN-3347-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | libgcrypt | 1.6.1-16.42.1 | SUSE-SU-2017:1794-1 |
| SLES 12 | compat-libgcrypt11 | 1.5.0-0.6.1 | SUSE-SU-2017:1866-1 |
| SLES 11 SP4 | libgcrypt | 1.5.0-0.25.1 | SUSE-SU-2017:1793-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP2 | libgcrypt | 1.6.1-16.42.1 | SUSE-SU-2017:1794-1 |
| SLES for SAP 11 SP4 | libgcrypt | 1.5.0-0.25.1 | SUSE-SU-2017:1793-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libgcrypt | 1.9.4-1.2 | openSUSE-SU-2024:10941-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.15 | gnupg1 | 1.4.23-r0 | — |
| Alpine v3.14 | gnupg1 | 1.4.23-r0 | — |
| Alpine v3.13 | gnupg1 | 1.4.23-r0 | — |
| Alpine v3.12 | gnupg1 | 1.4.23-r0 | — |
| Alpine v3.11 | gnupg1 | 1.4.23-r0 | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.10 | gnupg1 | 1.4.23-r0 | — |
| Alpine v3.9 | gnupg1 | 1.4.23-r0 | — |
| Alpine v3.8 | gnupg1 | 1.4.23-r0 | — |
| Alpine v3.7 | gnupg1 | 1.4.23-r0 | — |
| Alpine v3.6 | gnupg1 | 1.4.23-r0 | — |
| Alpine v3.5 | gnupg1 | 1.4.23-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | grub2 | 2.06-25 | — |
Advisories 10
- USN-3347-1 libgcrypt11, libgcrypt20 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-3901-1 libgcrypt20 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3960-1 gnupg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1015-1 libgcrypt11 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1080-1 gnupg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3733-1 gnupg vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2017:1794-1 Security update for libgcrypt SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1866-1 Security update for compat-libgcrypt11 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10941-1 libgcrypt-cavs-1.9.4-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1793-1 Security update for libgcrypt SUSE / openSUSE Security Updates · May 2, 2025
References
- USN-3733-1 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7526
- 1038915 vdb-entry
- DSA-3960 vendor-advisory
- https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=78130828e9a140a9de4dafadbc844dbb64cb709a
- DSA-3901 vendor-advisory
- USN-3733-2 vendor-advisory
- https://eprint.iacr.org/2017/627
- 99338 vdb-entry
- [gnupg-announce] 20170629 Libgcrypt 1.7.8 released to fix CVE-2017-7526 mailing-list
- https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=e6a3dc9900433bbc8ad362a595a3837318c28fa9
- https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=8725c99ffa41778f382ca97233183bcd687bb0ce