Vulnerabilities · 2021 · Gnupg
CVE-2021-3345
Gnupg Libgcrypt vulnerability
_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.
Affected products
Libgcrypt, Communications Billing And Revenue Management. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnupg Libgcrypt runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugs.gentoo.org/show_bug.cgi?id=767814 · Vendor Advisory
- gnupg.org · Vendor Advisory
- lists.gnupg.org/pipermail/gnupg-announce/2021q1/000455.html · Vendor Advisory
- lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html · Patch
- www.oracle.com//security-alerts/cpujul2021.html · Third Party Advisory
- git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=512c0c75276949f13b6373b5c0
- nvd.nist.gov/vuln/detail/CVE-2021-3345
- cve.org/CVERecord?id=CVE-2021-3345
More vulnerabilities in Gnupg products
CVE-2026-24883CVE-2026-24882CVE-2025-68973CVE-2025-68972CVE-2025-30258CVE-2022-47629CVE-2022-34903CVE-2022-3515All 52
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.