Skip to content
OpenAdvisories
Unscored CVE-2018-0495 EUVD-2018-1318GHSA-q2v2-pgm4-m8c8

Libgcrypt before 1.7.10 and 1.8.x before 1.8.3 allows a memory-cache side-channel attack on ECDSA signatures that can be mitigated through …

Published Jun 13, 2018 · Updated Oct 14, 2026 · Assigned by debian

Description

Libgcrypt before 1.7.10 and 1.8.x before 1.8.3 allows a memory-cache side-channel attack on ECDSA signatures that can be mitigated through the use of blinding during the signing process in the _gcry_ecc_ecdsa_sign function in cipher/ecc-ecdsa.c, aka the Return Of the Hidden Number Problem or ROHNP. To discover an ECDSA key, the attacker needs access to either the local machine or a different virtual machine on the same physical host.

Affected products

VendorProductAffectedFixed
— Libgcrypt before 1.7.10 and 1.8.x before 1.8.3 Libgcrypt before 1.7.10 and 1.8.x before 1.8.3 —

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 libgcrypt20 1.8.3-1 —
Debian 13 libgcrypt20 1.8.3-1 —
Debian 12 libgcrypt20 1.8.3-1 —
Debian 9 libgcrypt20 1.7.6-2+deb9u3 DSA-4231-1
Debian 8 libgcrypt20 1.6.3-2+deb8u5 DLA-1405-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libgcrypt20 1.8.1-4ubuntu1.1 USN-3689-1
Ubuntu 18.04 LTS nss 2:3.35-2ubuntu2.1 USN-3850-1
Ubuntu 18.04 LTS openssl 1.1.0g-2ubuntu4.1 USN-3692-1
Ubuntu 18.04 LTS openssl1.0 1.0.2n-1ubuntu5.1 USN-3692-1
Ubuntu 16.04 LTS libgcrypt20 1.6.5-2ubuntu0.5 USN-3689-1
Ubuntu 16.04 LTS nss 2:3.28.4-0ubuntu0.16.04.4 USN-3850-1
Ubuntu 16.04 LTS openssl 1.0.2g-1ubuntu4.13 USN-3692-1
Ubuntu 14.04 LTS libgcrypt11 1.5.3-2ubuntu4.6 USN-3689-1
Ubuntu 14.04 LTS nss 2:3.28.4-0ubuntu0.14.04.4 USN-3850-1
Ubuntu 14.04 LTS openssl 1.0.1f-1ubuntu2.26 USN-3692-1
ReleasePackageFixed inAdvisory
RHEL 7 nspr +1 4.21.0-1.el7 RHSA-2019:2237
RHEL 7 nss +4 3.44.0-4.el7 RHSA-2019:2237
RHEL 7 nss-softokn +3 3.44.0-5.el7 RHSA-2019:2237
RHEL 7 nss-util +1 3.44.0-3.el7 RHSA-2019:2237
RHEL 7 openssl +4 1:1.0.2k-16.el7 RHSA-2018:3221
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 7.6 EUS nss-softokn +3 3.36.0-6.el7_6 RHSA-2020:1461
RHEL 7.5 EUS nss-softokn +3 3.36.0-6.el7_5 RHSA-2020:1267
RHEL 7.4 TUS nss-softokn +3 3.28.3-9.el7_4 RHSA-2020:1345
RHEL 7.4 E4S nss-softokn +3 3.28.3-9.el7_4 RHSA-2020:1345
RHEL 7.4 AUS nss-softokn +3 3.28.3-9.el7_4 RHSA-2020:1345
Red Hat JBoss Core Services 1 jbcs-httpd24-httpd +6 2.4.29-40.jbcs.el6 RHSA-2019:1297
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_ssl +1 1:2.4.29-40.jbcs.el6 RHSA-2019:1297
Red Hat JBoss Core Services 1 jbcs-httpd24-openssl +4 1:1.0.2n-15.jbcs.el6 RHSA-2019:1297
ReleasePackageFixed inAdvisory
SLES 15 MozillaFirefox 60.4.0-3.21.1 SUSE-SU-2018:4235-1
SLES 15 libgcrypt 1.8.2-6.3.1 SUSE-SU-2018:1993-1
SLES 15 mozilla-nspr 4.20-3.3.2 SUSE-SU-2018:4235-1
SLES 15 mozilla-nss 3.40.1-3.7.2 SUSE-SU-2018:4235-1
SLES 12 SP4 MozillaFirefox 60.4.0esr-109.55.1 SUSE-SU-2018:4236-1
SLES 12 SP4 libgcrypt 1.6.1-16.62.1 SUSE-SU-2018:2452-2
SLES 12 SP4 mozilla-nspr 4.20-19.6.1 SUSE-SU-2018:4236-1
SLES 12 SP4 mozilla-nss 3.40.1-58.18.1 SUSE-SU-2018:4236-1
SLES 12 SP3 MozillaFirefox 60.4.0esr-109.55.1 SUSE-SU-2018:4236-1
SLES 12 SP3 libgcrypt 1.6.1-16.55.1 SUSE-SU-2018:2452-2, SUSE-SU-2018:2089-1
SLES 12 SP3 mozilla-nspr 4.20-19.6.1 SUSE-SU-2018:4236-1
SLES 12 SP3 mozilla-nss 3.40.1-58.18.1 SUSE-SU-2018:4236-1
SLES 12 SP2 MozillaFirefox 60.4.0esr-109.55.1 SUSE-SU-2018:4236-1
SLES 12 SP2 mozilla-nspr 4.20-19.6.1 SUSE-SU-2018:4236-1
SLES 12 SP2 mozilla-nss 3.40.1-58.18.1 SUSE-SU-2018:4236-1
SLES 12 SP1 MozillaFirefox 60.4.0esr-109.55.1 SUSE-SU-2018:4236-1
SLES 12 SP1 mozilla-nspr 4.20-19.6.1 SUSE-SU-2018:4236-1
SLES 12 SP1 mozilla-nss 3.40.1-58.18.1 SUSE-SU-2018:4236-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 MozillaFirefox 60.4.0esr-109.55.1 SUSE-SU-2018:4236-1
SLES 12 mozilla-nspr 4.20-19.6.1 SUSE-SU-2018:4236-1
SLES 12 mozilla-nss 3.40.1-58.18.1 SUSE-SU-2018:4236-1
SLES for SAP 12 SP4 MozillaFirefox 60.4.0esr-109.55.1 SUSE-SU-2018:4236-1
SLES for SAP 12 SP4 libgcrypt 1.6.1-16.62.1 SUSE-SU-2018:2452-2
SLES for SAP 12 SP4 mozilla-nspr 4.20-19.6.1 SUSE-SU-2018:4236-1
SLES for SAP 12 SP4 mozilla-nss 3.40.1-58.18.1 SUSE-SU-2018:4236-1
SLES for SAP 12 SP3 MozillaFirefox 60.4.0esr-109.55.1 SUSE-SU-2018:4236-1
SLES for SAP 12 SP3 libgcrypt 1.6.1-16.55.1 SUSE-SU-2018:2452-2, SUSE-SU-2018:2089-1
SLES for SAP 12 SP3 mozilla-nspr 4.20-19.6.1 SUSE-SU-2018:4236-1
SLES for SAP 12 SP3 mozilla-nss 3.40.1-58.18.1 SUSE-SU-2018:4236-1
SLES for SAP 12 SP2 MozillaFirefox 60.4.0esr-109.55.1 SUSE-SU-2018:4236-1
SLES for SAP 12 SP2 mozilla-nspr 4.20-19.6.1 SUSE-SU-2018:4236-1
SLES for SAP 12 SP2 mozilla-nss 3.40.1-58.18.1 SUSE-SU-2018:4236-1
SLES for SAP 12 SP1 MozillaFirefox 60.4.0esr-109.55.1 SUSE-SU-2018:4236-2
SLES for SAP 12 SP1 mozilla-nspr 4.20-19.6.1 SUSE-SU-2018:4236-2
SLES for SAP 12 SP1 mozilla-nss 3.40.1-58.18.1 SUSE-SU-2018:4236-2
SUSE OpenStack Cloud 7 MozillaFirefox 60.4.0esr-109.55.1 SUSE-SU-2018:4236-1
SUSE OpenStack Cloud 7 mozilla-nspr 4.20-19.6.1 SUSE-SU-2018:4236-1
SUSE OpenStack Cloud 7 mozilla-nss 3.40.1-58.18.1 SUSE-SU-2018:4236-1
SUSE Enterprise Storage 4 MozillaFirefox 60.4.0esr-109.55.1 SUSE-SU-2018:4236-1
SUSE Enterprise Storage 4 mozilla-nspr 4.20-19.6.1 SUSE-SU-2018:4236-1
SUSE Enterprise Storage 4 mozilla-nss 3.40.1-58.18.1 SUSE-SU-2018:4236-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libgcrypt 1.9.4-1.2 openSUSE-SU-2024:10941-1
openSUSE Tumbleweed mozilla-nss 3.69.1-1.2 openSUSE-SU-2024:11058-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libgcrypt 1.8.3-r0 —
Alpine v3.24 libressl 2.7.4-r0 —
Alpine v3.23 libgcrypt 1.8.3-r0 —
Alpine v3.23 libressl 2.7.4-r0 —
Alpine v3.22 libgcrypt 1.8.3-r0 —
Alpine v3.22 libressl 2.7.4-r0 —
Alpine v3.21 libgcrypt 1.8.3-r0 —
Alpine v3.21 libressl 2.7.4-r0 —
Alpine v3.20 libgcrypt 1.8.3-r0 —
Alpine v3.20 libressl 2.7.4-r0 —
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 libgcrypt 1.8.3-r0 —
Alpine v3.19 libressl 2.7.4-r0 —
Alpine v3.18 libgcrypt 1.8.3-r0 —
Alpine v3.18 libressl 2.7.4-r0 —
Alpine v3.17 libgcrypt 1.8.3-r0 —
Alpine v3.17 libressl 2.7.4-r0 —
Alpine v3.16 libgcrypt 1.8.3-r0 —
Alpine v3.16 libressl 2.7.4-r0 —
Alpine v3.15 libgcrypt 1.8.3-r0 —
Alpine v3.15 libressl 2.7.4-r0 —
Alpine v3.14 libgcrypt 1.8.3-r0 —
Alpine v3.14 libressl 2.7.4-r0 —
Alpine v3.13 libgcrypt 1.8.3-r0 —
Alpine v3.13 libressl 2.7.4-r0 —
Alpine v3.12 libgcrypt 1.8.3-r0 —
Alpine v3.12 libressl 2.7.4-r0 —
Alpine v3.11 libgcrypt 1.8.3-r0 —
Alpine v3.11 libressl 2.7.4-r0 —
Alpine v3.10 libgcrypt 1.8.3-r0 —
Alpine v3.10 libressl 2.7.4-r0 —
Alpine v3.9 libgcrypt 1.8.3-r0 —
Alpine v3.9 libressl 2.7.4-r0 —
Alpine v3.8 libgcrypt 1.8.3-r0 —
Alpine v3.8 libressl 2.7.4-r0 —
Alpine v3.7 libgcrypt 1.8.3-r0 —
Alpine v3.7 libressl 2.6.5-r0 —
Alpine v3.6 libgcrypt 1.7.10-r0 —
Alpine v3.5 libgcrypt 1.7.10-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 nss +4 3.44.0-4.amzn2.0.2 ALAS2-2019-1305
Amazon Linux 2 openssl +4 1:1.0.2k-16.amzn2.0.1 ALAS2-2018-1102

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 nspr +1 4.21.0-1.el7 ELSA-2019-2237
Oracle Linux 7 nss +4 3.44.0-4.el7 ELSA-2019-2237
Oracle Linux 7 nss-softokn +3 3.44.0-5.0.1.el7 ELSA-2019-2237
Oracle Linux 7 nss-util +1 3.44.0-3.el7 ELSA-2019-2237
Oracle Linux 7 openssl +4 1:1.0.2k-16.0.1.el7 ELSA-2018-3221

Advisories 27

References