CVE-2023-40548

NameCVE-2023-40548
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3813-1
Debian Bugs1061519

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
shim (PTS)bullseye15.8-1~deb11u1fixed
bookworm15.8-1~deb12u1fixed
sid, trixie15.8-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
shimsourcebuster15.8-1~deb10u1DLA-3813-1
shimsourcebullseye15.8-1~deb11u1
shimsourcebookworm15.8-1~deb12u1
shimsource(unstable)15.8-11061519

Notes

https://bugzilla.redhat.com/show_bug.cgi?id=2241782
https://github.com/rhboot/shim/commit/96dccc255b16e9465dbee50b3cef6b3db74d11c8 (15.8)

Search for package or bug name: Reporting problems