CVE-2021-3345

libgcrypt: Heap buffer overflow in the block buffer management code

Published Jan 29, 2021 CVSS 3.1 · 7.8 High EPSS 1.1% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-26676 _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.
History

No history.

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

  • CWE-191

    Integer Underflow (Wrap or Wraparound)

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 4:53 PM
Reserved
Jan 29, 2021, 12:00 AM
Status
Modified
Published
Jan 29, 2021, 3:15 PM
Modified
Jun 17, 2026, 4:04 AM
Severity
Critical
Public date
Jan 29, 2021, 12:00 AM