# CVE-2023-40549: Shim: out-of-bounds read in verify\_buffer\_authenticode() malformed pe file

- Priority: **Routine**
- Reason: Not severe (CVSS 6.2, 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-40549, DEBIAN-CVE-2023-40549
- Record: https://cvemate.com/vulnerability/CVE-2023-40549 · JSON: https://cvemate.com/vulnerability/CVE-2023-40549/json

## Description

```text
An out-of-bounds read flaw was found in Shim due to the lack of proper boundary verification during the load of a PE binary. This flaw allows an attacker to load a crafted PE binary, triggering the issue and crashing Shim, resulting in a denial of service.
```

## Signals

- CVSS: 6.2 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.409%, percentile 37.212%, 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-40549>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2241797>
- <https://lists.debian.org/debian-lts-announce/2024/05/msg00009.html>
- <https://ubuntu.com/security/CVE-2023-40549>
- <https://www.cve.org/CVERecord?id=CVE-2023-40549>
- <https://security-tracker.debian.org/tracker/CVE-2023-40549>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-40549>

---

Data as of 2026-12-05T03:51:34.745Z. 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
