7.8

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

Modified
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.07% chance of exploitation in the next 30 days, higher than 66% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
1.07%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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.07%

Chance of exploitation in the next 30 days

Percentile

66%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 1.06% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

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