Incorrect Calculation of Buffer Size Affecting libgcrypt package, versions <0:1.8.5-8.el8_10


Severity

Recommended
medium

Based on CentOS 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-CENTOS8-LIBGCRYPT-16284526
  • published25 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 Centos:8 libgcrypt to version 0:1.8.5-8.el8_10 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libgcrypt package and not the libgcrypt package as distributed by Centos. See How to fix? for Centos:8 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