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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-01-29 · Modified: 2025-11-20
- Aliases: UBUNTU-CVE-2023-40551, DEBIAN-CVE-2023-40551
- Record: https://cvemate.com/vulnerability/CVE-2023-40551 · JSON: https://cvemate.com/vulnerability/CVE-2023-40551/json

## Description

```text
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.
```

## Signals

- CVSS: 5.1 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:H
- EPSS: 0.394%, percentile 35.702%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian shim (Debian): \< 15.8-1~deb12u1 \| \< 15.8-1
- ubuntu shim (Ubuntu): All versions (No fix recorded) \| \< 15.8-0ubuntu1
- ubuntu shim-signed (Ubuntu): All versions (No fix recorded) \| \< 1.40.10 \| \< 1.51.4 \| \< 1.58
- fedoraproject fedora: 39
- redhat enterprise\_linux: 8.0 \| 9.0
- redhat shim: \< 15.8

## References

- <https://access.redhat.com/errata/RHSA-2024:1834>
- <https://access.redhat.com/errata/RHSA-2024:1835>
- <https://access.redhat.com/errata/RHSA-2024:1873>
- <https://access.redhat.com/errata/RHSA-2024:1876>
- <https://access.redhat.com/errata/RHSA-2024:1883>
- <https://access.redhat.com/errata/RHSA-2024:1902>
- <https://access.redhat.com/errata/RHSA-2024:1903>
- <https://access.redhat.com/errata/RHSA-2024:1959>
- <https://access.redhat.com/errata/RHSA-2024:2086>
- <https://access.redhat.com/security/cve/CVE-2023-40551>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2259918>
- <https://lists.debian.org/debian-lts-announce/2024/05/msg00009.html>
- <https://ubuntu.com/security/CVE-2023-40551>
- <https://www.cve.org/CVERecord?id=CVE-2023-40551>
- <https://security-tracker.debian.org/tracker/CVE-2023-40551>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-40551>

---

Data as of 2026-12-05T04:59:26.564Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
