CVE-2021-3345
publishedlibgcrypt: Heap buffer overflow in the block buffer management code
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt-cavsaarch64 | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt-cavsppc64le | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt-cavss390x | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt-cavsx86_64 | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt-develaarch64 | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt-develppc64le | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt-devels390x | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
Show 21 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt-develx86_64 | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt-devel-32bitaarch64 | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt-devel-32bitppc64le | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt-devel-32bits390x | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt-devel-32bitx86_64 | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt20aarch64 | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt20ppc64le | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt20s390x | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt20x86_64 | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt20-32bitaarch64 | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt20-32bitppc64le | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt20-32bits390x | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt20-32bitx86_64 | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt20-hmacaarch64 | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt20-hmacppc64le | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt20-hmacs390x | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt20-hmacx86_64 | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt20-hmac-32bitaarch64 | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt20-hmac-32bitppc64le | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt20-hmac-32bits390x | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgcrypt20-hmac-32bitx86_64 | Advisory build | 1.9.4-1.2 | OPENSUSE-SU-2024:10941-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
6- https://bugs.gentoo.org/show_bug.cgi?id=767814
- https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=512c0c75276949f13b6373b5c04f7065af750b08
- https://gnupg.org
- https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000455.html
- https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html
- https://www.oracle.com//security-alerts/cpujul2021.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9fa55aa2d76d2129b8bedc40b1947d5961b3d91ca38ef0fdf4d146e3c26e82a7
- Ingested
- 23 Sep 2026, 07:55:51 UTC
- Source record
- Official CVE record