{"id":"CVE-2018-0495","title":"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-…","summary":"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-…","severity":"medium","cvss":4.7,"cvssVector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","cwe":["CWE-203","CWE-200"],"vendor":"gnupg","product":"libgcrypt","affected":["libgcrypt < 1.7.10","libgcrypt >= 1.8.0, < 1.8.3","ubuntu_linux = 12.04","ubuntu_linux = 14.04","ubuntu_linux = 16.04","ubuntu_linux = 17.10","ubuntu_linux = 18.04","ubuntu_linux = 18.10","debian_linux = 8.0","debian_linux = 9.0","ansible_tower = 3.3","enterprise_linux_desktop = 7.0","enterprise_linux_server = 7.0","enterprise_linux_workstation = 7.0","traffic_director = 11.1.1.9.0"],"patched":["libgcrypt 1.8.3"],"published":"2018-06-13","updated":"2026-10-14","sourceUpdated":"2026-10-14T07:16:41.650","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2018-0495","references":[{"url":"http://www.securitytracker.com/id/1041144","label":"security@debian.org"},{"url":"http://www.securitytracker.com/id/1041147","label":"security@debian.org"},{"url":"https://access.redhat.com/errata/RHSA-2018:3221","label":"security@debian.org"},{"url":"https://access.redhat.com/errata/RHSA-2018:3505","label":"security@debian.org"},{"url":"https://access.redhat.com/errata/RHSA-2019:1296","label":"security@debian.org"},{"url":"https://access.redhat.com/errata/RHSA-2019:1297","label":"security@debian.org"},{"url":"https://access.redhat.com/errata/RHSA-2019:1543","label":"security@debian.org"},{"url":"https://access.redhat.com/errata/RHSA-2019:2237","label":"security@debian.org"},{"url":"https://dev.gnupg.org/T4011","label":"security@debian.org"},{"url":"https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=9010d1576e278a4274ad3f4aa15776c28f6ba965","label":"security@debian.org"},{"url":"https://lists.debian.org/debian-lts-announce/2018/06/msg00013.html","label":"security@debian.org"},{"url":"https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000426.html","label":"security@debian.org"},{"url":"https://usn.ubuntu.com/3689-1/","label":"security@debian.org"},{"url":"https://usn.ubuntu.com/3689-2/","label":"security@debian.org"},{"url":"https://usn.ubuntu.com/3692-1/","label":"security@debian.org"},{"url":"https://usn.ubuntu.com/3692-2/","label":"security@debian.org"},{"url":"https://usn.ubuntu.com/3850-1/","label":"security@debian.org"},{"url":"https://usn.ubuntu.com/3850-2/","label":"security@debian.org"},{"url":"https://www.debian.org/security/2018/dsa-4231","label":"security@debian.org"},{"url":"https://www.nccgroup.trust/us/our-research/technical-advisory-return-of-the-hidden-number-problem/","label":"security@debian.org"},{"url":"https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html","label":"security@debian.org"},{"url":"http://www.securitytracker.com/id/1041144","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id/1041147","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2018:3221","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2018:3505","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2019:1296","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2019:1297","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2019:1543","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2019:2237","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://dev.gnupg.org/T4011","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=9010d1576e278a4274ad3f4aa15776c28f6ba965","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2018/06/msg00013.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000426.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/3689-1/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/3689-2/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/3692-1/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/3692-2/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/3850-1/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/3850-2/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.debian.org/security/2018/dsa-4231","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.nccgroup.trust/us/our-research/technical-advisory-return-of-the-hidden-number-problem/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-0495.json"},{"url":"https://access.redhat.com/security/cve/CVE-2018-0495"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1591163"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-0495"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-0495"},{"url":"https://access.redhat.com/errata/RHSA-2020:1267"},{"url":"https://access.redhat.com/errata/RHSA-2020:1461"},{"url":"https://access.redhat.com/errata/RHSA-2020:1345"},{"url":"https://access.redhat.com/errata/RHBA-2020:0547"}],"tags":["nvd","csaf","vex","red-hat","cve.org"],"epss":0.00887,"epssPercentile":0.58236,"ingestedAt":"2026-10-14T07:21:04.801Z","scores":{"nvd":4.7,"vendor":5.1},"slug":"CVE-2018-0495","body":"## Overview\n\nLibgcrypt 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.\n\n## Affected\n\n- `libgcrypt < 1.7.10`\n- `libgcrypt >= 1.8.0, < 1.8.3`\n- `ubuntu_linux = 12.04`\n- `ubuntu_linux = 14.04`\n- `ubuntu_linux = 16.04`\n- `ubuntu_linux = 17.10`\n- `ubuntu_linux = 18.04`\n- `ubuntu_linux = 18.10`\n- `debian_linux = 8.0`\n- `debian_linux = 9.0`\n- `ansible_tower = 3.3`\n- `enterprise_linux_desktop = 7.0`\n- `enterprise_linux_server = 7.0`\n- `enterprise_linux_workstation = 7.0`\n- `traffic_director = 11.1.1.9.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `libgcrypt 1.8.3`\n\n## Vendor advisories\n\n- **RHSA-2019:1297** · Red Hat · fixed in: Red Hat JBoss Core Services on RHEL 6 Server, Red Hat JBoss Core Services on RHEL 7 Server · released 2019-05-30 · [advisory](https://access.redhat.com/errata/RHSA-2019:1297)\n- **RHSA-2018:3221** · Red Hat · fixed in: Red Hat Enterprise Linux Client (v. 7), Red Hat Enterprise Linux Client Optional (v. 7), Red Hat Enterprise Linux ComputeNode (v. 7), Red Hat Enterprise Linux ComputeNode Optional (v. 7), Red Hat Enterprise Linux Server (v. 7), Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7), … · released 2018-10-30 · [advisory](https://access.redhat.com/errata/RHSA-2018:3221)\n- **RHSA-2019:2237** · Red Hat · fixed in: Red Hat Enterprise Linux Client (v. 7), Red Hat Enterprise Linux Client Optional (v. 7), Red Hat Enterprise Linux ComputeNode (v. 7), Red Hat Enterprise Linux ComputeNode Optional (v. 7), Red Hat Enterprise Linux Server (v. 7), Red Hat Enterprise Linux Server Optional (v. 7), … · released 2019-08-06 · [advisory](https://access.redhat.com/errata/RHSA-2019:2237)\n- **RHSA-2020:1267** · Red Hat · fixed in: Red Hat Enterprise Linux ComputeNode EUS (v. 7.5), Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5), Red Hat Enterprise Linux Server EUS (v. 7.5) · released 2020-04-01 · [advisory](https://access.redhat.com/errata/RHSA-2020:1267)\n- **RHSA-2020:1461** · Red Hat · fixed in: Red Hat Enterprise Linux ComputeNode EUS (v. 7.6), Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.6), Red Hat Enterprise Linux Server EUS (v. 7.6), Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) · released 2020-04-14 · [advisory](https://access.redhat.com/errata/RHSA-2020:1461)\n- **RHSA-2020:1345** · Red Hat · fixed in: Red Hat Enterprise Linux Server AUS (v. 7.4), Red Hat Enterprise Linux Server E4S (v. 7.4), Red Hat Enterprise Linux Server TUS (v. 7.4) · released 2020-04-07 · [advisory](https://access.redhat.com/errata/RHSA-2020:1345)\n- **RHBA-2020:0547** · Red Hat · fixed in: Red Hat Ansible Tower 3.4 for RHEL 7 Server · released 2020-02-18 · [advisory](https://access.redhat.com/errata/RHBA-2020:0547)\n- **RHSA-2019:1543** · Red Hat · fixed in: JBoss Core Services Apache HTTP Server 2.4.29 SP2 · released 2019-06-18 · [advisory](https://access.redhat.com/errata/RHSA-2019:1543)\n- **Red Hat VEX** · Moderate · affected: CloudForms Management Engine 5, Red Hat Enterprise Linux 5, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat JBoss Enterprise Application Platform 5, Red Hat JBoss Enterprise Application Platform 6, … · no fix planned: Red Hat JBoss Enterprise Application Platform 5, CloudForms Management Engine 5, Red Hat Enterprise Linux 5, Red Hat Enterprise Linux 6, … · updated 2026-10-14 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-0495.json)","depth":"sunlit","depthScore":26,"depthScoreParts":{"impact":25.9,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}