CVE-2023-40549
published 2024-01-29CVE-2023-40549: 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…
PriorityP422medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.41%
33.0th percentile
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.
Affected
24 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | shim | < shim 15.8-1~deb12u1 (bookworm) | shim 15.8-1~deb12u1 (bookworm) |
| fedoraproject | fedora | — | — |
| msrc | azl3_shim-unsigned-aarch64_15.4-2_on_azure_linux_3.0 | — | — |
| msrc | azl3_shim-unsigned-aarch64_15.8-5_on_azure_linux_3.0 | — | — |
| msrc | azl3_shim-unsigned-x64_15.4-3_on_azure_linux_3.0 | — | — |
| msrc | azl3_shim-unsigned-x64_15.8-5_on_azure_linux_3.0 | — | — |
| msrc | azl3_shim_15.4-2_on_azure_linux_3.0 | — | — |
| msrc | azl3_shim_15.8-5_on_azure_linux_3.0 | — | — |
| msrc | azure_linux_3.0_arm | — | — |
| msrc | azure_linux_3.0_x64 | — | — |
| msrc | cbl2_shim-unsigned-aarch64_15-5_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_shim-unsigned-x64_15.4-2_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_shim-unsigned-x64_15.8-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_shim_15.4-2_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_shim_15.8-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | shim | < 15.8 | 15.8 |
| redhat | shim | >= 0 < 15.8-1~deb11u1 | 15.8-1~deb11u1 |
| redhat | shim | >= 0 < 15.8-1~deb12u1 | 15.8-1~deb12u1 |
| redhat | shim | >= 0 < 15.8-1 | 15.8-1 |
| redhat | shim | >= 0 < 15.8-1 | 15.8-1 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian6.2MEDIUM
vendor_redhat6.2MEDIUM
vendor_msrc5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
shim: Out-of-bounds read in verify_buffer_authenticode() malformed PE file
vendor_redhat·2024-01-23·CVSS 6.2
CVE-2023-40549 [MEDIUM] CWE-125 shim: Out-of-bounds read in verify_buffer_authenticode() malformed PE file
shim: Out-of-bounds read in verify_buffer_authenticode() malformed PE file
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.
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.
Mitigation: There's no available mitigation for this issue.
Microsoft
Shim: out-of-bounds read in verify_buffer_authenticode() malformed pe file
vendor_msrc·2024-01-09·CVSS 5.5
CVE-2023-40549 [MEDIUM] CWE-125 Shim: out-of-bounds read in verify_buffer_authenticode() malformed pe file
Shim: out-of-bounds read in verify_buffer_authenticode() malformed pe file
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
redhat: redhat
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Ref
Debian
CVE-2023-40549: shim - An out-of-bounds read flaw was found in Shim due to the lack of proper boundary ...
vendor_debian·2023·CVSS 6.2
CVE-2023-40549 [MEDIUM] CVE-2023-40549: shim - An out-of-bounds read flaw was found in Shim due to the lack of proper boundary ...
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.
Scope: local
bookworm: resolved (fixed in 15.8-1~deb12u1)
bullseye: resolved (fixed in 15.8-1~deb11u1)
forky: resolved (fixed in 15.8-1)
sid: resolved (fixed in 15.8-1)
trixie: resolved (fixed in 15.8-1)
GHSA
GHSA-86pm-fpxw-jjjc: 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
ghsa_unreviewed·2024-01-29
CVE-2023-40549 [MEDIUM] CWE-125 GHSA-86pm-fpxw-jjjc: 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
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.
OSV
CVE-2023-40549: 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
osv·2024-01-29·CVSS 5.5
CVE-2023-40549 [MEDIUM] CVE-2023-40549: 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
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://access.redhat.com/errata/RHSA-2024:1834https://access.redhat.com/errata/RHSA-2024:1835https://access.redhat.com/errata/RHSA-2024:1873https://access.redhat.com/errata/RHSA-2024:1876https://access.redhat.com/errata/RHSA-2024:1883https://access.redhat.com/errata/RHSA-2024:1902https://access.redhat.com/errata/RHSA-2024:1903https://access.redhat.com/errata/RHSA-2024:1959https://access.redhat.com/errata/RHSA-2024:2086https://access.redhat.com/security/cve/CVE-2023-40549https://bugzilla.redhat.com/show_bug.cgi?id=2241797https://access.redhat.com/errata/RHSA-2024:1834https://access.redhat.com/errata/RHSA-2024:1835https://access.redhat.com/errata/RHSA-2024:1873https://access.redhat.com/errata/RHSA-2024:1876https://access.redhat.com/errata/RHSA-2024:1883https://access.redhat.com/errata/RHSA-2024:1902https://access.redhat.com/errata/RHSA-2024:1903https://access.redhat.com/errata/RHSA-2024:1959https://access.redhat.com/errata/RHSA-2024:2086https://access.redhat.com/security/cve/CVE-2023-40549https://bugzilla.redhat.com/show_bug.cgi?id=2241797https://lists.debian.org/debian-lts-announce/2024/05/msg00009.html
2024-01-29
Published