7.8

CVE-2021-3345: gnupg libgcrypt Out-of-bounds Write

CVSS: 7.8v3.1HighModified
AliasesUBUNTU-CVE-2021-3345
Published 29-01-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-3345 is a high (CVSS 7.8) Out-of-bounds Write vulnerability in gnupg libgcrypt. EPSS estimates a 1.06% chance of exploitation in the next 30 days, higher than 64% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
1.06%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 29-01-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

1.06%

Chance of exploitation in the next 30 days

Percentile

64%

Versus all other CVEs

30-day change

0.00 pp

From 1.06% on 18-09-2026

18-09-202618-10-2026
EPSS score
1.06%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu2 products
  • libgcrypt11< 1.5.3-2ubuntu4.6+esm1
  • libgcrypt20< 1.6.5-2ubuntu0.6 | < 1.8.1-4ubuntu1.2 | < 1.8.5-5ubuntu1
Gnupg1 product
Oracle1 product

3 vendors · 4 products

References

9 links