CVE-2023-40548
published high CVSS 3.1 · 7.4Shim: interger overflow leads to heap buffer overflow in verify_sbat_section on 32-bits systems
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 7 | shim0:15.8-3.el7 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 7 | shim-signed0:15.8-1.el7 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 8 | shim0:15.8-4.el8_9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shimRed Hat Enterprise Linux 8.2 Advanced Update Support · 0:15.8-2.el8_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | buster | shim | Advisory build | 15.8-1~deb10u1 | DLA-3813-1 |
| Oracle Linux | 7 | shim-unsigned-x64x86_64 | Advisory build | 0:15.8-2.0.3.el7 | ELSA-2024-1959 |
| Red Hat Enterprise Linux | RHEL-7 | shimsrc | Advisory build | 15.8-3.el7 | RHSA-2024:1959 |
Show 77 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | shimRed Hat Enterprise Linux 8.2 Telecommunications Update Service · 0:15.8-2.el8_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shimRed Hat Enterprise Linux 8.2 Update Services for SAP Solutions · 0:15.8-2.el8_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shimRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support · 0:15.8-2.el8_4 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shimRed Hat Enterprise Linux 8.4 Telecommunications Update Service · 0:15.8-2.el8_4 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shimRed Hat Enterprise Linux 8.4 Update Services for SAP Solutions · 0:15.8-2.el8_4 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shimRed Hat Enterprise Linux 8.6 Extended Update Support · 0:15.8-2.el8_6 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shimRed Hat Enterprise Linux 8.8 Extended Update Support · 0:15.8-2.el8 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shim-unsigned-x64Red Hat Enterprise Linux 8.8 Extended Update Support · 0:15.8-2.el8 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 9 | shim0:15.8-4.el9_3 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shimRed Hat Enterprise Linux 9.0 Extended Update Support · 0:15.8-3.el9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shim-unsigned-aarch64Red Hat Enterprise Linux 9.0 Extended Update Support · 0:15.8-2.el9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shim-unsigned-x64Red Hat Enterprise Linux 9.0 Extended Update Support · 0:15.8-2.el9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shimRed Hat Enterprise Linux 9.2 Extended Update Support · 0:15.8-3.el9_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| SUSE / openSUSE | SLE-12-SP5 | shimx86_64 | Advisory build | 15.8-25.30.1 | SUSE-SU-2024:1462-1 |
| AlmaLinux | 8 | shim-aa64 | Advisory build | 15.8-4.el8_9.alma.1 | ALSA-2024:1902 |
| Red Hat Enterprise Linux | RHEL-7 | shim-signedsrc | Advisory build | 15.8-1.el7 | RHSA-2024:1959 |
| Red Hat Enterprise Linux | RHEL-7 | shim-unsigned-x64x86_64 | Advisory build | 15.8-3.el7 | RHSA-2024:1959 |
| Red Hat Enterprise Linux | RHEL-8 | shimsrc | Advisory build | 15.8-2.el8 | RHSA-2024:1883 |
| Red Hat Enterprise Linux | RHEL-8 | shimsrc | Advisory build | 15.8-2.el8_2 | RHSA-2024:1834 |
| Red Hat Enterprise Linux | RHEL-8 | shimsrc | Advisory build | 15.8-2.el8_4 | RHSA-2024:1873 |
| Red Hat Enterprise Linux | RHEL-8 | shimsrc | Advisory build | 15.8-2.el8_6 | RHSA-2024:2086 |
| Red Hat Enterprise Linux | RHEL-8 | shimsrc | Advisory build | 15.8-4.el8_9 | RHSA-2024:1902 |
| Red Hat Enterprise Linux | RHEL-9 | shimsrc | Advisory build | 15.8-3.el9 | RHSA-2024:1835 |
| Red Hat Enterprise Linux | RHEL-9 | shimsrc | Advisory build | 15.8-3.el9_2 | RHSA-2024:1876 |
| Red Hat Enterprise Linux | RHEL-9 | shimsrc | Advisory build | 15.8-4.el9_3 | RHSA-2024:1903 |
| Red Hat Enterprise Linux | RHEL-9 | shim-unsigned-aarch64aarch64 | Advisory build | 15.8-2.el9 | RHSA-2024:1835 |
| Red Hat Enterprise Linux | RHEL-9 | shim-unsigned-aarch64src | Advisory build | 15.8-2.el9 | RHSA-2024:1835 |
| SUSE / openSUSE | SLE-15-SP2 | shimx86_64 | Advisory build | 15.8-150100.3.38.1 | SUSE-SU-2024:1461-1 |
| SUSE / openSUSE | SLE-15-SP3 | shimaarch64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | SLE-15-SP3 | shimx86_64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | SLE-15-SP4 | shimaarch64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | SLE-15-SP4 | shimx86_64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | SLE-15-SP5 | shimaarch64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | SLE-15-SP5 | shimx86_64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | SLE-5 | shimaarch64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | SLE-5 | shimx86_64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | shimaarch64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | shimx86_64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.3 | shimaarch64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.3 | shimx86_64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.4 | shimaarch64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.4 | shimx86_64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| AlmaLinux | 8 | shim-ia32 | Advisory build | 15.8-4.el8_9.alma.1 | ALSA-2024:1902 |
| AlmaLinux | 8 | shim-x64 | Advisory build | 15.8-4.el8_9.alma.1 | ALSA-2024:1902 |
| AlmaLinux | 9 | shim-aa64 | Advisory build | 15.8-4.el9_3.alma.1 | ALSA-2024:1903 |
| AlmaLinux | 9 | shim-x64 | Advisory build | 15.8-4.el9_3.alma.1 | ALSA-2024:1903 |
| Oracle Linux | 7 | mokutilx86_64 | Advisory build | 0:15.8-1.0.3.el7 | ELSA-2024-1959 |
| Oracle Linux | 7 | shim-x64x86_64 | Advisory build | 0:15.8-1.0.3.el7 | ELSA-2024-1959 |
| Oracle Linux | 8 | shim-aa64aarch64 | Advisory build | 0:15.8-4.0.1.el8 | ELSA-2024-1902 |
| Oracle Linux | 8 | shim-ia32x86_64 | Advisory build | 0:15.8-4.0.1.el8 | ELSA-2024-1902 |
| Oracle Linux | 8 | shim-x64x86_64 | Advisory build | 0:15.8-4.0.1.el8 | ELSA-2024-1902 |
| Oracle Linux | 9 | shim-aa64aarch64 | Advisory build | 0:15.8-1.0.3.el9 | ELSA-2024-1903 |
| Oracle Linux | 9 | shim-x64x86_64 | Advisory build | 0:15.8-1.0.3.el9 | ELSA-2024-1903 |
| Red Hat Enterprise Linux | RHEL-7 | mokutilx86_64 | Advisory build | 15.8-1.el7 | RHSA-2024:1959 |
| Red Hat Enterprise Linux | RHEL-7 | mokutil-debuginfox86_64 | Advisory build | 15.8-1.el7 | RHSA-2024:1959 |
| Red Hat Enterprise Linux | RHEL-7 | shim-ia32x86_64 | Advisory build | 15.8-1.el7 | RHSA-2024:1959 |
| Red Hat Enterprise Linux | RHEL-7 | shim-unsigned-ia32x86_64 | Advisory build | 15.8-3.el7 | RHSA-2024:1959 |
| Red Hat Enterprise Linux | RHEL-7 | shim-x64x86_64 | Advisory build | 15.8-1.el7 | RHSA-2024:1959 |
| Red Hat Enterprise Linux | RHEL-8 | shim-aa64aarch64 | Advisory build | 15.8-2.el8 | RHSA-2024:1883 |
| Red Hat Enterprise Linux | RHEL-8 | shim-aa64aarch64 | Advisory build | 15.8-2.el8_6 | RHSA-2024:2086 |
| Red Hat Enterprise Linux | RHEL-8 | shim-aa64aarch64 | Advisory build | 15.8-4.el8_9 | RHSA-2024:1902 |
| Red Hat Enterprise Linux | RHEL-8 | shim-ia32x86_64 | Advisory build | 15.8-2.el8 | RHSA-2024:1883 |
| Red Hat Enterprise Linux | RHEL-8 | shim-ia32x86_64 | Advisory build | 15.8-2.el8_2 | RHSA-2024:1834 |
| Red Hat Enterprise Linux | RHEL-8 | shim-ia32x86_64 | Advisory build | 15.8-2.el8_4 | RHSA-2024:1873 |
| Red Hat Enterprise Linux | RHEL-8 | shim-ia32x86_64 | Advisory build | 15.8-2.el8_6 | RHSA-2024:2086 |
| Red Hat Enterprise Linux | RHEL-8 | shim-ia32x86_64 | Advisory build | 15.8-4.el8_9 | RHSA-2024:1902 |
| Red Hat Enterprise Linux | RHEL-8 | shim-x64x86_64 | Advisory build | 15.8-2.el8 | RHSA-2024:1883 |
| Red Hat Enterprise Linux | RHEL-8 | shim-x64x86_64 | Advisory build | 15.8-2.el8_2 | RHSA-2024:1834 |
| Red Hat Enterprise Linux | RHEL-8 | shim-x64x86_64 | Advisory build | 15.8-2.el8_4 | RHSA-2024:1873 |
| Red Hat Enterprise Linux | RHEL-8 | shim-x64x86_64 | Advisory build | 15.8-2.el8_6 | RHSA-2024:2086 |
| Red Hat Enterprise Linux | RHEL-8 | shim-x64x86_64 | Advisory build | 15.8-4.el8_9 | RHSA-2024:1902 |
| Red Hat Enterprise Linux | RHEL-9 | shim-aa64aarch64 | Advisory build | 15.8-3.el9 | RHSA-2024:1835 |
| Red Hat Enterprise Linux | RHEL-9 | shim-aa64aarch64 | Advisory build | 15.8-3.el9_2 | RHSA-2024:1876 |
| Red Hat Enterprise Linux | RHEL-9 | shim-aa64aarch64 | Advisory build | 15.8-4.el9_3 | RHSA-2024:1903 |
| Red Hat Enterprise Linux | RHEL-9 | shim-x64x86_64 | Advisory build | 15.8-3.el9 | RHSA-2024:1835 |
| Red Hat Enterprise Linux | RHEL-9 | shim-x64x86_64 | Advisory build | 15.8-3.el9_2 | RHSA-2024:1876 |
| Red Hat Enterprise Linux | RHEL-9 | shim-x64x86_64 | Advisory build | 15.8-4.el9_3 | RHSA-2024:1903 |
Description
A buffer overflow was found in Shim in the 32-bit system. The overflow happens due to an addition operation involving a user-controlled value parsed from the PE binary being used by Shim. This value is further used for memory allocation operations, leading to a heap-based buffer overflow. This flaw causes memory corruption and can lead to a crash or data integrity issues during the boot phase.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.4 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 7 | 0:15.8-3.el7 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | 0:15.8-1.el7 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 0:15.8-4.el8_9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | 0:15.8-2.el8_2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.2 Telecommunications Update Service | 0:15.8-2.el8_2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | 0:15.8-2.el8_2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 0:15.8-2.el8_4 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.4 Telecommunications Update Service | 0:15.8-2.el8_4 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | 0:15.8-2.el8_4 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | 0:15.8-2.el8_6 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 0:15.8-2.el8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 0:15.8-2.el8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:15.8-4.el9_3 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | 0:15.8-3.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | 0:15.8-2.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | 0:15.8-2.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 0:15.8-3.el9_2 and later (unaffected · rpm)Default: affected | redhat · cna |
Weaknesses
1- CWE-190 Integer Overflow or Wraparound
References
12- RHSA-2024:1834 https://access.redhat.com/errata/RHSA-2024:1834
- RHSA-2024:1835 https://access.redhat.com/errata/RHSA-2024:1835
- RHSA-2024:1873 https://access.redhat.com/errata/RHSA-2024:1873
- RHSA-2024:1876 https://access.redhat.com/errata/RHSA-2024:1876
- RHSA-2024:1883 https://access.redhat.com/errata/RHSA-2024:1883
- RHSA-2024:1902 https://access.redhat.com/errata/RHSA-2024:1902
- RHSA-2024:1903 https://access.redhat.com/errata/RHSA-2024:1903
- RHSA-2024:1959 https://access.redhat.com/errata/RHSA-2024:1959
- RHSA-2024:2086 https://access.redhat.com/errata/RHSA-2024:2086
- https://access.redhat.com/security/cve/CVE-2023-40548
- RHBZ#2241782 https://bugzilla.redhat.com/show_bug.cgi?id=2241782
- https://lists.debian.org/debian-lts-announce/2024/05/msg00009.html
Provider assertions
3redhat · cna
Shim: interger overflow leads to heap buffer overflow in verify_sbat_section on 32-bits systems
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9ede6d9d10828af7ab77de5335370b42bf504c51b98011b557aa2a077a2ab7c3
- Ingested
- 23 Sep 2026, 08:11:15 UTC
- Source record
- Official CVE record