CVE-2023-40551: Red Hat Enterprise Linux 7 · Out-of-bounds Read
Affects Red Hat Enterprise Linux 7Source CVE Database V5
Not known to be exploited · CVSS 5.1 Medium.
Data as of 26 Oct 2026, 12:29 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 33% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 29 Jan 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
- Apply official patches from Red Hat as soon as they become available to address the out-of-bounds read in Shim.
- Restrict and monitor high-privilege local access to systems running RHEL 7 to reduce the risk of exploitation by insiders or attackers with elevated rights.
- Implement strict boot process monitoring and logging to detect abnormal crashes or boot failures that could indicate exploitation attempts.
- Use secure boot configurations and ensure the integrity of bootloader components to minimize the risk of tampering.
- Employ host-based intrusion detection systems (HIDS) to alert on suspicious activities related to Shim or boot processes.
- Regularly audit system access and privilege assignments to limit exposure to high-privilege local users.
- Consider upgrading to newer supported versions of Red Hat Enterprise Linux where possible, as RHEL 7 is approaching end-of-life and may receive limited support.
- Develop and test incident response plans that include recovery from boot-time failures to minimize downtime in case of exploitation.
Description
A flaw was found in the MZ binary format in Shim. An out-of-bounds read may occur, leading to a crash or possible exposure of sensitive data during the system's boot phase.
References
- access.redhat.com/errata/RHSA-2024:1834 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:1835 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:1873 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:1876 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:1883 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:1902 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:1903 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:1959 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:2086 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2023-40551 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2259918 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/05/msg00009.html (opens in a new tab)