CVEfocus › CVE database › CVE-2021-33560

CVE-2021-33560

CVSS 7.5 HighEPSS 2.4% (higher than 85% of CVEs)Published 2021-06-08Updated 2026-10-14Assigner: mitre

Libgcrypt 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 attack against mpi_powm, and the window size is not chosen appropriately. This, for example, affects use of ElGamal in OpenPGP.

CWE-325

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

25Fixed
2Fix pending
4Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04libgcrypt20Fixed1.8.7-5ubuntu2UBUNTU-CVE-2021-33560
Ubuntu 20.04libgcrypt20Fixed1.8.5-5ubuntu1.1UBUNTU-CVE-2021-33560
Ubuntu 18.04libgcrypt20Fixed1.8.1-4ubuntu1.3UBUNTU-CVE-2021-33560
Ubuntu 16.04libgcrypt20Fix pending1.6.5-2ubuntu0.6+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-33560
Ubuntu 14.04libgcrypt20Fix pending
Debian 14libgcrypt20Fixed1.9.4-2DEBIAN-CVE-2021-33560
Debian 13libgcrypt20Fixed1.9.4-2DEBIAN-CVE-2021-33560
Debian 12libgcrypt20Fixed1.9.4-2DEBIAN-CVE-2021-33560
Red Hat Enterprise Linux 9libgcryptNot affected
Red Hat Enterprise Linux 9libgcrypt-develNot affected
Red Hat Enterprise Linux 8libgcryptFixed0:1.8.5-6.el8RHSA-2021:4409
Red Hat Enterprise Linux 8libgcrypt-develFixed0:1.8.5-6.el8RHSA-2021:4409
Red Hat Enterprise Linux 7libgcryptWill not fix
Out of support scope
Red Hat Enterprise Linux 7libgcrypt-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libgcryptWill not fix
Out of support scope
Red Hat Enterprise Linux 6libgcrypt-develWill not fix
Out of support scope
AlmaLinux 8libgcryptFixed1.8.5-6.el8ALSA-2021:4409
AlmaLinux 8libgcrypt-develFixed1.8.5-6.el8ALSA-2021:4409
Rocky Linux 8libgcryptFixed0:1.8.5-6.el8RLSA-2021:4409
Alpine Linux 3.24libgcryptFixed1.9.4-r0ALPINE-CVE-2021-33560
Alpine Linux 3.23libgcryptFixed1.9.4-r0ALPINE-CVE-2021-33560
Alpine Linux 3.22libgcryptFixed1.9.4-r0ALPINE-CVE-2021-33560
Alpine Linux 3.21libgcryptFixed1.9.4-r0ALPINE-CVE-2021-33560
Alpine Linux 3.20libgcryptFixed1.9.4-r0ALPINE-CVE-2021-33560
Alpine Linux 3.19libgcryptFixed1.9.4-r0ALPINE-CVE-2021-33560
Alpine Linux 3.18libgcryptFixed1.9.4-r0ALPINE-CVE-2021-33560
Alpine Linux 3.17libgcryptFixed1.9.4-r0ALPINE-CVE-2021-33560
Alpine Linux 3.16libgcryptFixed1.9.4-r0ALPINE-CVE-2021-33560
Alpine Linux 3.15libgcryptFixed1.9.4-r0ALPINE-CVE-2021-33560
Alpine Linux 3.14libgcryptFixed1.9.4-r0ALPINE-CVE-2021-33560
Alpine Linux 3.13libgcryptFixed1.8.8-r0ALPINE-CVE-2021-33560
Alpine Linux 3.12libgcryptFixed1.8.8-r0ALPINE-CVE-2021-33560
Alpine Linux 3.11libgcryptFixed1.8.8-r0ALPINE-CVE-2021-33560

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.