Back
CVE-2021-3345
_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…
High7.8EPSS 1.1%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
_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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.1% · top 35% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
Affected products
n/a
- affected n/a
References (6)
- https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=512c0c75276949f13b6373b5c04f7065af750b08 (opens in a new tab)x_refsource_MISCx_transferred
- https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000455.html (opens in a new tab)x_refsource_MISCx_transferred
- https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html (opens in a new tab)x_refsource_MISCx_transferred
- https://gnupg.org (opens in a new tab)x_refsource_MISCx_transferred
- https://bugs.gentoo.org/show_bug.cgi?id=767814 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com//security-alerts/cpujul2021.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2021-3345)Record last updated .