# Code injection in 3rd Gen AMD EPYC™ Processors and others

CVE record · `CVE-2023-31315`

- **Identifiers:** `CVE-2023-31315`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **CNA:** AMD
- **Weakness (CWE):** [CWE-94](https://cwe.mitre.org/data/definitions/94.html)
- **Tags:** [Code injection](https://agentprime.io/advisories/tag/code-injection.md)
- **Technologies:** [3rd Gen AMD EPYC™ Processors](https://agentprime.io/advisories/technology/3rd-gen-amd-epyctm-processors.md) · [1st Gen AMD EPYC™ Processors](https://agentprime.io/advisories/technology/1st-gen-amd-epyctm-processors.md) · [2nd Gen AMD EPYC™ Processors](https://agentprime.io/advisories/technology/2nd-gen-amd-epyctm-processors.md) · [4th Gen AMD EPYC™ Processors](https://agentprime.io/advisories/technology/4th-gen-amd-epyctm-processors.md) · [AMD EPYC™ Embedded 3000](https://agentprime.io/advisories/technology/amd-epyctm-embedded-3000.md) · [AMD EPYC™ Embedded 7002](https://agentprime.io/advisories/technology/amd-epyctm-embedded-7002.md) · [AMD EPYC™ Embedded 7003](https://agentprime.io/advisories/technology/amd-epyctm-embedded-7003.md) · [AMD EPYC™ Embedded 9003](https://agentprime.io/advisories/technology/amd-epyctm-embedded-9003.md) · [AMD Ryzen™ Embedded R1000](https://agentprime.io/advisories/technology/amd-ryzentm-embedded-r1000.md) · [AMD Ryzen™ Embedded R2000](https://agentprime.io/advisories/technology/amd-ryzentm-embedded-r2000.md) · [AMD Ryzen™ Embedded 5000](https://agentprime.io/advisories/technology/amd-ryzentm-embedded-5000.md) · [AMD Ryzen™ Embedded 7000](https://agentprime.io/advisories/technology/amd-ryzentm-embedded-7000.md) · [AMD Ryzen™ Embedded V1000](https://agentprime.io/advisories/technology/amd-ryzentm-embedded-v1000.md) · [AMD Ryzen™ Embedded V2000](https://agentprime.io/advisories/technology/amd-ryzentm-embedded-v2000.md) · [AMD Ryzen™ Embedded V3000](https://agentprime.io/advisories/technology/amd-ryzentm-embedded-v3000.md) · [AMD Ryzen™ 3000 Series Desktop Processors](https://agentprime.io/advisories/technology/amd-ryzentm-3000-series-desktop-processors.md) · [AMD Ryzen™ 5000 Series Desktop Processors](https://agentprime.io/advisories/technology/amd-ryzentm-5000-series-desktop-processors.md) · [AMD Ryzen™ 5000 Series Desktop processor with Radeon™ Graphics](https://agentprime.io/advisories/technology/amd-ryzentm-5000-series-desktop-processor-with-radeontm-graphics.md) · [AMD Ryzen™ 7000 Series Desktop Processors](https://agentprime.io/advisories/technology/amd-ryzentm-7000-series-desktop-processors.md) · [AMD Ryzen™ 4000 Series Desktop Processors with Radeon™ Graphics](https://agentprime.io/advisories/technology/amd-ryzentm-4000-series-desktop-processors-with-radeontm-graphics.md)
- **Published:** 9 Aug 2024
- **Updated:** 12 Sept 2024
- **Reviewed by a person:** No

Published by the CVE Program (CNA: AMD) at 9 Aug 2024, 17:08 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: AMD. Product: 3rd Gen AMD EPYC™ Processors.
  - affected: `various to before Milan PI 1.0.0.D` (Platform Initialization)
  - Other versions: unaffected
  - Package name: `PI`
- Vendor: AMD. Product: 1st Gen AMD EPYC™ Processors.
  - affected: `various to before Naples PI 1.0.0.M` (Platform Initialization)
  - Other versions: affected
- Vendor: AMD. Product: 2nd Gen AMD EPYC™ Processors.
  - affected: `various to before Rome PI 1.0.0.J` (Platform Initialization)
  - Other versions: affected
- Vendor: AMD. Product: 4th Gen AMD EPYC™ Processors.
  - unaffected: `various to before Genoa PI 1.0.0.C` (Platform Initialization)
  - Other versions: affected
- Vendor: AMD. Product: AMD EPYC™ Embedded 3000.
  - affected: `various`
  - Other versions: affected
- Vendor: AMD. Product: AMD EPYC™ Embedded 7002.
  - affected: `various`
  - Other versions: affected
- Vendor: AMD. Product: AMD EPYC™ Embedded 7003.
  - affected: `various`
  - Other versions: affected
- Vendor: AMD. Product: AMD EPYC™ Embedded 9003.
  - unaffected: `various to before EmbGenoaPI 1.0.0.7` (PI)
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ Embedded R1000.
  - affected: `various`
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ Embedded R2000.
  - affected: `various`
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ Embedded 5000.
  - affected: `various`
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ Embedded 7000.
  - affected: `various`
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ Embedded V1000.
  - affected: `various`
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ Embedded V2000.
  - affected: `various`
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ Embedded V3000.
  - affected: `various`
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ 3000 Series Desktop Processors.
  - affected: `various`
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ 5000 Series Desktop Processors.
  - unaffected: `various to before ComboAM4v2PI 1.2.0.cb` (PI)
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ 5000 Series Desktop processor with Radeon™ Graphics.
  - unaffected: `various to before ComboAM4v2PI 1.2.0.cb` (PI)
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ 7000 Series Desktop Processors.
  - affected: `various to before ComboAM5PI 1.2.0.1` (PI)
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ 4000 Series Desktop Processors with Radeon™ Graphics.
  - affected: `various to before ComboAM4v2PI 1.2.0.cb` (PI)
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ Threadripper™ 3000 Series Processors.
  - affected: `various to before CastlePeakPI-SP3r3 1.0.0.B` (PI)
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ Threadripper™ PRO Processors.
  - affected: `various to before ChagallWSPI-sWRX8 1.0.0.8` (PI)
  - unaffected: `various to before CastlePeakWSPI-sWRX8 1.0.0.D` (PI)
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ Threadripper™ PRO 3000WX Series Processors.
  - unaffected: `various to before ChagallWSPI-sWRX8 1.0.0.8` (PI)
  - Other versions: affected
- Vendor: AMD. Product: AMD Athlon™ 3000 Series Mobile Processors with Radeon™ Graphics.
  - unaffected: `various to before Picasso-FP5 1.0.1.2` (PI)
  - unaffected: `various to before PollockPI-FT5 1.0.0.8` (PI)
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ 3000 Series Mobile Processor with Radeon™ Graphics.
  - affected: `various to before Picasso-FP5 1.0.1.2` (PI)
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ 4000 Series Mobile Processors with Radeon™ Graphics.
  - unaffected: `various to before RenoirPI-FP6 1.0.0.E` (PI)
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ 5000 Series Mobile Processors with Radeon™ Graphics.
  - unaffected: `various to before CezannePI-FP6 1.0.1.1` (PI)
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ 7030 Series Mobile Processors with Radeon™ Graphics.
  - affected: `various to before CezannePI-FP6` (PI)
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ 7040 Series Mobile Processors with Radeon™ Graphics.
  - unaffected: `various to before PhoenixPI-FP8-FP7 1.1.0.3` (PI)
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ 7045 Series Mobile Processors.
  - unaffected: `various to before DragonRangeFL1 1.0.0.3e` (PI)
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ 6000 Series Processors with Radeon™ Graphics.
  - unaffected: `various to before RembrandtPI-FP7 1.0.0.B` (PI)
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ 7020 Series Processors with Radeon™ Graphics.
  - affected: `various to before MendocinoPI-FT6 1.0.0.7` (PI)
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ 7035 Series Processors with Radeon™ Graphics.
  - unaffected: `various to before RembrandtPI-FP7 1.0.0.B` (PI)
  - Other versions: affected
- Vendor: AMD. Product: AMD Ryzen™ 8000 Series Processors with Radeon™ Graphics.
  - unaffected: `various to before ComboAM5PI 1.2.0.1` (PI)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`, from CNA (AMD) (used for this record)
- 6.8 Medium, CVSS 3.1: `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0063, the 50th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 9 Aug 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2023-31315](https://www.cve.org/CVERecord?id=CVE-2023-31315)
- [NVD: CVE-2023-31315](https://nvd.nist.gov/vuln/detail/CVE-2023-31315)

### References from the CNA

- <https://www.amd.com/en/resources/product-security/bulletin/amd-sb-7014.html> (vendor-advisory)

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2023-31315>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2023-31315/>. Everything for agents: <https://agentprime.io/llms.txt>.
