# CVE-2023-40551: Shim: out of bounds read when parsing mz binaries

- Severity: Medium 5.1 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:H`
- 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.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2024-01-29T16:46:43.579Z
- Modified: 2026-06-17T06:18:26.513Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- shim: no versions given (not affected: from 0:15.8-3.el7 before *; from 0:15.8-4.el8_9 before *; from 0:15.8-2.el8_2 before *; from 0:15.8-2.el8_4 before *; from 0:15.8-2.el8_6 before *; from 0:15.8-2.el8 before *; from 0:15.8-4.el9_3 before *; from 0:15.8-3.el9 before *; from 0:15.8-3.el9_2 before *)
- shim-signed: no versions given (not affected: from 0:15.8-1.el7 before *)
- shim-unsigned-x64: no versions given (not affected: from 0:15.8-2.el8 before *; from 0:15.8-2.el9 before *)
- shim-unsigned-aarch64: no versions given (not affected: from 0:15.8-2.el9 before *)
- redhat shim: before 15.8
- fedoraproject fedora: 39
- redhat enterprise_linux: 8.0; 9.0

## Every score

- redhat: CVSS:3.1 5.1 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:H`
- NVD: CVSS:3.1 5.1 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2024:1834> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:1835> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:1873> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:1876> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:1883> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:1902> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:1903> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:1959> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2086> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-40551> (vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2259918> (issue-tracking, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/05/msg00009.html>

## Sources

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

---

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