Incorrect Calculation of Buffer Size Affecting libgcrypt package, versions <0:1.12.2-1.hum1


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

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 IDSNYK-RHEL10-LIBGCRYPT-16299772
  • published26 Apr 2026
  • disclosed23 Apr 2026

Introduced: 23 Apr 2026

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

How to fix?

Upgrade RHEL:10 libgcrypt to version 0:1.12.2-1.hum1 or higher.
This issue was patched in RHSA-2026:8466.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libgcrypt package and not the libgcrypt package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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 Base Scores

version 3.1