CVE-2025-0031 Use after free in AMD EPYC™ 7003 Series Processors

Medium 4.6 Published Updated

A malicious hypervisor can exploit a use-after-free in AMD SEV firmware to compromise guest integrity during migration.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-0031?

CVE-2025-0031 is a medium-severity use after free vulnerability in AMD EPYC™ 7003 Series Processors, published on 10 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A use after free in the SEV firmware could allow a malicous hypervisor to activate a migrated guest with the SINGLE_SOCKET policy on a different socket than the migration agent potentially resulting in loss of integrity.

Weakness: CWE-416

Which versions are affected by CVE-2025-0031?

How do I fix CVE-2025-0031?

No fix has been published for CVE-2025-0031 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2025-0031 being exploited?

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

Sources

Also known as GHSA-hp45-3w44-4fjw, UBUNTU-CVE-2025-0031.

Is CVE-2025-0031 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free