CVE-2026-41989
Received Received - Intake

Heap-Based Buffer Overflow in Libgcrypt ECDH Decryption Causes DoS

Vulnerability report for CVE-2026-41989, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-04-23

Last updated on: 2026-07-14

Assigner: MITRE

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-04-23
Last Modified
2026-07-14
Generated
2026-07-26
AI Q&A
2026-04-23
EPSS Evaluated
2026-07-25
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
gnupg libgcrypt From 1.12.0 (inc) to 1.12.2 (exc)
gnupg libgcrypt From 1.11.0 (inc) to 1.11.3 (exc)
gnupg libgcrypt From 1.8.8 (inc) to 1.10.4 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-41989 is a security vulnerability in Libgcrypt versions before 1.12.2 that sometimes allows a heap-based buffer overflow and denial of service via crafted Elliptic Curve Diffie-Hellman (ECDH) ciphertext to the gcry_pk_decrypt function.

This vulnerability affects ECDH implementations using NIST, Brainpool, X448, or X25519 curves and can cause a buffer overwrite with zeroes during ECDH encryption operations.

The issue was fixed in Libgcrypt versions 1.12.2, 1.11.3, and 1.10.4.

Detection Guidance

This vulnerability affects Libgcrypt versions before 1.12.2, specifically in the ECDH implementation. Detection involves identifying if vulnerable versions of Libgcrypt are installed on your system.

You can check the installed Libgcrypt version using commands like:

  • On Linux systems, run: `gcrypt-config --version` or `dpkg -l | grep libgcrypt`
  • Alternatively, check the package manager for the installed version, e.g., `rpm -q libgcrypt` on RPM-based systems.

If the version is older than 1.12.2, your system is vulnerable. There are no specific network detection commands provided for this vulnerability since it is a library-level issue triggered by crafted ECDH ciphertext.

Impact Analysis

This vulnerability can impact you by allowing an attacker to cause a denial-of-service (DoS) condition in applications using vulnerable Libgcrypt versions.

Specifically, the heap-based buffer overflow can be triggered by crafted ECDH ciphertext, leading to application crashes or service interruptions.

Such disruptions can affect the availability of cryptographic services relying on Libgcrypt for ECDH operations.

Compliance Impact

The provided information does not specify any direct impact of CVE-2026-41989 on compliance with common standards and regulations such as GDPR or HIPAA.

Mitigation Strategies

To mitigate this vulnerability, you should upgrade Libgcrypt to version 1.12.2 or later, as this release contains the fix for the buffer overflow and denial-of-service vulnerability in the ECDH implementation.

If you are using GnuPG, ensure you are running version 2.5.7 or later, as these versions use a different encryption API and are not vulnerable.

Verify the integrity and authenticity of the updated packages by checking OpenPGP signatures or SHA-1 checksums using the official GnuPG FTP server or mirrors.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-41989. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart