CVE-2021-3696
Reported by redhat · Published July 6, 2022
A heap out-of-bounds write may heppen during the handling of Huffman tables in the PNG reader. This may lead to data corruption in the heap space. Confidentiality, Integrity and Availablity impact may be considered Low as it's very complex to an attacker control the encoding and positioning of corrupted Huffman entries to achieve results such as arbitrary code execution and/or secure boot circumvention. This flaw affects grub2 versions prior grub-2.12.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| grub2-efi-x64-cdboot | Amazon Linux | 1:2.06-61.amzn2023.0.3, 1:2.06-14.amzn2 |
| grub2-efi-x64-ec2 | Amazon Linux | 1:2.06-61.amzn2023.0.3, 1:2.06-14.amzn2 |
| grub2-efi-x64 | Amazon Linux | 1:2.06-61.amzn2023.0.3, 1:2.06-14.amzn2 |
| grub2-emu | Amazon Linux | 1:2.06-61.amzn2023.0.3, 1:2.06-14.amzn2 |
| grub2-efi-x64-modules | Amazon Linux | 1:2.06-61.amzn2023.0.3, 1:2.06-14.amzn2 |
| grub2-efi-aa64-modules | Amazon Linux | 1:2.06-61.amzn2023.0.3, 1:2.06-14.amzn2 |
| grub2-tools-minimal | Amazon Linux | 1:2.06-61.amzn2023.0.3, 1:2.06-14.amzn2 |
| grub2-efi-aa64 | Amazon Linux | 1:2.06-61.amzn2023.0.3, 1:2.06-14.amzn2 |
| grub2-common | Amazon Linux | 1:2.06-61.amzn2023.0.3, 1:2.06-14.amzn2 |
| grub2-efi-aa64-cdboot | Amazon Linux | 1:2.06-61.amzn2023.0.3, 1:2.06-14.amzn2 |
| grub2-tools-efi | Amazon Linux | 1:2.06-61.amzn2023.0.3, 1:2.06-14.amzn2 |
| grub2-tools | Amazon Linux | 1:2.06-61.amzn2023.0.3, 1:2.06-14.amzn2 |
8 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | grub2 | grub-2.06 |
| amazon:2023 | grub2-efi-x64-cdboot | 0 |
| amazon:2023 | grub2-efi-x64-ec2 | 0 |
| amazon:2 | grub2-efi-x64 | 0 |
| amazon:2023 | grub2-emu | 0 |
| amazon:2 | grub2-efi-x64-modules | 0 |
| amazon:2 | grub2-efi-aa64-modules | 0 |
| amazon:2 | grub2-tools-minimal | 0 |
| amazon:2 | grub2-efi-aa64 | 0 |
| amazon:2023 | grub2-common | 0 |
| amazon:2023 | grub2-efi-aa64-cdboot | 0 |
| amazon:2 | grub2-tools-efi | 0 |
| amazon:2 | grub2-emu | 0 |
| amazon:2023 | grub2-efi-aa64 | 0 |
| amazon:2023 | grub2-efi-x64 | 0 |
| amazon:2 | grub2-efi-x64-ec2 | 0 |
| amazon:2023 | grub2-tools | 0 |
| amazon:2023 | grub2-tools-minimal | 0 |
| amazon:2 | grub2-efi-aa64-ec2 | 0 |
| amazon:2023 | grub2-efi-aa64-ec2 | 0 |
…and 18 more
Timeline
- Jun 7, 2022 CVE Published
- Jul 7, 2022 EPSS Score (30 in total, the first dated here)
- Feb 13, 2025 PoC Published (2 in total, the first dated here)
- Mar 10, 2026 Security Advisory (25 in total, the first dated here)
- Mar 17, 2026 Distribution Patch (22 in total, the first dated here)
- Jul 27, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-3696
vulnetix vdb fixes CVE-2021-3696
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-3696/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- GLSA-202209-12 vendor-advisoryx_refsource_GENTOO
- x_refsource_CONFIRM