Red Hat Enterprise Linux 7 Extended Lifecycle…: Out-of-bounds Write
CVE-2025-0624 is a high-severity out-of-bounds write vulnerability in Red Hat Enterprise Linux 7 Extended Lifecycle Support from Red Hat, with a CVSS 3.1 base score of 7.6 out of 10. It can be exploited from the same local network by an attacker with administrator privileges, without any action from a user. There is no confirmed exploitation so far. EPSS estimates a 1.41% chance of exploitation within 30 days, higher than 73% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Check which version of Red Hat Enterprise Linux 7 Extended Lifecycle Support you run against the affected versions below, and install the vendor's latest release.
Affected products and versions
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- AdjacentThe attacker must be on the same local network segment.
- Attack complexity
- HighSuccess depends on conditions outside the attacker's control.
- Privileges required
- HighAdministrator-level access is required first.
- User interaction
- NoneNo action by a victim is required.
- Scope
- ChangedThe attack can reach beyond the vulnerable component into other systems.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H. Scored by CNA (redhat.com).
Official description
A flaw was found in grub2. During the network boot process, when trying to search for the configuration file, grub copies data from a user controlled environment variable into an internal buffer using the grub_strcpy() function. During this step, it fails to consider the environment variable length when allocating the internal buffer, resulting in an out-of-bounds write. If correctly exploited, this issue may result in remote code execution through the same network segment grub is searching for the boot information, which can be used to by-pass secure boot protections.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
How developers prevent this class of flaw
- Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, many languages that perform their own memory management, such as Java and Perl, are not subject to buffer overflows. Other languages, such as Ada and C#, typically provide overflow protection, but the protection can be disabled by the programmer. Be wary that a language's interface to native code may still be subject to overflows, even if the language itself is theoretically safe.
- Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Examples include the Safe C String Library (SafeStr) by Messier and Viega, and the Strsafe.h library from Microsoft. These libraries provide safer versions of overflow-prone string-handling functions.
- Use automatic buffer overflow detection mechanisms that are offered by certain compilers or compiler extensions. Examples include: the Microsoft Visual Studio /GS flag, Fedora/Red Hat FORTIFY_SOURCE GCC flag, StackGuard, and ProPolice, which provide various mechanisms including canary-based detection and range/index checking. D3-SFCV (Stack Frame Canary Validation) from D3FEND discusses canary-based detection in detail.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Other references
- access.redhat.com/errata/RHSA-2025:2521
- access.redhat.com/errata/RHSA-2025:2653
- access.redhat.com/errata/RHSA-2025:2655
- access.redhat.com/errata/RHSA-2025:2675
- access.redhat.com/errata/RHSA-2025:2784
- access.redhat.com/errata/RHSA-2025:2799
- access.redhat.com/errata/RHSA-2025:2867
- access.redhat.com/errata/RHSA-2025:2869
- access.redhat.com/errata/RHSA-2025:3297
- access.redhat.com/errata/RHSA-2025:3301
- access.redhat.com/errata/RHSA-2025:3367
- access.redhat.com/errata/RHSA-2025:3396
- access.redhat.com/errata/RHSA-2025:3573
- access.redhat.com/errata/RHSA-2025:3577
- access.redhat.com/errata/RHSA-2025:3780
Other vulnerabilities in Red Hat Enterprise Linux 7 Extended Lifecycle Support
- 8.6 High severity
- 8.6 High severity
- 8.6 High severity
- 8.6 High severity
- 7.5 High severity
- 7.8 High severity
Recent Out-of-bounds Write vulnerabilities
- 8.8 High severity
- 9.8 Critical severity
- 7.0 High severity
- 7.7 High severity
- 7.3 High severity
- 7.5 High severity
Spotted an error? Tell us.