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.
- Published
- Jun 13, 2018
- Updated
- Jun 16, 2026
- EPSS
- 0.9% · 58th percentile
- CWE
- CWE-203
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
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
| Vendor | Product | CPE |
|---|---|---|
| gnupg | libgcrypt | cpe:2.3:a:gnupg:libgcrypt |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| redhat | ansible tower | cpe:2.3:a:redhat:ansible_tower |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
| oracle | traffic director | cpe:2.3:a:oracle:traffic_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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | libgcrypt | from 1.8.0 · before 1.8.3-r0 | 1.8.3-r0 |
| Alpine:v3.10 | libressl | before 2.7.4-r0 | 2.7.4-r0 |
| Alpine:v3.5 | libgcrypt | from 1.8.0 · before 1.7.10-r0 | 1.7.10-r0 |
| Alpine:v3.7 | libressl | before 2.6.5-r0 | 2.6.5-r0 |
| Debian:12 | libgcrypt20 | before 1.8.3-1 | 1.8.3-1 |
| Debian:8 | libgcrypt20 | before 1.6.3-2+deb8u5 | 1.6.3-2+deb8u5 |
| Debian:9 | libgcrypt20 | before 1.7.6-2+deb9u3 | 1.7.6-2+deb9u3 |
| openSUSE:Tumbleweed | libgcrypt | before 1.9.4-1.2 | 1.9.4-1.2 |
| openSUSE:Tumbleweed | mozilla-nss | before 3.69.1-1.2 | 3.69.1-1.2 |
| Red Hat:enterprise_linux:7::client | nspr | before 0:4.21.0-1.el7 | 0:4.21.0-1.el7 |
| Red Hat:enterprise_linux:7::client | nspr-debuginfo | before 0:4.21.0-1.el7 | 0:4.21.0-1.el7 |
| Red Hat:enterprise_linux:7::client | nspr-devel | before 0:4.21.0-1.el7 | 0:4.21.0-1.el7 |
| Red Hat:enterprise_linux:7::client | nss | before 0:3.44.0-4.el7 | 0:3.44.0-4.el7 |
| Red Hat:enterprise_linux:7::client | nss-debuginfo | before 0:3.44.0-4.el7 | 0:3.44.0-4.el7 |
| Red Hat:enterprise_linux:7::client | nss-devel | before 0:3.44.0-4.el7 | 0:3.44.0-4.el7 |
| Red Hat:enterprise_linux:7::client | nss-pkcs11-devel | before 0:3.44.0-4.el7 | 0:3.44.0-4.el7 |
| Red Hat:enterprise_linux:7::client | nss-softokn | before 0:3.44.0-5.el7 | 0:3.44.0-5.el7 |
| Red Hat:enterprise_linux:7::client | nss-softokn-debuginfo | before 0:3.44.0-5.el7 | 0:3.44.0-5.el7 |
| Red Hat:enterprise_linux:7::client | nss-softokn-devel | before 0:3.44.0-5.el7 | 0:3.44.0-5.el7 |
| Red Hat:enterprise_linux:7::client | nss-softokn-freebl | before 0:3.44.0-5.el7 | 0:3.44.0-5.el7 |
| Red Hat:enterprise_linux:7::client | nss-softokn-freebl-devel | before 0:3.44.0-5.el7 | 0:3.44.0-5.el7 |
| Red Hat:enterprise_linux:7::client | nss-sysinit | before 0:3.44.0-4.el7 | 0:3.44.0-4.el7 |
| Red Hat:enterprise_linux:7::client | nss-tools | before 0:3.44.0-4.el7 | 0:3.44.0-4.el7 |
| Red Hat:enterprise_linux:7::client | nss-util | before 0:3.44.0-3.el7 | 0:3.44.0-3.el7 |
+64
Same product
gnupg: all recordsOther 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 att31Monitor
- 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 sets31Monitor
- CVE-2018-6829cipher/elgamal.c in Libgcrypt through 1.8.2, when used to encrypt messages directly, improperly encodes plaintexts, which allows attackers t31Monitor
- 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 left28Monitor
- 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 / package | Fixed version | Source |
|---|---|---|
| alpine:libgcrypt | 1.8.3-r0 · Alpine:v3.10 | Package registry (OSV) |
| alpine:libressl | 2.7.4-r0 · Alpine:v3.10 | Package registry (OSV) |
| debian:libgcrypt20 | 1.8.3-1 · Debian:12 | Package registry (OSV) |
| opensuse:libgcrypt | 1.9.4-1.2 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:mozilla-nss | 3.69.1-1.2 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:jbcs-httpd24-httpd | 0:2.4.29-40.jbcs.el6 · Red Hat:jboss_core_services:1::el6 | Package registry (OSV) |
| red hat:jbcs-httpd24-httpd-debuginfo | 0:2.4.29-40.jbcs.el6 · Red Hat:jboss_core_services:1::el6 | Package registry (OSV) |
| red hat:jbcs-httpd24-httpd-devel | 0:2.4.29-40.jbcs.el6 · Red Hat:jboss_core_services:1::el6 | Package registry (OSV) |
| red hat:jbcs-httpd24-httpd-manual | 0:2.4.29-40.jbcs.el6 · Red Hat:jboss_core_services:1::el6 | Package registry (OSV) |
| red hat:jbcs-httpd24-httpd-selinux | 0:2.4.29-40.jbcs.el6 · Red Hat:jboss_core_services:1::el6 | Package registry (OSV) |
| red hat:jbcs-httpd24-httpd-tools | 0:2.4.29-40.jbcs.el6 · Red Hat:jboss_core_services:1::el6 | Package registry (OSV) |
| red hat:openssl | 1:1.0.2k-16.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openssl-debuginfo | 1:1.0.2k-16.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openssl-devel | 1:1.0.2k-16.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openssl-libs | 1:1.0.2k-16.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openssl-perl | 1:1.0.2k-16.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openssl-static | 1:1.0.2k-16.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:libgcrypt | 1.8.2-6.3.1 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:mozilla-nspr | 4.20-3.3.2 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:mozilla-nss | 3.40.1-3.7.2 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:MozillaFirefox | 60.4.0-3.21.1 · SUSE:Linux Enterprise Module for Desktop Applications 15 | Package 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.
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.
Credits
All researchersFinders, 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
Weakness class (CWE)
CWE-203 · Observable DiscrepancyCVSS 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.
Attack patterns (CAPEC)
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 helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- usn.ubuntu.com/3850-2/
- usn.ubuntu.com/3692-2/
- usn.ubuntu.com/3850-1/
- www.securitytracker.com/id/1041144
- www.securitytracker.com/id/1041147
- access.redhat.com/errata/RHSA-2018:3221
- access.redhat.com/errata/RHSA-2018:3505
- access.redhat.com/errata/RHSA-2019:1296
- access.redhat.com/errata/RHSA-2019:1297
- access.redhat.com/errata/RHSA-2019:1543
- access.redhat.com/errata/RHSA-2019:2237
- dev.gnupg.org/T4011
- git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=9010d1576e278a4274ad3f4aa15776c28f6ba965
- lists.debian.org/debian-lts-announce/2018/06/msg00013.html
- lists.gnupg.org/pipermail/gnupg-announce/2018q2/000426.html
- usn.ubuntu.com/3689-1/
- usn.ubuntu.com/3689-2/
- usn.ubuntu.com/3692-1/
- www.debian.org/security/2018/dsa-4231
- www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.