Skip to content
Memory corruption Write-up Advanced

Zenbleed: cross-process infoleak vulnerability in AMD Zen 2 Processors - everything you need to know

A use-after-free flaw in AMD Zen 2 processors allows an unprivileged local process to read sensitive data from other processes, including privileged ones. An attacker with code execution on an affected machine could steal passwords and encryption keys.

Amitai Cohen Follow

Published on wiz.io

Researchers discovered a use-after-free flaw in AMD Zen 2 processors, which could allow a malicious actor to steal sensitive data, such as passwords and encryption keys. While many cloud environments have workloads running on affected CPUs, we estimate Zenbleed is not likely to be impactful in cloud environments.

Amitai Cohen, on wiz.io

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely improper handling of the vzeroupper instruction during speculative execution causes a use-after-free in the processor, allowing data from other processes to be read.

Impact

An attacker with local code execution could read sensitive data from other processes, including privileged ones, and in cloud environments this could lead to cross-tenant data access, though cloud providers have mitigations and rate the risk as low.

What the attacker needed

Local code execution on affected machine; AMD Zen 2 processor

The fix

The fix is to apply AMD's microcode update, which must be done by the host or cloud provider, not from within a virtual machine.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This is a hardware bug in certain AMD processors. It lets a program running on the computer read memory that belongs to other programs, even if it should not have permission. To exploit it, an attacker first needs to be able to run their own code on the machine.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Amitai Cohen

View all

6 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.