CVE-2022-28737
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-28737 is a security vulnerability in the shim bootloader that affects EFI executable handling. The vulnerability was discovered in 2022 and affects shim versions up to (excluding) 15.6. The issue exists in the handle_image() function when shim attempts to load and execute crafted EFI executables (NVD, MITRE).

Technical details

The vulnerability stems from an overflow condition in the handle_image() function, which processes the SizeOfRawData field from each section to be loaded in EFI executables. The function incorrectly handles these values, potentially allowing out-of-bound writes into memory. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could allow an attacker to perform out-of-bound writes into memory, potentially leading to arbitrary code execution. This could compromise the security of the boot process and potentially circumvent secure boot protections (Openwall).

Mitigation and workarounds

The vulnerability was fixed in shim version 15.7. Red Hat and other vendors have released security updates to address this issue. Full mitigation requires updated shim with latest SBAT (Secure Boot Advanced Targeting) data provided by distributions and vendors. The fix is available in the -updates pocket for various Ubuntu releases including focal and jammy (Red Hat, Ubuntu).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management