AMD SMM Module Heap Overflow Enables Arbitrary Code via SPI Flash
CVE-2023-20577 Published on September 2, 2026

A heap overflow in SMM module may allow an attacker with access to a second vulnerability that enables writing to SPI flash, potentially resulting in arbitrary code execution.

NVD

Vulnerability Analysis

CVE-2023-20577 can be exploited with local system access, and does not require authorization privileges or user interaction. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.

Attack Vector:
LOCAL
Attack Complexity:
HIGH
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
HIGH

Weakness Type

What is a Stack Overflow Vulnerability?

A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).

CVE-2023-20577 has been classified to as a Stack Overflow vulnerability or weakness.


Affected Versions

2nd Gen AMD EPYC™ Processors: 3rd Gen AMD EPYC™ Processors: 4th Gen AMD EPYC™ Processors: AMD Instinct™ MI300A: AMD Ryzen™ 3000 Series Desktop Processors: AMD Ryzen™ 5000 Series Desktop Processors: AMD Ryzen™ 5000 Series Desktop Processors with Radeon™ Graphics: AMD Ryzen™ 7000 Series Processors: AMD Athlon™ 3000 Series Desktop Processors with Radeon™ Graphics: AMD Ryzen™ 4000 Series Desktop Processors with Radeon™ Graphics: AMD Ryzen™ Threadripper™ 3000 Series Processors: AMD Ryzen™ Threadripper™ PRO 3000WX Series Processors: AMD Ryzen™ Threadripper™ PRO 5000WX Processors: AMD Athlon™ 3000 Series Mobile Processors with Radeon™ Graphics: AMD Athlon™ 3000 Series Mobile Processors with Radeon™ Graphics: AMD Ryzen™ 3000 Series Mobile Processor with Radeon™ Graphics: AMD Ryzen™ 4000 Series Mobile Processors with Radeon™ Graphics: AMD Ryzen™ 5000 Series Mobile Processors with Radeon™ Graphics: AMD Ryzen™ 5000 Series Mobile Processors with Radeon™ Graphics: AMD Ryzen™ 7020 Series Processors with Radeon™ Graphics: AMD Ryzen™ 6000 Series Processors with Radeon™ Graphics: AMD Ryzen™ 7035 Series Processors with Radeon™ Graphics: AMD Ryzen™ 5000 Series Processors with Radeon™ Graphics: AMD Ryzen™ 3000 Series Processors with Radeon™ Graphics: AMD Ryzen™ 7040 Series Processors with Radeon™ Graphics: AMD Ryzen™ 7045 Series Mobile Processors: AMD EPYC™ Embedded 3000: AMD EPYC™ Embedded 7002: AMD EPYC™ Embedded 7003: AMD EPYC™ Embedded 9003: AMD Ryzen™ Embedded R1000: AMD Ryzen™ Embedded R2000: AMD Ryzen™ Embedded 5000: AMD Ryzen™ Embedded V1000: AMD Ryzen™ Embedded V2000: AMD Ryzen™ Embedded V3000: