Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-0495

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-0495
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:16 UTC · Revision 1

Source evidence

CVE-2018-0495

core-osv · Original source

Published 13 Jun 2018, 23:29 UTC

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.

osv:CVE-2018-0495
Complete source record
{
  "id": "3e25351234a2270ba25d7457fb6848bd4f50a4d56ca5eefc9aa8ffc737fac60e",
  "url": "https://osv.dev/vulnerability/CVE-2018-0495",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-0495",
    "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-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.",
    "evidence": "osv:CVE-2018-0495",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-0495",
      "aliases": [
        "CVE-2018-0495"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "git://git.gnupg.org/libgcrypt.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "ff8f7e53ce6b8a5681667595c6287323652ae157"
                },
                {
                  "introduced": "850aca744eeda5fd410f478a0778e353045ac962"
                },
                {
                  "fixed": "5600d2d6b23640b0114655214f18959ee81fe58e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gnupg:libgcrypt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.7.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gnupg:libgcrypt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.8.0"
                      },
                      {
                        "fixed": "1.8.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "libgcrypt-1.8.2",
            "libgcrypt-1.7.9",
            "libgcrypt-1.8.1",
            "libgcrypt-1.8.0",
            "libgcrypt-1.7.8",
            "libgcrypt-1.7.7",
            "libgcrypt-1.7.6",
            "libgcrypt-1.7.5",
            "libgcrypt-1.7.4",
            "libgcrypt-1.7.3",
            "libgcrypt-1.7.2",
            "libgcrypt-1.7.1",
            "libgcrypt-1.7.0",
            "libgcrypt-1.6.0",
            "libgcrypt-1.5.0",
            "libgcrypt-1.5.0-beta1",
            "post-nuke-of-trailing-ws",
            "ecc-integration-done",
            "libgcrypt-1.4.4",
            "libgcrypt-1.4.3",
            "libgcrypt-1.4.2",
            "libgcrypt-1.4.2rc2",
            "libgcrypt-1.4.2rc1",
            "libgcrypt-1.4.1",
            "libgcrypt-1.4.1rc1",
            "libgcrypt-1.4.0",
            "libgcrypt-1.3.2",
            "libgcrypt-1.3.1",
            "libgcrypt-1.3.0",
            "V1-2-1",
            "V1-2-0",
            "V1-1-94",
            "marcus-after-thread-cbs",
            "marcus-before-thread-cbs",
            "V1-1-93",
            "V1-1-92",
            "V1-1-91",
            "V1-1-90",
            "V1-1-44",
            "V1-1-43",
            "V1-1-42",
            "V1-1-12",
            "V1-1-11",
            "V1-1-10",
            "V1-1-9",
            "V1-1-8",
            "V1-1-7",
            "now-less-freedom-protected",
            "last-gpl-version",
            "V1-1-6",
            "V1-1-5",
            "V1-1-4",
            "V1-1-3",
            "V1-1-2",
            "V1-1-0",
            "DEVEL-BRANCH-1-1",
            "V1-0-0",
            "V0-9-11",
            "V0-9-10",
            "V0-9-9",
            "V0-9-8",
            "V0-9-7",
            "V0-9-6",
            "V0-9-5",
            "V0-9-4",
            "V1-0-4",
            "V1-0-3",
            "V1-0-2",
            "V1-0-1-ePit-1",
            "V1-0-1",
            "V0-9-3",
            "V0-9-2",
            "V0-9-1",
            "V0-9-0",
            "V0-4-5",
            "V0-4-4",
            "V0-4-3",
            "V0-4-2",
            "V0-4-1",
            "V0-4-0",
            "V0-3-5",
            "V0-3-4",
            "V0-3-3",
            "V0-3-2",
            "V0-3-1",
            "V0-3-0",
            "V0-2-19",
            "V0-2-18",
            "V0-2-17",
            "V0-2-15",
            "V0-2-10",
            "V-0-2-8",
            "V0-2-6",
            "V0-2-0",
            "V0-1-0",
            "V0-0-0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-0495.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/gpg/libgcrypt",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "ff8f7e53ce6b8a5681667595c6287323652ae157"
                },
                {
                  "introduced": "850aca744eeda5fd410f478a0778e353045ac962"
                },
                {
                  "fixed": "5600d2d6b23640b0114655214f18959ee81fe58e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gnupg:libgcrypt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.7.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gnupg:libgcrypt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.8.0"
                      },
                      {
                        "fixed": "1.8.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "libgcrypt-1.8.2",
            "libgcrypt-1.7.9",
            "libgcrypt-1.8.1",
            "libgcrypt-1.8.0",
            "libgcrypt-1.7.8",
            "libgcrypt-1.7.7",
            "libgcrypt-1.7.6",
            "libgcrypt-1.7.5",
            "libgcrypt-1.7.4",
            "libgcrypt-1.7.3",
            "libgcrypt-1.7.2",
            "libgcrypt-1.7.1",
            "libgcrypt-1.7.0",
            "libgcrypt-1.6.0",
            "libgcrypt-1.5.0",
            "libgcrypt-1.5.0-beta1",
            "post-nuke-of-trailing-ws",
            "ecc-integration-done",
            "libgcrypt-1.4.4",
            "libgcrypt-1.4.3",
            "libgcrypt-1.4.2",
            "libgcrypt-1.4.2rc2",
            "libgcrypt-1.4.2rc1",
            "libgcrypt-1.4.1",
            "libgcrypt-1.4.1rc1",
            "libgcrypt-1.4.0",
            "libgcrypt-1.3.2",
            "libgcrypt-1.3.1",
            "libgcrypt-1.3.0",
            "V1-2-1",
            "V1-2-0",
            "V1-1-94",
            "marcus-after-thread-cbs",
            "marcus-before-thread-cbs",
            "V1-1-93",
            "V1-1-92",
            "V1-1-91",
            "V1-1-90",
            "V1-1-44",
            "V1-1-43",
            "V1-1-42",
            "V1-1-12",
            "V1-1-11",
            "V1-1-10",
            "V1-1-9",
            "V1-1-8",
            "V1-1-7",
            "now-less-freedom-protected",
            "last-gpl-version",
            "V1-1-6",
            "V1-1-5",
            "V1-1-4",
            "V1-1-3",
            "V1-1-2",
            "V1-1-0",
            "DEVEL-BRANCH-1-1",
            "V1-0-0",
            "V0-9-11",
            "V0-9-10",
            "V0-9-9",
            "V0-9-8",
            "V0-9-7",
            "V0-9-6",
            "V0-9-5",
            "V0-9-4",
            "V1-0-4",
            "V1-0-3",
            "V1-0-2",
            "V1-0-1-ePit-1",
            "V1-0-1",
            "V0-9-3",
            "V0-9-2",
            "V0-9-1",
            "V0-9-0",
            "V0-4-5",
            "V0-4-4",
            "V0-4-3",
            "V0-4-2",
            "V0-4-1",
            "V0-4-0",
            "V0-3-5",
            "V0-3-4",
            "V0-3-3",
            "V0-3-2",
            "V0-3-1",
            "V0-3-0",
            "V0-2-19",
            "V0-2-18",
            "V0-2-17",
            "V0-2-15",
            "V0-2-10",
            "V-0-2-8",
            "V0-2-6",
            "V0-2-0",
            "V0-1-0",
            "V0-0-0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-0495.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:26.367982030Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
        "https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=9010d1576e278a4274ad3f4aa15776c28f6ba965",
        "https://access.redhat.com/errata/RHSA-2018:3221",
        "https://access.redhat.com/errata/RHSA-2018:3505",
        "https://access.redhat.com/errata/RHSA-2019:1296",
        "https://access.redhat.com/errata/RHSA-2019:1297",
        "https://access.redhat.com/errata/RHSA-2019:1543",
        "https://access.redhat.com/errata/RHSA-2019:2237",
        "https://lists.debian.org/debian-lts-announce/2018/06/msg00013.html",
        "https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000426.html",
        "https://usn.ubuntu.com/3689-1/",
        "https://usn.ubuntu.com/3689-2/",
        "https://usn.ubuntu.com/3692-1/",
        "https://usn.ubuntu.com/3692-2/",
        "https://usn.ubuntu.com/3850-1/",
        "https://usn.ubuntu.com/3850-2/",
        "https://www.debian.org/security/2018/dsa-4231",
        "https://dev.gnupg.org/T4011",
        "https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html",
        "https://www.nccgroup.trust/us/our-research/technical-advisory-return-of-the-hidden-number-problem/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "12.04"
                  },
                  {
                    "last_affected": "12.04"
                  },
                  {
                    "introduced": "14.04"
                  },
                  {
                    "last_affected": "14.04"
                  },
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "17.10"
                  },
                  {
                    "last_affected": "17.10"
                  },
                  {
                    "introduced": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  },
                  {
                    "introduced": "18.10"
                  },
                  {
                    "last_affected": "18.10"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:traffic_director:11.1.1.9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:traffic_director",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "11.1.1.9.0"
                  },
                  {
                    "last_affected": "11.1.1.9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:ansible_tower:3.3:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:ansible_tower",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.3"
                  },
                  {
                    "last_affected": "3.3"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_desktop",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_server",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_workstation",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-0495",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 431601,
  "published_at": "2018-06-13T23:29:00.333+00:00"
}