# CVE-2021-3345

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-01-29 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2021-3345
- Record: https://cvemate.com/vulnerability/CVE-2021-3345 · JSON: https://cvemate.com/vulnerability/CVE-2021-3345/json

## Description

```text
_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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.073%, percentile 66.029%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu libgcrypt11 (Ubuntu): \< 1.5.3-2ubuntu4.6+esm1
- ubuntu libgcrypt20 (Ubuntu): \< 1.6.5-2ubuntu0.6 \| \< 1.8.1-4ubuntu1.2 \| \< 1.8.5-5ubuntu1
- gnupg libgcrypt: 1.9.0
- oracle communications\_billing\_and\_revenue\_management: 12.0.0.3.0

## References

- <https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=512c0c75276949f13b6373b5c04f7065af750b08>
- <https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000455.html>
- <https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html>
- <https://gnupg.org>
- <https://bugs.gentoo.org/show_bug.cgi?id=767814>
- <https://www.oracle.com//security-alerts/cpujul2021.html>
- <https://ubuntu.com/security/CVE-2021-3345>
- <https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=512c0c75276949f13b6373b5c04f7065af750b08>
- <https://www.cve.org/CVERecord?id=CVE-2021-3345>

---

Data as of 2026-12-05T04:50:38.874Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
