Skip to content
OpenAdvisories
Medium · 6.1 CVE-2017-7526 EUVD-2017-16542GHSA-f2v5-c455-qhg2

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 lef…

Published Jul 26, 2018 · Updated Dec 17, 2025 · Assigned by redhat

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Debian 7 gnupg 1.4.12-7+deb7u9 DLA-1080-1
Debian 7 libgcrypt11 1.5.0-5+deb7u6 DLA-1015-1
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libgcrypt 1.9.4-1.2 openSUSE-SU-2024:10941-1
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Azure Linux 3 grub2 2.06-25 —

Advisories 10

References