# CVE-2024-1048: Grub2: grub2-set-bootflag can be abused by local (pseudo-)users

- Severity: Low 3.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2024-02-06T17:30:35.360Z
- Modified: 2026-11-05T12:17:46.710Z
- Weaknesses: CWE-459
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

A flaw was found in the grub2-set-bootflag utility of grub2. After the fix of CVE-2019-14865, grub2-set-bootflag will create a temporary file with the new grubenv content and rename it to the original grubenv file. If the program is killed before the rename operation, the temporary file will not be removed and may fill the filesystem when invoked multiple times, resulting in a filesystem out of free inodes or blocks.

(As written by CVE List.)

## Affected

- grub2: no versions given (not affected: before *; from 1:2.02-156.el8 before *; from 1:2.06-77.el9 before *)
- grub: no versions given
- gnu grub2: no versions given
- redhat enterprise_linux: 8.0; 9.0
- fedoraproject fedora: 40

## Every score

- redhat: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://access.redhat.com/errata/RHSA-2024:2456> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:3184> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-1048> (vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2256827> (issue-tracking, vendor-advisory)
- <https://www.openwall.com/lists/oss-security/2024/02/06/3> (mailing-list, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2024/02/06/3>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XRZQCVZ3XOASVFT6XLO7F2ZXOLOHIJZQ/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YSJAEGRR3XHMBBBKYOVMII4P34IXEYPE/>
- <https://security.netapp.com/advisory/ntap-20240223-0007/>

## Sources

- CVE List: [CVE-2024-1048](https://www.cve.org/CVERecord?id=CVE-2024-1048), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2024-1048](https://nvd.nist.gov/vuln/detail/CVE-2024-1048), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2024-1048 · Whole record: https://cve.day/CVE-2024-1048.json · Rebuilt by cve.day 2026-11-25T22:58:36.617Z
