Medium
Shim: out-of-bounds read in verify_buffer_authenticode() malformed pe file
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-40549
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 01:52 UTC · Revision 1
Source evidence
Shim: out-of-bounds read in verify_buffer_authenticode() malformed pe file
core-osv · Original sourcePublished 29 Jan 2024, 16:29 UTC
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
Complete source record
{
"id": "bd531e529e81571e2572fb413bb4a3bc244dac0c4d4fbcd4509cba6e4330a3b4",
"url": "https://osv.dev/vulnerability/CVE-2023-40549",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Shim: out-of-bounds read in verify_buffer_authenticode() malformed pe file",
"summary": "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.",
"evidence": "osv:CVE-2023-40549",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2023-40549",
"aliases": [
"CVE-2023-40549"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/rhboot/shim",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "5914984a1ffeab841f482c791426d7ca9935a5e6"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:redhat:shim:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "15.8"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"15.7",
"15.6",
"15.6-rc2",
"15.5",
"15.5-rc2",
"15.4",
"15.3",
"shim-15.3-rc4",
"shim-15.3-rc3",
"shim-15.3-rc2",
"shim-15.3-rc1",
"15.2",
"15",
"14",
"13",
"12",
"11",
"0.9",
"0.8",
"0.7",
"0.5",
"0.4",
"0.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-40549.json"
}
}
],
"modified": "2026-10-28T02:30:41.536903245Z",
"provider": "osv",
"references": [
"https://access.redhat.com/downloads/content/package-browser/",
"https://lists.debian.org/debian-lts-announce/2024/05/msg00009.html",
"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://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40549.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-40549",
"https://bugzilla.redhat.com/show_bug.cgi?id=2241797"
],
"provider_metadata": {
"cwe_ids": [
"CWE-125"
],
"cna_assigner": "redhat",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "0:15.8-3.el7"
},
{
"fixed": "0:15.8-1.el7"
},
{
"fixed": "0:15.8-4.el8_9"
},
{
"fixed": "0:15.8-2.el8_2"
},
{
"fixed": "0:15.8-2.el8_2"
},
{
"fixed": "0:15.8-2.el8_2"
},
{
"fixed": "0:15.8-2.el8_4"
},
{
"fixed": "0:15.8-2.el8_4"
},
{
"fixed": "0:15.8-2.el8_4"
},
{
"fixed": "0:15.8-2.el8_6"
},
{
"fixed": "0:15.8-2.el8"
},
{
"fixed": "0:15.8-2.el8"
},
{
"fixed": "0:15.8-4.el9_3"
},
{
"fixed": "0:15.8-3.el9"
},
{
"fixed": "0:15.8-2.el9"
},
{
"fixed": "0:15.8-2.el9"
},
{
"fixed": "0:15.8-3.el9_2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40549.json"
}
},
"related_cves": [
{
"value": "CVE-2023-40549",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509220,
"published_at": "2024-01-29T16:29:26.17+00:00"
}