CVE-2023-39950Insufficient input validation in efibootguard
efibootguard is a simple UEFI boot loader with support for safely switching between current and updated partition sets. Insufficient or missing validation and sanitization of input from untrustworthy bootloader environment files can cause crashes and probably also code injections into `bg_setenv`) or programs using `libebgenv`. This is triggered when the affected components try to modify a manipulated environment, in particular its user variables. Furthermore, `bg_printenv` may crash over invalid read accesses or report invalid results. Not affected by this issue is EFI Boot Guard's bootloader EFI binary. EFI Boot Guard release v0.15 contains required patches to sanitize and validate the bootloader environment prior to processing it in userspace. Its library and tools should be updated, so should programs statically linked against it. An update of the bootloader EFI executable is not required. The only way to prevent the issue with an unpatched EFI Boot Guard version is to avoid accesses to user variables, specifically modifications to them.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | efibootguard | Fix pending | UBUNTU-CVE-2023-39950 | |
| Ubuntu 26.04 | efibootguard | Under investigation | UBUNTU-CVE-2023-39950 | |
| Ubuntu 25.10 | efibootguard | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-39950 | |
| Ubuntu 24.04 | efibootguard | Under investigation | UBUNTU-CVE-2023-39950 | |
| Debian 14 | efibootguard | Fixed | 0.15-1 | DEBIAN-CVE-2023-39950 |
| Debian 13 | efibootguard | Fixed | 0.15-1 | DEBIAN-CVE-2023-39950 |
| Debian 12 | efibootguard | Fixed | 0.13-2+deb12u1 | DEBIAN-CVE-2023-39950 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- siemens efibootguard: affected: < 0.15
References
- https://github.com/siemens/efibootguard/security/advisories/GHSA-j6pp-7g99-24m7
- https://github.com/siemens/efibootguard/blob/master/docs/API.md
- https://github.com/siemens/efibootguard/blob/master/docs/TOOLS.md
- https://github.com/siemens/efibootguard/blob/master/docs/TOOLS.md#setting-user-variables
- https://github.com/siemens/efibootguard/tags
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.