CVE catalog

CVE-2021-3345

libgcrypt20: CVE-2021-3345

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS: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.

DistributionPackageReleaseVersionStatus
Debianlibgcrypt20sid1.12.4-2not affected
Debianlibgcrypt20forky1.12.4-2not affected
Debianlibgcrypt20trixie1.11.0-7+deb13u1not affected
Debianlibgcrypt20trixie-security1.11.0-7+deb13u1not affected
Debianlibgcrypt20bookworm1.10.1-3+deb12u1not affected
Debianlibgcrypt20bookworm-security1.10.1-3+deb12u1not affected

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibgcrypt20sourcesidNot affectedunimportantNot reported[981370]
Debianlibgcrypt20sourceforkyNot affectedunimportantNot reported[981370]
Debianlibgcrypt20sourcetrixieNot affectedunimportantNot reported[981370]
Debianlibgcrypt20sourcebookwormNot affectedunimportantNot reported[981370]

[Debian bug #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 · bookworm

      Not affected

      dsa · libgcrypt20 · debian · bookworm

    • 1.10.1-3+deb12u1 · arm64 · bookworm

      Not affected

      dsa · libgcrypt20 · debian · bookworm

    • 1.10.1-3+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · libgcrypt20 · debian · bookworm

    • 1.10.1-3+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · libgcrypt20 · debian · bookworm

  • Source package: [libgcrypt20]

    Details (4)
    • 1.10.1-3+deb12u1 · amd64 · bookworm

      Not affected

      dsa · libgcrypt20 · debian · bookworm

    • 1.10.1-3+deb12u1 · arm64 · bookworm

      Not affected

      dsa · libgcrypt20 · debian · bookworm

    • 1.10.1-3+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · libgcrypt20 · debian · bookworm

    • 1.10.1-3+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · libgcrypt20 · debian · bookworm

  • Source package: [libgcrypt20]

    Details (4)
    • 1.10.1-3+deb12u1 · all · bookworm

      Not affected

      dsa · libgcrypt20 · debian · bookworm

    • 1.10.1-3+deb12u1 · all · bookworm

      Not affected

      dsa · libgcrypt20 · debian · bookworm

    • 1.10.1-3+deb12u1 · all · bookworm-security

      Not affected

      dsa · libgcrypt20 · debian · bookworm

    • 1.10.1-3+deb12u1 · all · bookworm-security

      Not affected

      dsa · libgcrypt20 · debian · bookworm

  • Source package: [libgcrypt20]

    Details (4)
    • 1.10.1-3+deb12u1 · all · bookworm

      Not affected

      dsa · libgcrypt20 · debian · bookworm

    • 1.10.1-3+deb12u1 · all · bookworm

      Not affected

      dsa · libgcrypt20 · debian · bookworm

    • 1.10.1-3+deb12u1 · all · bookworm-security

      Not affected

      dsa · libgcrypt20 · debian · bookworm

    • 1.10.1-3+deb12u1 · all · bookworm-security

      Not affected

      dsa · libgcrypt20 · debian · bookworm

Observed:

References