CVE & CISA-KEV Catalog

CVE-2021-3695

MEDIUM
4.5
CVSS v3
NVD

Description

A crafted 16-bit grayscale PNG image may lead to a out-of-bounds write in the heap area. An attacker may take advantage of that to cause heap data corruption or eventually arbitrary code execution and circumvent secure boot protections. This issue has a high complexity to be exploited as an attacker needs to perform some triage over the heap layout to achieve signifcant results, also the values written into the memory are repeated three times in a row making difficult to produce valid payloads. This flaw affects grub2 versions prior grub-2.12.

How to fix

Remediation Available
grub2Debian
Fixed in:2.06-3~deb11u1CVE-2021-3695
Fixed in:2.06-3CVE-2021-3695
Fixed in:2.06-3CVE-2021-3695
Fixed in:2.06-3CVE-2021-3695
grub-efi-amd64Ubuntu
Fixed in:2.06-2ubuntu14.1USN-6355-1
Fixed in:2.06-2ubuntu14.1USN-6355-1
grub-efi-amd64-binUbuntu
Fixed in:2.06-2ubuntu14.1USN-6355-1
Fixed in:2.06-2ubuntu14.1USN-6355-1
grub-efi-amd64-signedUbuntu
Fixed in:1.187.3~20.04.1+2.06-2ubuntu14.1USN-6355-1
Fixed in:1.187.3~22.04.1+2.06-2ubuntu14.1USN-6355-1
grub-efi-arm64Ubuntu
Fixed in:2.06-2ubuntu14.1USN-6355-1
Fixed in:2.06-2ubuntu14.1USN-6355-1
grub-efi-arm64-binUbuntu
Fixed in:2.06-2ubuntu14.1USN-6355-1
Fixed in:2.06-2ubuntu14.1USN-6355-1
grub-efi-arm64-signedUbuntu
Fixed in:1.187.3~20.04.1+2.06-2ubuntu14.1USN-6355-1
Fixed in:1.187.3~22.04.1+2.06-2ubuntu14.1USN-6355-1
grub2-signedUbuntu
Fixed in:1.187.3~20.04.1USN-6355-1
Fixed in:1.187.3~22.04.1USN-6355-1
grub2-unsignedUbuntu
Fixed in:2.06-2ubuntu14.1USN-6355-1
Fixed in:2.06-2ubuntu14.1USN-6355-1
shimUbuntu
Fixed in:15.7-0ubuntu1USN-6355-1
Fixed in:15.7-0ubuntu1USN-6355-1
shim-signedUbuntu
Fixed in:1.40.9USN-6355-1
Fixed in:1.51.3USN-6355-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityLow

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

Exploit Intelligence

0.46%probability of exploitation in 30 days
37thpercentile

Low risk: more likely to be exploited than 37% of all known CVEs.

References

Related Vulnerabilities

Other CWE-787 (Out-of-bounds Write) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-22457Critical9.0100%KEV + RansomFix
CVE-2025-0282Critical9.0100%KEV + Ransom-
CVE-2015-3113Critical9.8100%KEVFix
CVE-2021-20038Critical9.8100%KEV + Ransom-
CVE-2023-4863High8.8100%KEVFix
CVE-2020-16040Medium6.5100%-Fix
Embed a live status badge for CVE-2021-3695
CVE-2021-3695 severity badge

Markdown

[![CVE-2021-3695](https://tridentstack.com/cve/badge/CVE-2021-3695.svg)](https://tridentstack.com/cve/CVE-2021-3695)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-3695"><img src="https://tridentstack.com/cve/badge/CVE-2021-3695.svg" alt="CVE-2021-3695"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.