7

CVE-2021-3697: gnu grub2 Out-of-bounds Write

CVSS: 7.0v3.1HighModified
AliasesALPINE-CVE-2021-3697UBUNTU-CVE-2021-3697DEBIAN-CVE-2021-3697
Published 06-07-2022Last modified 03-08-2024

Vulnerability summary

CVE-2021-3697 is a high (CVSS 7.0) Out-of-bounds Write vulnerability in gnu grub2. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 38.2% of scored vulnerabilities.

Overall risk
28/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.0/10
010
High · v3.1 (NVD)
EPSS score
0.46%
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 16 · Related 11

Timeline

  1. 06-07-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

A crafted JPEG image may lead the JPEG reader to underflow its data pointer, allowing user-controlled data to be written in heap. To a successful to be performed the attacker needs to perform some triage over the heap layout and craft an image with a malicious format and payload. This vulnerability can lead to data corruption and eventual code execution or secure boot circumvention. This flaw affects grub2 versions prior grub-2.12.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.46%

Chance of exploitation in the next 30 days

Percentile

38%

Versus all other CVEs

30-day change

0.00 pp

From 0.46% on 18-09-2026

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

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

Redhat11 products
Ubuntu2 products
  • grub2-signedAll versions (No fix recorded) | < 1.187.3~18.04.1 | < 1.187.3~20.04.1 | < 1.187.3~22.04.1
  • grub2-unsignedAll versions (No fix recorded) | < 2.06-2ubuntu14.1
Alpine1 product
  • grub< 2.06-r3 | < 2.06-r8 | < 2.06-r12 | < 2.06-r13
Debian1 product
  • grub2< 2.06-3
Gnu1 product

5 vendors · 16 products

References

10 links