# CVE-2023-39950: Insufficient input validation in efibootguard

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2023-08-14T20:17:29.931Z
- Modified: 2026-06-17T06:13:00.833Z
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- siemens efibootguard: < 0.15; before 0.15

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L`
- NVD: CVSS:3.1 5.2 Medium `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L`

## References

- <https://github.com/siemens/efibootguard/security/advisories/GHSA-j6pp-7g99-24m7> (third-party-advisory)
- <https://github.com/siemens/efibootguard/blob/master/docs/API.md> (third-party-advisory)
- <https://github.com/siemens/efibootguard/blob/master/docs/TOOLS.md> (third-party-advisory)
- <https://github.com/siemens/efibootguard/blob/master/docs/TOOLS.md#setting-user-variables> (third-party-advisory)
- <https://github.com/siemens/efibootguard/tags> (third-party-advisory)

## Sources

- CVE List: [CVE-2023-39950](https://www.cve.org/CVERecord?id=CVE-2023-39950), CVE Terms of Use, modified 2024-10-01
- NVD: [CVE-2023-39950](https://nvd.nist.gov/vuln/detail/CVE-2023-39950), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-39950 · Whole record: https://cve.day/CVE-2023-39950.json · Rebuilt by cve.day 2026-11-25T22:58:27.119Z
