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

Status: published. Published: 2024-02-06. Updated: 2026-11-05.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

-  /  (grub2): ≥ 0; < * (unaffected, git); unaffected at 5425919. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (grub2): ≥ 1:2.02-156.el8; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9 (grub2): ≥ 1:2.06-77.el9; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 6 (grub): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 7 (grub2): Version range not reported. Source: CNA: redhat

## Severity and prioritization

- 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; source: CNA: redhat

- CISA KEV: No listing in collected sources

- EPSS: 0.27% as of 2026-11-04; percentile 19.24%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-459

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://access.redhat.com/errata/RHSA-2024:2456 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2024:3184 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/security/cve/CVE-2024-1048 (CNA: redhat; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2256827 (CNA: redhat; issue-tracking, x_refsource_REDHAT)

- https://www.openwall.com/lists/oss-security/2024/02/06/3 (CNA: redhat)

- http://www.openwall.com/lists/oss-security/2024/02/06/3 (ADP: CVE; x_transferred)

- https://access.redhat.com/errata/RHSA-2024:2456 (ADP: CVE; vendor-advisory, x_refsource_REDHAT, x_transferred)

- https://access.redhat.com/errata/RHSA-2024:3184 (ADP: CVE; vendor-advisory, x_refsource_REDHAT, x_transferred)

- https://access.redhat.com/security/cve/CVE-2024-1048 (ADP: CVE; vdb-entry, x_refsource_REDHAT, x_transferred)

- https://bugzilla.redhat.com/show_bug.cgi?id=2256827 (ADP: CVE; issue-tracking, x_refsource_REDHAT, x_transferred)

- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XRZQCVZ3XOASVFT6XLO7F2ZXOLOHIJZQ/ (ADP: CVE; x_transferred)

- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YSJAEGRR3XHMBBBKYOVMII4P34IXEYPE/ (ADP: CVE; x_transferred)

- https://security.netapp.com/advisory/ntap-20240223-0007/ (ADP: CVE; x_transferred)

- https://www.openwall.com/lists/oss-security/2024/02/06/3 (ADP: CVE; x_transferred)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2024-1048; retrieved 2026-11-05; source updated 2026-11-05

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2024-1048; retrieved 2026-11-05; source updated Not reported

Revision: a046ddaab2066acf0888f3f2e95920113b9bb2106ba9aa5b98ecfb9d67bfaf8f

Canonical: https://y2.dev/cve/CVE-2024-1048

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.