CVE-2021-3345: Gnupg Libgcrypt

High severity, CVSS 7.8. EPSS: 1.1% probability of exploitation activity in the next 30 days.

_gcry_md_block_write in cipher/hash-common.c in Libgcrypt version 1.9.0 has a heap-based buffer overflow when the digest final function sets a large count value. It is recommended to upgrade to 1.9.1 or later.

What to do

No fixed version is stated in NVD's or the CNA's structured data. Check the vendor's advisory among the references.

Affected products

Published 2021-01-29. Last modified 2026-06-17.