_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.
https://www.oracle.com//security-alerts/cpujul2021.html
https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html
https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000455.html