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.
- Published
- Jan 9, 2024
- Updated
- Jun 17, 2026
- EPSS
- 0.3% · 19th percentile
- CWE
- CWE-122
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
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
| Vendor | Product | CPE |
|---|---|---|
| tianocore | edk2 | cpe:2.3:a:tianocore:edk2 |
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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | edk2-aarch64 | before 20220126gitbb1bba3d77-13.el8_10 | 20220126gitbb1bba3d77-13.el8_10 |
| AlmaLinux:8 | edk2-ovmf | before 20220126gitbb1bba3d77-13.el8_10 | 20220126gitbb1bba3d77-13.el8_10 |
| AlmaLinux:9 | edk2-aarch64 | before 20231122-6.el9 | 20231122-6.el9 |
| AlmaLinux:9 | edk2-ovmf | before 20231122-6.el9 | 20231122-6.el9 |
| AlmaLinux:9 | edk2-tools | before 20231122-6.el9 | 20231122-6.el9 |
| AlmaLinux:9 | edk2-tools-doc | before 20231122-6.el9 | 20231122-6.el9 |
| Debian:11 | edk2 | before 2020.11-2+deb11u3 | 2020.11-2+deb11u3 |
| Debian:12 | edk2 | before 2022.11-6+deb12u1 | 2022.11-6+deb12u1 |
| Debian:13 | edk2 | before 2023.11-5 | 2023.11-5 |
| openSUSE:Tumbleweed | ovmf | before 202308-9.1 | 202308-9.1 |
| Red Hat:enterprise_linux:8::appstream | edk2 | before 0:20220126gitbb1bba3d77-13.el8_10 | 0:20220126gitbb1bba3d77-13.el8_10 |
| Red Hat:enterprise_linux:8::appstream | edk2-aarch64 | before 0:20220126gitbb1bba3d77-13.el8_10 | 0:20220126gitbb1bba3d77-13.el8_10 |
| Red Hat:enterprise_linux:8::appstream | edk2-ovmf | before 0:20220126gitbb1bba3d77-13.el8_10 | 0:20220126gitbb1bba3d77-13.el8_10 |
| Red Hat:enterprise_linux:9::appstream | edk2 | before 0:20231122-6.el9 | 0:20231122-6.el9 |
| Red Hat:enterprise_linux:9::appstream | edk2-aarch64 | before 0:20231122-6.el9 | 0:20231122-6.el9 |
| Red Hat:enterprise_linux:9::appstream | edk2-ovmf | before 0:20231122-6.el9 | 0:20231122-6.el9 |
| Red Hat:enterprise_linux:9::crb | edk2-debugsource | before 0:20231122-6.el9 | 0:20231122-6.el9 |
| Red Hat:enterprise_linux:9::crb | edk2-tools | before 0:20231122-6.el9 | 0:20231122-6.el9 |
| Red Hat:enterprise_linux:9::crb | edk2-tools-debuginfo | before 0:20231122-6.el9 | 0:20231122-6.el9 |
| Red Hat:enterprise_linux:9::crb | edk2-tools-doc | before 0:20231122-6.el9 | 0:20231122-6.el9 |
| Rocky Linux:8 | edk2 | before 0:20220126gitbb1bba3d77-13.el8_10 | 0:20220126gitbb1bba3d77-13.el8_10 |
| Rocky Linux:9 | edk2 | before 0:20231122-6.el9 | 0:20231122-6.el9 |
Same product
tianocore: all recordsOther 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 Package35Monitor
- CVE-2023-45234Buffer Overflow in EDK II Network Package35Monitor
- CVE-2023-45230Buffer Overflow in EDK II Network Package35Monitor
- CVE-2025-2296Un-verified kernel bypass Secure Boot mechanism in direct boot mode33Monitor
- 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 / package | Fixed version | Source |
|---|---|---|
| almalinux:edk2-aarch64 | 20231122-6.el9 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:edk2-ovmf | 20231122-6.el9 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:edk2-tools | 20231122-6.el9 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:edk2-tools-doc | 20231122-6.el9 · AlmaLinux:9 | Package registry (OSV) |
| debian:edk2 | 2022.11-6+deb12u1 · Debian:12 | Package registry (OSV) |
| opensuse:ovmf | 202308-9.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:edk2 | 0:20231122-6.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:edk2-aarch64 | 0:20231122-6.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:edk2-debugsource | 0:20231122-6.el9 · Red Hat:enterprise_linux:9::crb | Package registry (OSV) |
| red hat:edk2-ovmf | 0:20231122-6.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:edk2-tools | 0:20231122-6.el9 · Red Hat:enterprise_linux:9::crb | Package registry (OSV) |
| red hat:edk2-tools-debuginfo | 0:20231122-6.el9 · Red Hat:enterprise_linux:9::crb | Package registry (OSV) |
| red hat:edk2-tools-doc | 0:20231122-6.el9 · Red Hat:enterprise_linux:9::crb | Package registry (OSV) |
| rocky linux:edk2 | 0:20231122-6.el9 · Rocky Linux:9 | Package 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.
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.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Doug Flickremediation developer
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 Tcg2MeasureGptTable31Monitor
- CVE-2024-38796262 days apartInteger overflow in PeCoffLoaderRelocateImage23Monitor
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
Weakness class (CWE)
CWE-122 · Heap-based Buffer OverflowCVSS 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.
Attack patterns (CAPEC)
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 helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- github.com/tianocore/edk2/security/advisories/GHSA-4hcq-p8q8-hj8j
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SJ42V7O7F4OU6R7QSQQECLB6LDHKZIMQ/
- lists.debian.org/debian-lts-announce/2025/06/msg00007.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.