Integer Overflow or Wraparound The advisory has been revoked - it doesn't affect any version of package shim  (opens in a new tab)


Threat Intelligence

EPSS
0.43% (40th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2504-SHIM-9797260
  • published23 Apr 2025
  • disclosed29 Jan 2024

Introduced: 29 Jan 2024

CVE-2023-40548  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-787  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:25.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream shim package and not the shim package as distributed by Ubuntu.

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.