Skip to content
Noroxi
CVE-2022-36764· NVD / CVE Program· CNA TianoCore

Heap Buffer Overflow in Tcg2MeasurePeImage

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.

HighCVSS 7.8 · v3.1—No exploit Fix available
Published
Jan 9, 2024
Updated
Jun 17, 2026
EPSS
0.3% · 19th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.3%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
7.8
CNA · TianoCore
7.0
0.8 point gap

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
tianocoreedk2

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • tianocore edk2up to 202311 inclusive

Versions reported by the vendor

Affected version ranges reported by the assigning authority (TianoCore). Independent of NVD's CPE analysis and usually ahead of it.

  • TianoCore edk2

    • up to and including 202311affected · Stable

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8edk2-aarch64before 20220126gitbb1bba3d77-13.el8_1020220126gitbb1bba3d77-13.el8_10
AlmaLinux:8edk2-ovmfbefore 20220126gitbb1bba3d77-13.el8_1020220126gitbb1bba3d77-13.el8_10
AlmaLinux:9edk2-aarch64before 20231122-6.el920231122-6.el9
AlmaLinux:9edk2-ovmfbefore 20231122-6.el920231122-6.el9
AlmaLinux:9edk2-toolsbefore 20231122-6.el920231122-6.el9
AlmaLinux:9edk2-tools-docbefore 20231122-6.el920231122-6.el9
Debian:11edk2before 2020.11-2+deb11u32020.11-2+deb11u3
Debian:12edk2before 2022.11-6+deb12u12022.11-6+deb12u1
Debian:13edk2before 2023.11-52023.11-5
openSUSE:Tumbleweedovmfbefore 202308-9.1202308-9.1
Red Hat:enterprise_linux:8::appstreamedk2before 0:20220126gitbb1bba3d77-13.el8_100:20220126gitbb1bba3d77-13.el8_10
Red Hat:enterprise_linux:8::appstreamedk2-aarch64before 0:20220126gitbb1bba3d77-13.el8_100:20220126gitbb1bba3d77-13.el8_10
Red Hat:enterprise_linux:8::appstreamedk2-ovmfbefore 0:20220126gitbb1bba3d77-13.el8_100:20220126gitbb1bba3d77-13.el8_10
Red Hat:enterprise_linux:9::appstreamedk2before 0:20231122-6.el90:20231122-6.el9
Red Hat:enterprise_linux:9::appstreamedk2-aarch64before 0:20231122-6.el90:20231122-6.el9
Red Hat:enterprise_linux:9::appstreamedk2-ovmfbefore 0:20231122-6.el90:20231122-6.el9
Red Hat:enterprise_linux:9::crbedk2-debugsourcebefore 0:20231122-6.el90:20231122-6.el9
Red Hat:enterprise_linux:9::crbedk2-toolsbefore 0:20231122-6.el90:20231122-6.el9
Red Hat:enterprise_linux:9::crbedk2-tools-debuginfobefore 0:20231122-6.el90:20231122-6.el9
Red Hat:enterprise_linux:9::crbedk2-tools-docbefore 0:20231122-6.el90:20231122-6.el9
Rocky Linux:8edk2before 0:20220126gitbb1bba3d77-13.el8_100:20220126gitbb1bba3d77-13.el8_10
Rocky Linux:9edk2before 0:20231122-6.el90:20231122-6.el9

Other highest-scoring records for the same primary product.

  • CVE-2021-38578Existing CommBuffer checks in SmmEntryPoint will not catch underflow when computing BufferSize.
    39Monitor
  • CVE-2023-45235Buffer Overflow in EDK II Network Package
    35Monitor
  • CVE-2023-45234Buffer Overflow in EDK II Network Package
    35Monitor
  • CVE-2023-45230Buffer Overflow in EDK II Network Package
    35Monitor
  • CVE-2025-2296Un-verified kernel bypass Secure Boot mechanism in direct boot mode
    33Monitor
  • CVE-2021-38575NetworkPkg/IScsiDxe has remotely exploitable buffer overflows.
    33Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:edk2-aarch6420231122-6.el9 · AlmaLinux:9Package registry (OSV)
almalinux:edk2-ovmf20231122-6.el9 · AlmaLinux:9Package registry (OSV)
almalinux:edk2-tools20231122-6.el9 · AlmaLinux:9Package registry (OSV)
almalinux:edk2-tools-doc20231122-6.el9 · AlmaLinux:9Package registry (OSV)
debian:edk22022.11-6+deb12u1 · Debian:12Package registry (OSV)
opensuse:ovmf202308-9.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:edk20:20231122-6.el9 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:edk2-aarch640:20231122-6.el9 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:edk2-debugsource0:20231122-6.el9 · Red Hat:enterprise_linux:9::crbPackage registry (OSV)
red hat:edk2-ovmf0:20231122-6.el9 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:edk2-tools0:20231122-6.el9 · Red Hat:enterprise_linux:9::crbPackage registry (OSV)
red hat:edk2-tools-debuginfo0:20231122-6.el9 · Red Hat:enterprise_linux:9::crbPackage registry (OSV)
red hat:edk2-tools-doc0:20231122-6.el9 · Red Hat:enterprise_linux:9::crbPackage registry (OSV)
rocky linux:edk20:20231122-6.el9 · Rocky Linux:9Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2022-367630 days apartHeap Buffer Overflow in Tcg2MeasureGptTable
    31Monitor
  • CVE-2024-38796262 days apartInteger overflow in PeCoffLoaderRelocateImage
    23Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records