Out-of-bounds Write Affecting libgcrypt package, versions [1.10.3,1.12.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-LIBGCRYPT-16300100
  • published26 Apr 2026
  • disclosed24 Apr 2026
  • creditUnknown

Introduced: 24 Apr 2026

CVE-2026-41989  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade libgcrypt to version 1.12.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write in the gcry_pk_decrypt function when processing crafted ECDH ciphertext. An attacker can cause a heap-based buffer overflow and potentially achieve denial of service or impact integrity and availability by supplying specially crafted input.

CVSS Base Scores

version 4.0
version 3.1