# CVE-2020-12965: Information disclosure in All supported processors

> AMD CPUs may leak data via transient execution of non-canonical loads using lower address bits, requiring microcode updates.

- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 4 Feb 2022
- **Updated:** 16 Sep 2024
- **Also known as:** GHSA-wg28-p94j-5hp8

## What is CVE-2020-12965?

CVE-2020-12965 is a high-severity vulnerability in AMD All supported processors, published on 4 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

When combined with specific software sequences, AMD CPUs may transiently execute non-canonical loads and store using only the lower 48 address bits potentially resulting in data leakage.

Weakness: CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component)

## Which versions are affected by CVE-2020-12965?

It affects 63 products.


Products: Amd Athlon 3050ge Firmware, Amd Athlon 3150g Firmware, Amd Athlon 3150ge Firmware, Amd Athlon Gold Pro 3150g Firmware, Amd Athlon Gold Pro 3150ge Firmware, Amd Athlon Pro 200ge Firmware, Amd Athlon Pro 300ge Firmware, Amd Athlon Silver Pro 3125ge Firmware, Amd Ryzen 4300g Firmware, Amd Ryzen 4300ge Firmware, Amd Ryzen 4600g Firmware, Amd Ryzen 4600ge Firmware, Amd Ryzen 4700g Firmware, Amd Ryzen 4700ge Firmware, Amd Ryzen 5300g Firmware, Amd Ryzen 5300ge Firmware, Amd Ryzen 5600g Firmware, Amd Ryzen 5600ge Firmware, Amd Ryzen 5600x Firmware, Amd Ryzen 5700g Firmware and 43 more.

## How do I fix CVE-2020-12965?

Apply the vendor's patch.

## Is CVE-2020-12965 being exploited?

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

## Other vulnerabilities in AMD All supported processors

- [CVE-2021-26316](https://insights.sbomify.com/CVE-2021-26316/): Memory corruption in 1st Gen EPYC (high 7.8)
- [CVE-2021-26317](https://insights.sbomify.com/CVE-2021-26317/): Security feature bypass in Athlon™ Series (high 7.8)
- [CVE-2021-26369](https://insights.sbomify.com/CVE-2021-26369/): Memory corruption in Athlon™ Series (high 7.8)
- [CVE-2021-26362](https://insights.sbomify.com/CVE-2021-26362/): Privilege escalation in Athlon™ Series (high 7.1)
- [CVE-2021-26366](https://insights.sbomify.com/CVE-2021-26366/): Information disclosure in Athlon™ Series (high 7.1)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2020-12965 and fix it if it is affected.

What it is: CVE-2020-12965 is a high-severity vulnerability in AMD All supported processors, published on 4 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2020-12965 in the wild and no public exploit code.

Affected product: AMD All supported processors. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2020-12965/ (Markdown: https://insights.sbomify.com/CVE-2020-12965/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2020-12965
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2020-12965
- OSV: https://osv.dev/vulnerability/CVE-2020-12965

---
From sbomify Insights: https://insights.sbomify.com/CVE-2020-12965/
Summaries are generated and may contain mistakes; the official description above is the record.
