# CVE-2021-3697

- Priority: **Routine**
- Reason: Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-07-06 · Modified: 2024-08-03
- Aliases: ALPINE-CVE-2021-3697, UBUNTU-CVE-2021-3697, DEBIAN-CVE-2021-3697
- Record: https://cvemate.com/vulnerability/CVE-2021-3697 · JSON: https://cvemate.com/vulnerability/CVE-2021-3697/json

## Description

```text
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.
```

## Signals

- CVSS: 7 high (v3.1, NVD) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.469%, percentile 42.241%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine grub (Alpine Linux): \< 2.06-r3 \| \< 2.06-r8 \| \< 2.06-r12 \| \< 2.06-r13
- debian grub2 (Debian): \< 2.06-3
- ubuntu grub2-signed (Ubuntu): All versions (No fix recorded) \| \< 1.187.3~18.04.1 \| \< 1.187.3~20.04.1 \| \< 1.187.3~22.04.1
- ubuntu grub2-unsigned (Ubuntu): All versions (No fix recorded) \| \< 2.06-2ubuntu14.1
- gnu grub2: ≥ 2.00, \< 2.12
- redhat codeready\_linux\_builder: na
- redhat developer\_tools: 1.0
- redhat enterprise\_linux: 8.0 \| 8.1 \| 8.4 \| 9.0
- redhat enterprise\_linux\_eus: 8.2 \| 8.4 \| 8.6 \| 9.0
- redhat enterprise\_linux\_for\_power\_little\_endian: 8.0 \| 9.0
- redhat enterprise\_linux\_for\_power\_little\_endian\_eus: 8.2 \| 8.4 \| 8.6 \| 9.0
- redhat enterprise\_linux\_server\_aus: 8.2 \| 8.4 \| 8.6
- redhat enterprise\_linux\_server\_for\_power\_little\_endian\_update\_services\_for\_sap\_solutions: 8.1 \| 8.2 \| 8.4 \| 8.6 \| 9.0
- redhat enterprise\_linux\_server\_tus: 8.2 \| 8.4 \| 8.6
- redhat openshift: 3.0
- redhat openshift\_container\_platform: 4.6 \| 4.9 \| 4.10

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1991687>
- <https://security.gentoo.org/glsa/202209-12>
- <https://security.netapp.com/advisory/ntap-20220930-0001/>
- <https://security.alpinelinux.org/vuln/CVE-2021-3697>
- <https://ubuntu.com/security/CVE-2021-3697>
- <https://www.openwall.com/lists/oss-security/2022/06/07/5>
- <https://ubuntu.com/security/notices/USN-6355-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-3697>
- <https://security-tracker.debian.org/tracker/CVE-2021-3697>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3697>

---

Data as of 2026-12-05T02:45:44.950Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
