CVE-2023-40549 Shim: out-of-bounds read in verify_buffer_authenticode() malformed pe file

Medium 6.2 Published Updated

An attacker can crash the Shim boot loader by loading a crafted PE binary, causing a denial of service on affected Linux systems.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-40549?

CVE-2023-40549 is a medium-severity memory corruption vulnerability in Fedoraproject Fedora, published on 29 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An out-of-bounds read flaw was found in Shim due to the lack of proper boundary verification during the load of a PE binary. This flaw allows an attacker to load a crafted PE binary, triggering the issue and crashing Shim, resulting in a denial of service.

Weakness: CWE-125

Which versions are affected by CVE-2023-40549?

It affects 3 products.

Products include Fedoraproject Fedora, Redhat Enterprise Linux, Redhat Shim.

How do I fix CVE-2023-40549?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-40549 being exploited?

There is no known exploitation of CVE-2023-40549 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-34095, AZL-34158, AZL-35256, AZL-35264, AZL-35273, BELL-CVE-2023-40549 and 3 more.

Is CVE-2023-40549 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free