CVE-2018-0495

Exp

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.

Published: 2018-06-13 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-0495 is rated Exploit Available (53.5/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.89%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2018-0495

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2018-0495

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.25% 0.89% +0.64%
2 2026-02-18 0.24% 0.25% +0.01%
3 2025-12-28 0.24%

Full EPSS history (18 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2018-0495

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.7 3.0 MEDIUM
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
1.0 3.6 [email protected]
1.9 2.0 LOW
AV:L/AC:M/Au:N/C:P/I:N/A:N Click to expand
Access vector (AV:L)
Requires local access to the target system.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:N)
No availability impact.
3.4 2.9 [email protected]

Weakness enumeration for CVE-2018-0495

OS Trackers for CVE-2018-0495

vendor priority summary link
alpine medium CVE-2018-0495: 2 source package rows (libgcrypt, libressl); 20 state rows across 17 repos (3.10-main, 3.11-main, 3.12-main, 3.17-community, 3.17-main, 3.18-community, 3.18-main, 3.19-community, 3.19-main, 3.20-community, 3.20-main, 3.21-community, 3.21-main, 3.22-community, 3.22-main, edge-community, edge-main); fixed 20, open 0. https://security.alpinelinux.org/vuln/CVE-2018-0495
debian not yet assigned CVE-2018-0495 not yet assigned priority: Debian including 1 source packages (libgcrypt20), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2018-0495
redhat medium https://access.redhat.com/security/cve/CVE-2018-0495
suse medium CVE-2018-0495 severity moderate: SUSE including 599 source package names (0.9.1:libgcrypt20-1.6.1-16.62.1, 1.0.0.1862.1.5.2:libfreebl3-3.40.1-3.7.2, …), 1484 product×package rows across 360 product lines (Container bci/bci-sle15-kernel-module-devel, Container bci/kiwi, … (360 product lines)): Fixed 1282, Known Affected 157, Known Not Affected 43, Will Not Fix 2. https://www.suse.com/security/cve/CVE-2018-0495/
ubuntu low CVE-2018-0495 low priority: Ubuntu including 6 source packages (libgcrypt11, libgcrypt20, nss, openssl, openssl098, openssl1.0), 44 status rows across 9 suites (artful, bionic, cosmic, disco, trusty, upstream, xenial, yakkety, zesty): released 20, DNE 18, needs-triage 4, ignored 1, not-affected 1. https://ubuntu.com/security/CVE-2018-0495

Affected software / configurations for CVE-2018-0495

Vendor Product Version Raw CPE
gnupg libgcrypt < 1.7.10 cpe:2.3:a:gnupg:libgcrypt:*:*:*:*:*:*:*:*
gnupg libgcrypt >= 1.8.0, < 1.8.3 cpe:2.3:a:gnupg:libgcrypt:*:*:*:*:*:*:*:*
canonical ubuntu_linux 12.04 cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*
canonical ubuntu_linux 14.04 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 17.10 cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
canonical ubuntu_linux 18.04 cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 18.10 cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
debian debian_linux 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
redhat ansible_tower 3.3 cpe:2.3:a:redhat:ansible_tower:3.3:*:*:*:*:*:*:*
redhat enterprise_linux_desktop 7.0 cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
redhat enterprise_linux_server 7.0 cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
redhat enterprise_linux_workstation 7.0 cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
oracle traffic_director 11.1.1.9.0 cpe:2.3:a:oracle:traffic_director:11.1.1.9.0:*:*:*:*:*:*:*

References for CVE-2018-0495

URL Tags
http://www.securitytracker.com/id/1041144 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1041147 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2018:3221 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:3505 Third Party Advisory
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://dev.gnupg.org/T4011 Patch Vendor Advisory
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=9010d1576e278a4274ad3f4aa15776c28f6ba965
https://lists.debian.org/debian-lts-announce/2018/06/msg00013.html Mailing List Third Party Advisory
https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000426.html Vendor Advisory
https://usn.ubuntu.com/3689-1/ Third Party Advisory
https://usn.ubuntu.com/3689-2/ Third Party Advisory
https://usn.ubuntu.com/3692-1/ Third Party Advisory
https://usn.ubuntu.com/3692-2/ Third Party Advisory
https://usn.ubuntu.com/3850-1/ Third Party Advisory
https://usn.ubuntu.com/3850-2/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4231 Third Party Advisory
https://www.nccgroup.trust/us/our-research/technical-advisory-return-of-the-hidden-number-problem/ Exploit Third Party Advisory
https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html Patch Third Party Advisory
cvelogic Threat Intelligence