CVE-2025-27465 x86: Incorrect stubs exception handling for flags recovery

Medium 4.3 Published Updated

A flaw in Xen's x86 exception handling for emulated instructions causes fatal crashes instead of graceful recovery, leading to denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-27465?

CVE-2025-27465 is a medium-severity denial of service vulnerability in Xen Xen, published on 16 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Certain instructions need intercepting and emulating by Xen. In some cases Xen emulates the instruction by replaying it, using an executable stub. Some instructions may raise an exception, which is supposed to be handled gracefully. Certain replayed instructions have additional logic to set up and recover the changes to the arithmetic flags.

For replayed instructions where the flags recovery logic is used, the metadata for exception handling was incorrect, preventing Xen from handling the the exception gracefully, treating it as fatal instead.

Weakness: CWE-755

Which versions are affected by CVE-2025-27465?

It affects 1 product.

Linux distribution packages (3)
xen SUSE:Linux Enterprise Server 12 SP5-LTSSAll versions4.12.4_62-3.130.1
xen SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions4.12.4_62-3.130.1
xen openSUSE:TumbleweedAll versions4.20.1_02-1.1

Products include Xen Xen.

How do I fix CVE-2025-27465?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-27465 being exploited?

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

All Xen Xen vulnerabilities

Sources

Also known as ALPINE-CVE-2025-27465, DEBIAN-CVE-2025-27465, GHSA-2vp3-crwq-3fg5, SUSE-SU-2025:02471-1, UBUNTU-CVE-2025-27465, openSUSE-SU-2025:15342-1.

Is CVE-2025-27465 in your software?

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

Check your SBOMs for free