Skip to content
Noroxi
CVE-2018-0495· NVD / CVE Program· CNA 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 t

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.

MediumCVSS 4.7 · v3.0—No exploit Fix available
Published
Jun 13, 2018
Updated
Jun 16, 2026
EPSS
0.9% · 58th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

18

Monitor

Low priority for now.

CVSS
18 / 40 · 4.7 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.9%

Affected systems

VendorProduct
gnupglibgcrypt
canonicalubuntu linux
debiandebian linux
redhatansible tower
redhatenterprise linux desktop
redhatenterprise linux server
redhatenterprise linux workstation
oracletraffic director

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • canonical ubuntu linux12.04
  • canonical ubuntu linux14.04
  • canonical ubuntu linux16.04
  • canonical ubuntu linux17.10
  • canonical ubuntu linux18.04
  • canonical ubuntu linux18.10
  • debian debian linux8.0
  • debian debian linux9.0
  • gnupg libgcryptbefore 1.7.10
  • gnupg libgcrypt1.8.0 and later · before 1.8.3
  • oracle traffic director11.1.1.9.0
  • redhat ansible tower3.3
  • redhat enterprise linux desktop7.0
  • redhat enterprise linux server7.0
  • redhat enterprise linux workstation7.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (debian). Independent of NVD's CPE analysis and usually ahead of it.

  • 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.3affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10libgcryptfrom 1.8.0 · before 1.8.3-r01.8.3-r0
Alpine:v3.10libresslbefore 2.7.4-r02.7.4-r0
Alpine:v3.5libgcryptfrom 1.8.0 · before 1.7.10-r01.7.10-r0
Alpine:v3.7libresslbefore 2.6.5-r02.6.5-r0
Debian:12libgcrypt20before 1.8.3-11.8.3-1
Debian:8libgcrypt20before 1.6.3-2+deb8u51.6.3-2+deb8u5
Debian:9libgcrypt20before 1.7.6-2+deb9u31.7.6-2+deb9u3
openSUSE:Tumbleweedlibgcryptbefore 1.9.4-1.21.9.4-1.2
openSUSE:Tumbleweedmozilla-nssbefore 3.69.1-1.23.69.1-1.2
Red Hat:enterprise_linux:7::clientnsprbefore 0:4.21.0-1.el70:4.21.0-1.el7
Red Hat:enterprise_linux:7::clientnspr-debuginfobefore 0:4.21.0-1.el70:4.21.0-1.el7
Red Hat:enterprise_linux:7::clientnspr-develbefore 0:4.21.0-1.el70:4.21.0-1.el7
Red Hat:enterprise_linux:7::clientnssbefore 0:3.44.0-4.el70:3.44.0-4.el7
Red Hat:enterprise_linux:7::clientnss-debuginfobefore 0:3.44.0-4.el70:3.44.0-4.el7
Red Hat:enterprise_linux:7::clientnss-develbefore 0:3.44.0-4.el70:3.44.0-4.el7
Red Hat:enterprise_linux:7::clientnss-pkcs11-develbefore 0:3.44.0-4.el70:3.44.0-4.el7
Red Hat:enterprise_linux:7::clientnss-softoknbefore 0:3.44.0-5.el70:3.44.0-5.el7
Red Hat:enterprise_linux:7::clientnss-softokn-debuginfobefore 0:3.44.0-5.el70:3.44.0-5.el7
Red Hat:enterprise_linux:7::clientnss-softokn-develbefore 0:3.44.0-5.el70:3.44.0-5.el7
Red Hat:enterprise_linux:7::clientnss-softokn-freeblbefore 0:3.44.0-5.el70:3.44.0-5.el7
Red Hat:enterprise_linux:7::clientnss-softokn-freebl-develbefore 0:3.44.0-5.el70:3.44.0-5.el7
Red Hat:enterprise_linux:7::clientnss-sysinitbefore 0:3.44.0-4.el70:3.44.0-4.el7
Red Hat:enterprise_linux:7::clientnss-toolsbefore 0:3.44.0-4.el70:3.44.0-4.el7
Red Hat:enterprise_linux:7::clientnss-utilbefore 0:3.44.0-3.el70:3.44.0-3.el7

+64

Other highest-scoring records for the same primary product.

  • CVE-2021-33560Libgcrypt before 1.8.8 and 1.9.x before 1.9.3 mishandles ElGamal encryption because it lacks exponent blinding to address a side-channel att
    31Monitor
  • CVE-2021-3345_gcry_md_block_write in cipher/hash-common.c in Libgcrypt version 1.9.0 has a heap-based buffer overflow when the digest final function sets
    31Monitor
  • CVE-2018-6829cipher/elgamal.c in Libgcrypt through 1.8.2, when used to encrypt messages directly, improperly encodes plaintexts, which allows attackers t
    31Monitor
  • CVE-2017-0379Libgcrypt before 1.8.1 does not properly consider Curve25519 side-channel attacks, which makes it easier for attackers to discover a secret
    31Monitor
  • CVE-2017-7526libgcrypt before version 1.7.8 is vulnerable to a cache side-channel attack resulting into a complete break of RSA-1024 while using the left
    28Monitor
  • CVE-2026-41989Libgcrypt before 1.12.2 sometimes allows a heap-based buffer overflow and denial of service via crafted ECDH ciphertext to gcry_pk_decrypt.
    26Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:libgcrypt1.8.3-r0 · Alpine:v3.10Package registry (OSV)
alpine:libressl2.7.4-r0 · Alpine:v3.10Package registry (OSV)
debian:libgcrypt201.8.3-1 · Debian:12Package registry (OSV)
opensuse:libgcrypt1.9.4-1.2 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:mozilla-nss3.69.1-1.2 · openSUSE:TumbleweedPackage registry (OSV)
red hat:jbcs-httpd24-httpd0:2.4.29-40.jbcs.el6 · Red Hat:jboss_core_services:1::el6Package registry (OSV)
red hat:jbcs-httpd24-httpd-debuginfo0:2.4.29-40.jbcs.el6 · Red Hat:jboss_core_services:1::el6Package registry (OSV)
red hat:jbcs-httpd24-httpd-devel0:2.4.29-40.jbcs.el6 · Red Hat:jboss_core_services:1::el6Package registry (OSV)
red hat:jbcs-httpd24-httpd-manual0:2.4.29-40.jbcs.el6 · Red Hat:jboss_core_services:1::el6Package registry (OSV)
red hat:jbcs-httpd24-httpd-selinux0:2.4.29-40.jbcs.el6 · Red Hat:jboss_core_services:1::el6Package registry (OSV)
red hat:jbcs-httpd24-httpd-tools0:2.4.29-40.jbcs.el6 · Red Hat:jboss_core_services:1::el6Package registry (OSV)
red hat:openssl1:1.0.2k-16.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openssl-debuginfo1:1.0.2k-16.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openssl-devel1:1.0.2k-16.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openssl-libs1:1.0.2k-16.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openssl-perl1:1.0.2k-16.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openssl-static1:1.0.2k-16.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
suse:libgcrypt1.8.2-6.3.1 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)
suse:mozilla-nspr4.20-3.3.2 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)
suse:mozilla-nss3.40.1-3.7.2 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)
suse:MozillaFirefox60.4.0-3.21.1 · SUSE:Linux Enterprise Module for Desktop Applications 15Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
none
Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

CVSS vector

CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records