
CVE catalog
CVE-2021-3345
libgcrypt20: CVE-2021-3345
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.06% · Oct 25, 2026
_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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libgcrypt20 | sid | 1.12.4-2 | not affected |
| Debian | libgcrypt20 | forky | 1.12.4-2 | not affected |
| Debian | libgcrypt20 | trixie | 1.11.0-7+deb13u1 | not affected |
| Debian | libgcrypt20 | trixie-security | 1.11.0-7+deb13u1 | not affected |
| Debian | libgcrypt20 | bookworm | 1.10.1-3+deb12u1 | not affected |
| Debian | libgcrypt20 | bookworm-security | 1.10.1-3+deb12u1 | not affected |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libgcrypt20 | source | sid | Not affected | unimportant | Not reported | [981370] |
| Debian | libgcrypt20 | source | forky | Not affected | unimportant | Not reported | [981370] |
| Debian | libgcrypt20 | source | trixie | Not affected | unimportant | Not reported | [981370] |
| Debian | libgcrypt20 | source | bookworm | Not affected | unimportant | Not reported | [981370] |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libgcrypt20]Unknown
Details (4)
1.10.1-3+deb12u1· amd64 · bookwormNot affected
dsa · libgcrypt20 · debian · bookworm
1.10.1-3+deb12u1· arm64 · bookwormNot affected
dsa · libgcrypt20 · debian · bookworm
1.10.1-3+deb12u1· amd64 · bookworm-securityNot affected
dsa · libgcrypt20 · debian · bookworm
1.10.1-3+deb12u1· arm64 · bookworm-securityNot affected
dsa · libgcrypt20 · debian · bookworm
- [libgcrypt20-dev]Unknown
Source package: [libgcrypt20]
Details (4)
1.10.1-3+deb12u1· amd64 · bookwormNot affected
dsa · libgcrypt20 · debian · bookworm
1.10.1-3+deb12u1· arm64 · bookwormNot affected
dsa · libgcrypt20 · debian · bookworm
1.10.1-3+deb12u1· amd64 · bookworm-securityNot affected
dsa · libgcrypt20 · debian · bookworm
1.10.1-3+deb12u1· arm64 · bookworm-securityNot affected
dsa · libgcrypt20 · debian · bookworm
- [libgcrypt20-doc]Unknown
Source package: [libgcrypt20]
Details (4)
1.10.1-3+deb12u1· all · bookwormNot affected
dsa · libgcrypt20 · debian · bookworm
1.10.1-3+deb12u1· all · bookwormNot affected
dsa · libgcrypt20 · debian · bookworm
1.10.1-3+deb12u1· all · bookworm-securityNot affected
dsa · libgcrypt20 · debian · bookworm
1.10.1-3+deb12u1· all · bookworm-securityNot affected
dsa · libgcrypt20 · debian · bookworm
- [libgcrypt-mingw-w64-dev]Unknown
Source package: [libgcrypt20]
Details (4)
1.10.1-3+deb12u1· all · bookwormNot affected
dsa · libgcrypt20 · debian · bookworm
1.10.1-3+deb12u1· all · bookwormNot affected
dsa · libgcrypt20 · debian · bookworm
1.10.1-3+deb12u1· all · bookworm-securityNot affected
dsa · libgcrypt20 · debian · bookworm
1.10.1-3+deb12u1· all · bookworm-securityNot affected
dsa · libgcrypt20 · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_10941-1.json]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-3345]
- [https://security-tracker.debian.org/tracker/CVE-2021-3345]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-3345.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]