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 sets a large count value. It is recommended to upgrade to 1.9.1
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 1.06% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 64.4% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Critical. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-01-29 14:20Z5 YR AGO
- Last updated
- 2024-08-03 16:53Z2 YR AGO
- Reserved
- 2021-01-29
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-787Out-of-bounds WriteBase
- Data version
- 5.1
- Document digest
- 874237085350581d97fd0477dd955c2ef19eb633a85fe51d23d6f89f453cfea4
05 Affected products
06 References
- git.gnupg.orghttps://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=512c0c75276949f13b6373b5c04f7065af750b08
- lists.gnupg.orghttps://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000455.html
- lists.gnupg.orghttps://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html
- gnupg.orghttps://gnupg.org
- bugs.gentoo.orghttps://bugs.gentoo.org/show_bug.cgi?id=767814
- www.oracle.comhttps://www.oracle.com//security-alerts/cpujul2021.html
07 Fixed in
Arch Linux
- libgcrypt Fixed in 1.9.1-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.