Skip to content
Noroxi
CVE-2017-7526· NVD / CVE Program· CNA redhat

libgcrypt 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

libgcrypt 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-to-right method for computing the sliding-window expansion. The same attack is believed to work on RSA-2048 with moderately more computation. This side-channel requires that attacker can run arbitrary software on the hardware where the private RSA key is used.

MediumCVSS 6.8 · v3.0—No exploit Fix available
Published
Jul 26, 2018
Updated
Jun 16, 2026
EPSS
3.9% · 90th 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

28

Monitor

Low priority for now.

CVSS
27 / 40 · 6.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.9%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
6.8
CNA · redhat
6.1
0.7 point gap

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

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
gnupglibgcrypt
canonicalubuntu linux
debiandebian linux

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
  • debian debian linux8.0
  • debian debian linux9.0
  • gnupg libgcryptbefore 1.7.8

Versions reported by the vendor

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

  • GnuPG libgcrypt

    • 1.7.8affected

Package-level exposure

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

EcosystemPackageAffected rangeFix
Alpine:v3.10gnupg1before 1.4.23-r01.4.23-r0
Debian:12gnupg1before 1.4.22-11.4.22-1
Debian:12libgcrypt20before 1.7.8-11.7.8-1
Debian:7gnupgbefore 1.4.12-7+deb7u91.4.12-7+deb7u9
Debian:7libgcrypt11before 1.5.0-5+deb7u61.5.0-5+deb7u6
Debian:8gnupgbefore 1.4.18-7+deb8u41.4.18-7+deb8u4
Debian:8libgcrypt20before 1.6.3-2+deb8u41.6.3-2+deb8u4
Debian:9libgcrypt20before 1.7.6-2+deb9u11.7.6-2+deb9u1
openSUSE:Tumbleweedlibgcryptbefore 1.9.4-1.21.9.4-1.2
SUSE:Linux Enterprise Desktop 12 SP2libgcryptbefore 1.6.1-16.42.11.6.1-16.42.1
SUSE:Linux Enterprise Module for Legacy 12compat-libgcrypt11before 1.5.0-0.6.11.5.0-0.6.1
SUSE:Linux Enterprise Software Development Kit 11 SP4libgcryptbefore 1.5.0-0.25.11.5.0-0.25.1

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-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
  • CVE-2019-12904In Libgcrypt 1.8.4, the C implementation of AES is vulnerable to a flush-and-reload side-channel attack because physical addresses are avail
    24Monitor

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:gnupg11.4.23-r0 · Alpine:v3.10Package registry (OSV)
debian:gnupg1.4.12-7+deb7u9 · Debian:7Package registry (OSV)
debian:gnupg11.4.22-1 · Debian:12Package registry (OSV)
debian:libgcrypt111.5.0-5+deb7u6 · Debian:7Package registry (OSV)
debian:libgcrypt201.7.8-1 · Debian:12Package registry (OSV)
opensuse:libgcrypt1.9.4-1.2 · openSUSE:TumbleweedPackage registry (OSV)
suse:compat-libgcrypt111.5.0-0.6.1 · SUSE:Linux Enterprise Module for Legacy 12Package registry (OSV)
suse:libgcrypt1.5.0-0.25.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4Package 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

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • 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

Impact can extend beyond the vulnerable component (scope changes).

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality impact
High
Integrity impact
None
Availability impact
None

CVSS vector

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

nvd-primary

Root cause

The extension requests broader permissions than its function needs and sends the data it collects out for purposes beyond its stated function.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

json
{  "permissions": ["tabs", "<all_urls>"],  "background": { "service_worker": "analytics.js" }}

Fixed

json
{  "permissions": ["activeTab"],  "host_permissions": ["https://yildiz.example/*"]}

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