7.4
CWE
119 190 787
Advisory Published
CVE Published
Updated

CVE-2023-40548: Shim: interger overflow leads to heap buffer overflow in verify_sbat_section on 32-bits systems

First published: Mon Oct 02 2023(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/shim<15.8
15.8
Red Hat Shim<15.8
Red Hat Shim=15.8-rc1
Red Hat Fedora=39

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2023-40548?

    CVE-2023-40548 is classified as a critical vulnerability due to the potential for a heap-based buffer overflow.

  • How do I fix CVE-2023-40548?

    To mitigate CVE-2023-40548, you should upgrade to the latest version of Shim, specifically version 15.8 or higher.

  • What software is affected by CVE-2023-40548?

    CVE-2023-40548 affects the Shim package in Red Hat and Fedora systems, specifically versions up to 15.8 and 39 respectively.

  • What risks does CVE-2023-40548 pose to my system?

    Exploiting CVE-2023-40548 could allow an attacker to execute arbitrary code on the affected systems, compromising their integrity.

  • Is there a workaround for CVE-2023-40548?

    Yes, temporarily restricting access to the affected Shim package can act as a workaround until a proper update is applied.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203