Vulnerability · Published Jul 16, 2025 · Assigned by XEN

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

Medium 4.3

In plain English

A medium-severity security flaw in Xen from Xen. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.7%top 46.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20xen4.18.5-r1ALPINE-CVE-2025-27465
Alpine:v3.21xen4.19.2-r2ALPINE-CVE-2025-27465
Alpine:v3.22xen4.20.1-r0ALPINE-CVE-2025-27465
Alpine:v3.23xen4.20.1-r0ALPINE-CVE-2025-27465
Alpine:v3.24xen4.20.1-r0ALPINE-CVE-2025-27465
Debian:12xen4.17.5+72-g01140da4e8-1DSA-6068-1
Debian:12xen4.17.5+72-g01140da4e8-1DEBIAN-CVE-2025-27465
Debian:13xen4.20.2+7-g1badcf5035-0+deb13u1DEBIAN-CVE-2025-27465
Debian:13xen4.20.2+7-g1badcf5035-0+deb13u1DSA-6068-1
Debian:14xen4.20.2+7-g1badcf5035-1DEBIAN-CVE-2025-27465
Ubuntu:22.04:LTSxenno fix listedUBUNTU-CVE-2025-27465
Ubuntu:24.04:LTSxenno fix listedUBUNTU-CVE-2025-27465
Ubuntu:25.10xenno fix listedUBUNTU-CVE-2025-27465
Ubuntu:26.04:LTSxenno fix listedUBUNTU-CVE-2025-27465
Ubuntu:26.10xenno fix listedUBUNTU-CVE-2025-27465

Affected products (as reported)

VendorProductVersions
Xen Xen see references

Weakness: CWE-755 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

References