CVEfocus › CVE database › CVE-2018-0495

CVE-2018-0495

CVSS 4.7 MediumEPSS 0.9% (higher than 59% of CVEs)Published 2018-06-13Updated 2026-10-14Assigner: debian

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.

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

69Fixed
2Fix pending
15Will not fix
22Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04libgcrypt20Fixed1.8.1-4ubuntu1.1UBUNTU-CVE-2018-0495
Ubuntu 18.04nssFixed2:3.35-2ubuntu2.1UBUNTU-CVE-2018-0495
Ubuntu 18.04opensslFixed1.1.0g-2ubuntu4.1UBUNTU-CVE-2018-0495
Ubuntu 18.04openssl1.0Fixed1.0.2n-1ubuntu5.1UBUNTU-CVE-2018-0495
Ubuntu 16.04libgcrypt20Fixed1.6.5-2ubuntu0.5UBUNTU-CVE-2018-0495
Ubuntu 16.04nssFixed2:3.28.4-0ubuntu0.16.04.4UBUNTU-CVE-2018-0495
Ubuntu 16.04opensslFixed1.0.2g-1ubuntu4.13UBUNTU-CVE-2018-0495
Ubuntu 14.04libgcrypt11Fixed1.5.3-2ubuntu4.6UBUNTU-CVE-2018-0495
Ubuntu 14.04libgcrypt20Fix pending
Ubuntu 14.04nssFixed2:3.28.4-0ubuntu0.14.04.4UBUNTU-CVE-2018-0495
Ubuntu 14.04opensslFixed1.0.1f-1ubuntu2.26UBUNTU-CVE-2018-0495
Ubuntu 14.04openssl098Fix pending
Debian 14libgcrypt20Fixed1.8.3-1DEBIAN-CVE-2018-0495
Debian 13libgcrypt20Fixed1.8.3-1DEBIAN-CVE-2018-0495
Debian 12libgcrypt20Fixed1.8.3-1DEBIAN-CVE-2018-0495
Red Hat Enterprise Linux 8libgcryptNot affected
Red Hat Enterprise Linux 8libgcrypt-develNot affected
Red Hat Enterprise Linux 8nssNot affected
Red Hat Enterprise Linux 8nss-develNot affected
Red Hat Enterprise Linux 8nss-softoknNot affected
Red Hat Enterprise Linux 8nss-softokn-develNot affected
Red Hat Enterprise Linux 8nss-softokn-freeblNot affected
Red Hat Enterprise Linux 8nss-softokn-freebl-develNot affected
Red Hat Enterprise Linux 8nss-sysinitNot affected
Red Hat Enterprise Linux 8nss-toolsNot affected
Red Hat Enterprise Linux 8nss-utilNot affected
Red Hat Enterprise Linux 8nss-util-develNot affected
Red Hat Enterprise Linux 8opensslNot affected
Red Hat Enterprise Linux 8openssl-develNot affected
Red Hat Enterprise Linux 8openssl-libsNot affected
Red Hat Enterprise Linux 8openssl-perlNot affected
Red Hat Enterprise Linux 8openssl-staticNot affected
Red Hat Enterprise Linux 7OVMFWill not fix
Will not fix
Red Hat Enterprise Linux 7libgcryptNot affected
Red Hat Enterprise Linux 7libgcrypt-develNot affected
Red Hat Enterprise Linux 7nsprFixed0:4.21.0-1.el7RHSA-2019:2237
Red Hat Enterprise Linux 7nspr-develFixed0:4.21.0-1.el7RHSA-2019:2237
Red Hat Enterprise Linux 7nssFixed0:3.44.0-4.el7RHSA-2019:2237
Red Hat Enterprise Linux 7nss-develFixed0:3.44.0-4.el7RHSA-2019:2237
Red Hat Enterprise Linux 7nss-pkcs11-develFixed0:3.44.0-4.el7RHSA-2019:2237
Red Hat Enterprise Linux 7nss-softoknFixed0:3.44.0-5.el7RHSA-2019:2237
Red Hat Enterprise Linux 7nss-softokn-develFixed0:3.44.0-5.el7RHSA-2019:2237
Red Hat Enterprise Linux 7nss-softokn-freeblFixed0:3.44.0-5.el7RHSA-2019:2237
Red Hat Enterprise Linux 7nss-softokn-freebl-develFixed0:3.44.0-5.el7RHSA-2019:2237
Red Hat Enterprise Linux 7nss-sysinitFixed0:3.44.0-4.el7RHSA-2019:2237
Red Hat Enterprise Linux 7nss-toolsFixed0:3.44.0-4.el7RHSA-2019:2237
Red Hat Enterprise Linux 7nss-utilFixed0:3.44.0-3.el7RHSA-2019:2237
Red Hat Enterprise Linux 7nss-util-develFixed0:3.44.0-3.el7RHSA-2019:2237
Red Hat Enterprise Linux 7opensslFixed1:1.0.2k-16.el7RHSA-2018:3221
Red Hat Enterprise Linux 7openssl-develFixed1:1.0.2k-16.el7RHSA-2018:3221
Red Hat Enterprise Linux 7openssl-libsFixed1:1.0.2k-16.el7RHSA-2018:3221
Red Hat Enterprise Linux 7openssl-perlFixed1:1.0.2k-16.el7RHSA-2018:3221
Red Hat Enterprise Linux 7openssl-staticFixed1:1.0.2k-16.el7RHSA-2018:3221
Red Hat Enterprise Linux 7openssl098eWill not fix
Will not fix
Red Hat Enterprise Linux 6libgcryptNot affected
Red Hat Enterprise Linux 6libgcrypt-develNot affected
Red Hat Enterprise Linux 6nssWill not fix
Will not fix
Red Hat Enterprise Linux 6nss-develWill not fix
Will not fix
Red Hat Enterprise Linux 6nss-pkcs11-develWill not fix
Will not fix
Red Hat Enterprise Linux 6nss-sysinitWill not fix
Will not fix
Red Hat Enterprise Linux 6nss-toolsWill not fix
Will not fix
Red Hat Enterprise Linux 6opensslWill not fix
Will not fix
Red Hat Enterprise Linux 6openssl-develWill not fix
Will not fix
Red Hat Enterprise Linux 6openssl-perlWill not fix
Will not fix
Red Hat Enterprise Linux 6openssl-staticWill not fix
Will not fix
Red Hat Enterprise Linux 6openssl098eWill not fix
Will not fix
Red Hat Enterprise Linux 5libgcryptNot affected
Red Hat Enterprise Linux 5nssWill not fix
Will not fix
Red Hat Enterprise Linux 5opensslWill not fix
Will not fix
Red Hat Enterprise Linux 5openssl097aWill not fix
Will not fix
Alpine Linux 3.24libgcryptFixed1.8.3-r0ALPINE-CVE-2018-0495
Alpine Linux 3.24libresslFixed2.7.4-r0ALPINE-CVE-2018-0495
Alpine Linux 3.23libgcryptFixed1.8.3-r0ALPINE-CVE-2018-0495
Alpine Linux 3.23libresslFixed2.7.4-r0ALPINE-CVE-2018-0495
Alpine Linux 3.22libgcryptFixed1.8.3-r0ALPINE-CVE-2018-0495
Alpine Linux 3.22libresslFixed2.7.4-r0ALPINE-CVE-2018-0495
Alpine Linux 3.21libgcryptFixed1.8.3-r0ALPINE-CVE-2018-0495
Alpine Linux 3.21libresslFixed2.7.4-r0ALPINE-CVE-2018-0495
Alpine Linux 3.20libgcryptFixed1.8.3-r0ALPINE-CVE-2018-0495
Alpine Linux 3.20libresslFixed2.7.4-r0ALPINE-CVE-2018-0495
Alpine Linux 3.19libgcryptFixed1.8.3-r0ALPINE-CVE-2018-0495
Alpine Linux 3.19libresslFixed2.7.4-r0ALPINE-CVE-2018-0495
Alpine Linux 3.18libgcryptFixed1.8.3-r0ALPINE-CVE-2018-0495
Alpine Linux 3.18libresslFixed2.7.4-r0ALPINE-CVE-2018-0495
Alpine Linux 3.17libgcryptFixed1.8.3-r0ALPINE-CVE-2018-0495
Alpine Linux 3.17libresslFixed2.7.4-r0ALPINE-CVE-2018-0495
Alpine Linux 3.16libgcryptFixed1.8.3-r0ALPINE-CVE-2018-0495
Alpine Linux 3.16libresslFixed2.7.4-r0ALPINE-CVE-2018-0495
Alpine Linux 3.15libgcryptFixed1.8.3-r0ALPINE-CVE-2018-0495
Alpine Linux 3.15libresslFixed2.7.4-r0ALPINE-CVE-2018-0495
Alpine Linux 3.14libgcryptFixed1.8.3-r0ALPINE-CVE-2018-0495
Alpine Linux 3.14libresslFixed2.7.4-r0ALPINE-CVE-2018-0495
Alpine Linux 3.13libgcryptFixed1.8.3-r0ALPINE-CVE-2018-0495
Alpine Linux 3.13libresslFixed2.7.4-r0ALPINE-CVE-2018-0495
Alpine Linux 3.12libgcryptFixed1.8.3-r0ALPINE-CVE-2018-0495
Alpine Linux 3.12libresslFixed2.7.4-r0ALPINE-CVE-2018-0495
Alpine Linux 3.11libgcryptFixed1.8.3-r0ALPINE-CVE-2018-0495
Alpine Linux 3.11libresslFixed2.7.4-r0ALPINE-CVE-2018-0495
Alpine Linux 3.10libgcryptFixed1.8.3-r0ALPINE-CVE-2018-0495
Alpine Linux 3.10libresslFixed2.7.4-r0ALPINE-CVE-2018-0495
Alpine Linux 3.9libgcryptFixed1.8.3-r0ALPINE-CVE-2018-0495
Alpine Linux 3.9libresslFixed2.7.4-r0ALPINE-CVE-2018-0495
Alpine Linux 3.8libgcryptFixed1.8.3-r0ALPINE-CVE-2018-0495
Alpine Linux 3.8libresslFixed2.7.4-r0ALPINE-CVE-2018-0495
Alpine Linux 3.7libgcryptFixed1.8.3-r0ALPINE-CVE-2018-0495
Alpine Linux 3.7libresslFixed2.6.5-r0ALPINE-CVE-2018-0495
Alpine Linux 3.6libgcryptFixed1.7.10-r0ALPINE-CVE-2018-0495
Alpine Linux 3.5libgcryptFixed1.7.10-r0ALPINE-CVE-2018-0495

What the vendor says

As published in the CVE record by debian, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.