cve.bz

CVE-2023-40548 Year 2038 problem, Y2K38, Y2038, Epochalypse

7.4 highEPSS 0.4%Fix available

High (7.4). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.4 high
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-05-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 7: fixed in 0:15.8-3.el7
  • Red Hat Red Hat Enterprise Linux 7: fixed in 0:15.8-1.el7
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:15.8-4.el8_9
  • Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support: fixed in 0:15.8-2.el8_2
  • Red Hat Red Hat Enterprise Linux 8.2 Telecommunications Update Service: fixed in 0:15.8-2.el8_2
  • Red Hat Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions: fixed in 0:15.8-2.el8_2
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 0:15.8-2.el8_4
  • Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service: fixed in 0:15.8-2.el8_4
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Azure Linux, Alpaquita: fixed package versions per release
  • Vendor advisory: https://access.redhat.com/security/cve/CVE-2023-40548
  • Vendor advisory: https://bugzilla.redhat.com/show_bug.cgi?id=2241782

Ask an AI about this CVE

Show the promptExplain CVE-2023-40548 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-40548?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-40548?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-40548 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 70:15.8-3.el7
Red Hat Enterprise Linux 70:15.8-1.el7
Red Hat Enterprise Linux 80:15.8-4.el8_9
Red Hat Enterprise Linux 8.2 Advanced Update Support0:15.8-2.el8_2
Red Hat Enterprise Linux 8.2 Telecommunications Update Service0:15.8-2.el8_2
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions0:15.8-2.el8_2
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:15.8-2.el8_4
Red Hat Enterprise Linux 8.4 Telecommunications Update Service0:15.8-2.el8_4
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions0:15.8-2.el8_4
Red Hat Enterprise Linux 8.6 Extended Update Support0:15.8-2.el8_6
Red Hat Enterprise Linux 8.8 Extended Update Support0:15.8-2.el8
Red Hat Enterprise Linux 90:15.8-4.el9_3
Red Hat Enterprise Linux 9.0 Extended Update Support0:15.8-3.el9
Red Hat Enterprise Linux 9.0 Extended Update Support0:15.8-2.el9
Red Hat Enterprise Linux 9.2 Extended Update Support0:15.8-3.el9_2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10shim15.8-1~deb10u1DLA-3813-1
Debian12shim15.8-1~deb12u1DEBIAN-CVE-2023-40548
Debian13, 14shim15.8-1DEBIAN-CVE-2023-40548
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTSshim, shim-signedno fix listedUBUNTU-CVE-2023-40548
Ubuntu20.04:LTSshim-signed1.40.10UBUNTU-CVE-2023-40548
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTSshim15.8-0ubuntu1UBUNTU-CVE-2023-40548
Ubuntu22.04:LTSshim-signed1.51.4UBUNTU-CVE-2023-40548
Ubuntu24.04:LTSshim-signed1.58UBUNTU-CVE-2023-40548
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationmokutil, shim-x64, shim-ia32 and 2 more0:15.8-1.el7RHSA-2024:1959
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationshim, shim-unsigned-x64, shim-unsigned-ia320:15.8-3.el7RHSA-2024:1959
Red Hatenterprise_linux:8::baseosshim, shim-x64, shim-aa64 and 1 more0:15.8-4.el8_9RHSA-2024:1902
Red Hatenterprise_linux:9::baseosshim, shim-x64, shim-aa640:15.8-4.el9_3RHSA-2024:1903
Red Hatrhel_aus:8.2::baseos, rhel_e4s:8.2::baseos, rhel_tus:8.2::baseosshim, shim-x64, shim-ia320:15.8-2.el8_2RHSA-2024:1834
Red Hatrhel_aus:8.4::baseos, rhel_e4s:8.4::baseos, rhel_tus:8.4::baseosshim, shim-x64, shim-ia320:15.8-2.el8_4RHSA-2024:1873
Red Hatrhel_eus:8.6::baseosshim, shim-x64, shim-aa64 and 1 more0:15.8-2.el8_6RHSA-2024:2086
Red Hatrhel_eus:8.8::baseosshim, shim-x64, shim-aa64 and 1 more0:15.8-2.el8RHSA-2024:1883
Red Hatrhel_eus:8.8::crbshim-unsigned-x640:15.8-2.el8RHSA-2024:1883
Red Hatrhel_eus:9.0::appstreamshim-unsigned-aarch640:15.8-2.el9RHSA-2024:1835
Red Hatrhel_eus:9.0::baseosshim, shim-x64, shim-aa640:15.8-3.el9RHSA-2024:1835
Red Hatrhel_eus:9.0::crbshim-unsigned-x640:15.8-2.el9RHSA-2024:1835
1 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 13 moreshim15.8-150300.4.20.2SUSE-SU-2024:1368-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2shim15.8-150100.3.38.1SUSE-SU-2024:1461-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5shim15.8-25.30.1SUSE-SU-2024:1462-1
SUSELinux Micro 6.0pcr-oracle0.4.6-2.1SUSE-SU-2025:20136-1
SUSELinux Micro 6.0shim15.8-1.1SUSE-SU-2025:20136-1
openSUSELeap 15.5, Leap Micro 5.3, Leap Micro 5.4shim15.8-150300.4.20.2SUSE-SU-2024:1368-1
AlmaLinux8shim-x64, shim-aa64, shim-ia3215.8-4.el8_9.alma.1ALSA-2024:1902
AlmaLinux9shim-x64, shim-aa6415.8-4.el9_3.alma.1ALSA-2024:1903
Azure Linux2shim15.8-1AZL-34197
Azure Linux2shim-unsigned-x6415.8-1AZL-34093
Azure Linux3shim15.8-3AZL-35255
Azure Linux3shim-unsigned-aarch6415.8-3AZL-35263
Azure Linux3shim-unsigned-x6415.8-3AZL-35275
Alpaquita23, streamshim15.8-r0BELL-CVE-2023-40548
Alpaquita23, streamshim-signedno fix listedBELL-CVE-2023-40548

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

There's no available mitigation for this issue.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7shim-0:15.8-3.el7Fixed 2024-04-23RHSA-2024:1959
Red Hat Enterprise Linux 7shim-signed-0:15.8-1.el7Fixed 2024-04-23RHSA-2024:1959
Red Hat Enterprise Linux 8shim-0:15.8-4.el8_9Fixed 2024-04-18RHSA-2024:1902
Red Hat Enterprise Linux 8.2 Advanced Update Supportshim-0:15.8-2.el8_2Fixed 2024-04-16RHSA-2024:1834
Red Hat Enterprise Linux 8.2 Telecommunications Update Serviceshim-0:15.8-2.el8_2Fixed 2024-04-16RHSA-2024:1834
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionsshim-0:15.8-2.el8_2Fixed 2024-04-16RHSA-2024:1834
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportshim-0:15.8-2.el8_4Fixed 2024-04-18RHSA-2024:1873
Red Hat Enterprise Linux 8.4 Telecommunications Update Serviceshim-0:15.8-2.el8_4Fixed 2024-04-18RHSA-2024:1873
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionsshim-0:15.8-2.el8_4Fixed 2024-04-18RHSA-2024:1873
Red Hat Enterprise Linux 8.6 Extended Update Supportshim-0:15.8-2.el8_6Fixed 2024-04-29RHSA-2024:2086
Red Hat Enterprise Linux 8.8 Extended Update Supportshim-0:15.8-2.el8Fixed 2024-04-18RHSA-2024:1883
Red Hat Enterprise Linux 8.8 Extended Update Supportshim-unsigned-x64-0:15.8-2.el8Fixed 2024-04-18RHSA-2024:1883
Red Hat Enterprise Linux 9shim-0:15.8-4.el9_3Fixed 2024-04-18RHSA-2024:1903
Red Hat Enterprise Linux 9.0 Extended Update Supportshim-0:15.8-3.el9Fixed 2024-04-16RHSA-2024:1835
Red Hat Enterprise Linux 9.0 Extended Update Supportshim-unsigned-aarch64-0:15.8-2.el9Fixed 2024-04-16RHSA-2024:1835
Red Hat Enterprise Linux 9.0 Extended Update Supportshim-unsigned-x64-0:15.8-2.el9Fixed 2024-04-16RHSA-2024:1835
Red Hat Enterprise Linux 9.2 Extended Update Supportshim-0:15.8-3.el9_2Fixed 2024-04-18RHSA-2024:1876

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-40548.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON