CVE-2022-36764 Heap Buffer Overflow in Tcg2MeasurePeImage

High 7.0 Published Updated

A heap buffer overflow in EDK2 allows local attackers to compromise confidentiality, integrity, and availability via Tcg2MeasurePeImage.

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

What is CVE-2022-36764?

CVE-2022-36764 is a high-severity memory corruption vulnerability in TianoCore edk2, published on 9 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

EDK2 is susceptible to a vulnerability in the Tcg2MeasurePeImage() function, allowing a user to trigger a heap buffer overflow via a local network. Successful exploitation of this vulnerability may result in a compromise of confidentiality, integrity, and/or availability.

Weakness: CWE-119, CWE-122

Which versions are affected by CVE-2022-36764?

It affects 1 product.

Products include Tianocore Edk2.

How do I fix CVE-2022-36764?

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-2022-36764 being exploited?

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

Sources

Also known as AZL-39016, AZL-39097, AZL-39292, BELL-CVE-2022-36764, DEBIAN-CVE-2022-36764, GHSA-4hcq-p8q8-hj8j and 1 more.

Is CVE-2022-36764 in your software?

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

Check your SBOMs for free