CVE-2026-41989 Memory corruption in Libgcrypt

Medium 6.7 Published Updated

A heap-based buffer overflow in Libgcrypt allows attackers to cause denial of service via crafted ECDH ciphertext.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-41989?

CVE-2026-41989 is a medium-severity memory corruption vulnerability in gnupg Libgcrypt, published on 23 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Libgcrypt before 1.12.2 sometimes allows a heap-based buffer overflow and denial of service via crafted ECDH ciphertext to gcry_pk_decrypt.

Weakness: CWE-787

Which versions are affected by CVE-2026-41989?

It affects 1 product.

Linux distribution packages (40)
libgcrypt AlmaLinux:10All versions1.11.0-7.el10_2
libgcrypt-devel AlmaLinux:10All versions1.11.0-7.el10_2
libgcrypt AlmaLinux:8All versions1.8.5-8.el8_10
libgcrypt-devel AlmaLinux:8All versions1.8.5-8.el8_10
libgcrypt AlmaLinux:9All versions1.10.0-13.el9_8
libgcrypt-devel AlmaLinux:9All versions1.10.0-13.el9_8
libgcrypt Red Hat:enterprise_linux:10.2All versions0:1.11.0-7.el10_2
libgcrypt-debuginfo Red Hat:enterprise_linux:10.2All versions0:1.11.0-7.el10_2
libgcrypt-debugsource Red Hat:enterprise_linux:10.2All versions0:1.11.0-7.el10_2
libgcrypt-devel Red Hat:enterprise_linux:10.2All versions0:1.11.0-7.el10_2
libgcrypt-devel-debuginfo Red Hat:enterprise_linux:10.2All versions0:1.11.0-7.el10_2
libgcrypt Red Hat:enterprise_linux:8::baseosAll versions0:1.8.5-8.el8_10
libgcrypt-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:1.8.5-8.el8_10
libgcrypt-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:1.8.5-8.el8_10
libgcrypt-devel Red Hat:enterprise_linux:8::baseosAll versions0:1.8.5-8.el8_10
libgcrypt-devel-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:1.8.5-8.el8_10
libgcrypt-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:1.10.0-13.el9_8
libgcrypt-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:1.10.0-13.el9_8
libgcrypt-devel Red Hat:enterprise_linux:9::appstreamAll versions0:1.10.0-13.el9_8
libgcrypt-devel-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:1.10.0-13.el9_8
libgcrypt Red Hat:enterprise_linux:9::baseosAll versions0:1.10.0-13.el9_8
libgcrypt-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:1.10.0-13.el9_8
libgcrypt-debugsource Red Hat:enterprise_linux:9::baseosAll versions0:1.10.0-13.el9_8
libgcrypt-devel-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:1.10.0-13.el9_8
libgcrypt Red Hat:enterprise_linux_eus:10.0All versions0:1.11.0-5.el10_0.1
libgcrypt Red Hat:rhel_aus:8.4::baseosAll versions0:1.8.5-4.el8_4.1
libgcrypt Red Hat:rhel_aus:8.6::baseosAll versions0:1.8.5-7.el8_6.1
libgcrypt Red Hat:rhel_e4s:8.8::baseosAll versions0:1.8.5-7.el8_8.1
libgcrypt Red Hat:rhel_e4s:9.2::baseosAll versions0:1.10.0-10.el9_2.2
libgcrypt Red Hat:rhel_e4s:9.4::baseosAll versions0:1.10.0-10.el9_4.2
libgcrypt Red Hat:rhel_eus:9.6::baseosAll versions0:1.10.0-11.el9_6.1
libgcrypt Red Hat:rhel_eus_long_life:8.4::baseosAll versions0:1.8.5-4.el8_4.1
libgcrypt Red Hat:rhel_eus_long_life:8.6::baseosAll versions0:1.8.5-7.el8_6.1
libgcrypt Red Hat:rhel_tus:8.8::baseosAll versions0:1.8.5-7.el8_8.1
libgcrypt Rocky Linux:10All versions0:1.11.0-7.el10_2
libgcrypt Rocky Linux:8All versions0:1.8.5-8.el8_10
libgcrypt Rocky Linux:9All versions0:1.10.0-13.el9_8
libgcrypt SUSE:Linux Enterprise Micro 5.3All versions1.9.4-150400.6.14.1
libgcrypt SUSE:Linux Enterprise Micro 5.4All versions1.9.4-150400.6.14.1
libgcrypt SUSE:Linux Enterprise Micro 5.5All versions1.9.4-150500.12.6.1

Products include Gnupg Libgcrypt.

How do I fix CVE-2026-41989?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-41989 being exploited?

There is no known exploitation of CVE-2026-41989 in the wild and no public exploit code.

Sources

Also known as ALSA-2026:47117, ALSA-2026:50144, ALSA-2026:50147, AZL-83544, BELL-CVE-2026-41989, CLSA-2026-1784632339 and 33 more.

Is CVE-2026-41989 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free