CVE-2025-27465
x86: Incorrect stubs exception handling for flags recovery
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
4.3
x86: Incorrect stubs exception handling for flags recovery
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.
- Record
CVE-2025-27465- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-755
- Updated
- 2026-11-02
EUVDEUVD-2025-21593
4.3
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.
- Record
EUVD-2025-21593- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-2vp3-crwq-3fg5
6.5
Certain instructions need intercepting and emulating by Xen. In some cases Xen emulates the...
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.
- Record
GHSA-2vp3-crwq-3fg5- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N - Weakness
- CWE-755
- Updated
- 2026-11-02
NVD
4.3
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.
- Record
CVE-2025-27465- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-755
- Updated
- 2026-11-02
OSVALPINE-CVE-2025-27465
4.3
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.
- Record
ALPINE-CVE-2025-27465- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSV
4.3
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.
- Record
CVE-2025-27465- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
Show 10 moreShow less
OSVDEBIAN-CVE-2025-27465
4.3
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.
- Record
DEBIAN-CVE-2025-27465- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-27465
4.3
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.
- Record
UBUNTU-CVE-2025-27465- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVMGASA-2025-0270 No score
Updated xen packages fix security vulnerabilities
Double unlock in x86 guest IRQ handling. (CVE-2024-31143) Xapi: Metadata injection attack against backup/restore functionality. (CVE-2024-31144) Error handling in x86 IOMMU identity mapping. (CVE-2024-31145) PCI device pass-through with shared resources. (CVE-2024-31146) x86: Deadlock in vlapic_error(). (CVE-2024-45817) Deadlock in x86 HVM standard VGA handling. (CVE-2024-45818) libxl leaks data to PVH guests via ACPI tables. (CVE-2024-45819) Backend can crash Linux netfront. (CVE-2024-53240) Xen hypercall page unsafe against speculative attacks. (CVE-2024-53241) Deadlock potential with VT-d and legacy PCI device pass-through. (CVE-2025-1713) x86: Indirect Target Selection. (CVE-2024-28956) x86: Incorrect stubs exception handling for flags recovery. (CVE-2025-27465) TSA-SQ (TSA in the Store Queues). (CVE-2024-36350) TSA-L1 (TSA in the L1 data cache). (CVE-2024-36357) A NULL pointer dereference in the updating of the reference TSC area. (CVE-2025-27466) A NULL pointer dereference by assuming the SIM page is mapped when a synthetic timer message has to be delivered. (CVE-2025-58142) A race in the mapping of the reference TSC page, where a guest can get Xen to free a page while still present in the guest physical to machine (p2m) page tables. (CVE-2025-58143) An assertion is wrong there, where the case actually needs handling. A NULL pointer de-reference could result on a release build. (CVE-2025-58144) The P2M lock isn't held until a page reference was actually obtained (or the attempt to do so has failed). Otherwise the page can not only change type, but even ownership in between, thus allowing domain boundaries to be violated. (CVE-2025-58145) XAPI UTF-8 string handling. (CVE-2025-58146) Hypercalls using the HV_VP_SET Sparse format can cause vpmask_set() to write out of bounds when converting the bitmap to Xen's format. (CVE-2025-58147) Hypercalls using any input format can cause send_ipi() to read d->vcpu[] out-of-bounds, and operate on a wild vCPU pointer.(CVE-2025-58148) Incorrect removal of permissions on PCI device unplug. (CVE-2025-58149)
- Record
MGASA-2025-0270- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15342-1 No score
xen-4.20.1_02-1.1 on GA media
These are all security issues fixed in the xen-4.20.1_02-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15342-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:02315-1 No score
Security update for xen
This update for xen fixes the following issues:
- Update to Xen 4.20.1
- CVE-2024-36350, CVE-2024-36357: More AMD transient execution attacks (bsc#1246112, XSA-471)
- CVE-2025-27465: Incorrect stubs exception handling for flags recovery (bsc#1244644, XSA-470)
- Record
SUSE-SU-2025:02315-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:02316-1 No score
Security update for xen
This update for xen fixes the following issues:
- CVE-2024-36350, CVE-2024-36357: More AMD transient execution attacks (bsc#1246112, XSA-471)
- CVE-2025-27465: Incorrect stubs exception handling for flags recovery (bsc#1244644, XSA-470)
- Record
SUSE-SU-2025:02316-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:02319-1 No score
Security update for xen
This update for xen fixes the following issues:
- CVE-2024-36350, CVE-2024-36357: More AMD transient execution attacks (bsc#1246112, XSA-471)
- CVE-2025-27465: Incorrect stubs exception handling for flags recovery (bsc#1244644, XSA-470)
- Record
SUSE-SU-2025:02319-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:02325-1 No score
Security update for xen
This update for xen fixes the following issues:
- CVE-2024-36350, CVE-2024-36357: More AMD transient execution attacks (bsc#1246112, XSA-471)
- CVE-2025-27465: Incorrect stubs exception handling for flags recovery (bsc#1244644, XSA-470)
- Record
SUSE-SU-2025:02325-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:02326-1 No score
Security update for xen
This update for xen fixes the following issues:
Security fixes:
- CVE-2024-28956: Fixed Intel CPU: Indirect Target Selection (ITS) (XSA-469) (bsc#1243117)
- CVE-2024-53241: Fixed Xen hypercall page unsafe against speculative attacks (XSA-466) (bsc#1234282)
- CVE-2025-1713: Fixed deadlock potential with VT-d and legacy PCI device pass-through (XSA-467) (bsc#1238043)
- CVE-2024-36350, CVE-2024-36357: More AMD transient execution attacks (bsc#1246112, XSA-471)
- CVE-2025-27465: Incorrect stubs exception handling for flags recovery (bsc#1244644, XSA-470)
Other fixes:
- Upstream bug fixes (bsc#1027519)
- Record
SUSE-SU-2025:02326-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:02471-1 No score
Security update for xen
This update for xen fixes the following issues:
- CVE-2025-27465: Fixed incorrect stubs exception handling for flags recovery (XSA-470) (bsc#1244644)
- Fixed more AMD transient execution attacks (XSA-471) (bsc#1246112)
- Record
SUSE-SU-2025:02471-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
xenAlpine:v3.19 |
4.9.0 up to 4.18.5-r1 | 4.18.5-r1 |
xenAlpine:v3.20 |
4.9.0 up to 4.18.5-r1 | 4.18.5-r1 |
xenAlpine:v3.21 |
4.9.0 up to 4.19.2-r2 | 4.19.2-r2 |
xenAlpine:v3.22 |
4.9.0 up to 4.20.1-r0 | 4.20.1-r0 |
xenAlpine:v3.23 |
4.9.0 up to 4.20.1-r0 | 4.20.1-r0 |
xenAlpine:v3.24 |
4.9.0 up to 4.20.1-r0 | 4.20.1-r0 |
xenDebian:12 |
before 4.17.5+72-g01140da4e8-1, plus listed versions 4.17.1+2-gb773c48e36-14.17.2+55-g0b56bed864-14.17.2+76-ge1f9cb16e2-14.17.2+76-ge1f9cb16e2-1~deb12u14.17.2-1 Show 8 moreShow less4.17.3+10-g091466ba55-14.17.3+10-g091466ba55-1.14.17.3+10-g091466ba55-1.1~exp14.17.3+10-g091466ba55-1.1~exp24.17.3+10-g091466ba55-1~deb12u14.17.3+36-g54dacb5c02-14.17.5+23-ga4e5191dc0-14.17.5+23-ga4e5191dc0-1+deb12u1 |
4.17.5+72-g01140da4e8-1 |
xenDebian:13 |
before 4.20.2+7-g1badcf5035-0+deb13u1, plus listed versions 4.20.0+68-g35cb38b222-1 |
4.20.2+7-g1badcf5035-0+deb13u1 |
xenDebian:14 |
before 4.20.2+7-g1badcf5035-1, plus listed versions 4.20.0+68-g35cb38b222-1 |
4.20.2+7-g1badcf5035-1 |
xenMageia:9 |
before 4.17.5-1.git20251028.1.mga9 | 4.17.5-1.git20251028.1.mga9 |
Show 35 moreShow less
| Package | Affected | Fixed |
|---|---|---|
xenSUSE:Linux Enterprise Module for Basesystem 15 SP7 |
before 4.20.1_02-150700.3.8.1 | 4.20.1_02-150700.3.8.1 |
xenSUSE:Linux Enterprise Module for Server Applications 15 SP7 |
before 4.20.1_02-150700.3.8.1 | 4.20.1_02-150700.3.8.1 |
xenSUSE:Linux Enterprise Module for Basesystem 15 SP6 |
before 4.18.5_04-150600.3.28.1 | 4.18.5_04-150600.3.28.1 |
xenSUSE:Linux Enterprise Module for Server Applications 15 SP6 |
before 4.18.5_04-150600.3.28.1 | 4.18.5_04-150600.3.28.1 |
xenopenSUSE:Leap 15.6 |
before 4.18.5_04-150600.3.28.1 | 4.18.5_04-150600.3.28.1 |
xenSUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS |
before 4.14.6_26-150300.3.91.1 | 4.14.6_26-150300.3.91.1 |
xenSUSE:Linux Enterprise Server 15 SP3-LTSS |
before 4.14.6_26-150300.3.91.1 | 4.14.6_26-150300.3.91.1 |
xenSUSE:Linux Enterprise Server for SAP Applications 15 SP3 |
before 4.14.6_26-150300.3.91.1 | 4.14.6_26-150300.3.91.1 |
xenSUSE:Linux Enterprise Micro 5.1 |
before 4.14.6_26-150300.3.91.1 | 4.14.6_26-150300.3.91.1 |
xenSUSE:Linux Enterprise Micro 5.2 |
before 4.14.6_26-150300.3.91.1 | 4.14.6_26-150300.3.91.1 |
xenSUSE:Enterprise Storage 7.1 |
before 4.14.6_26-150300.3.91.1 | 4.14.6_26-150300.3.91.1 |
xenSUSE:Linux Enterprise Micro 5.5 |
before 4.17.5_10-150500.3.50.1 | 4.17.5_10-150500.3.50.1 |
xenSUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS |
before 4.17.5_10-150500.3.50.1 | 4.17.5_10-150500.3.50.1 |
xenSUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS |
before 4.17.5_10-150500.3.50.1 | 4.17.5_10-150500.3.50.1 |
xenSUSE:Linux Enterprise Server 15 SP5-LTSS |
before 4.17.5_10-150500.3.50.1 | 4.17.5_10-150500.3.50.1 |
xenSUSE:Linux Enterprise Server for SAP Applications 15 SP5 |
before 4.17.5_10-150500.3.50.1 | 4.17.5_10-150500.3.50.1 |
xenSUSE:Linux Enterprise Micro 5.3 |
before 4.16.7_02-150400.4.72.1 | 4.16.7_02-150400.4.72.1 |
xenSUSE:Linux Enterprise Micro 5.4 |
before 4.16.7_02-150400.4.72.1 | 4.16.7_02-150400.4.72.1 |
xenSUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS |
before 4.16.7_02-150400.4.72.1 | 4.16.7_02-150400.4.72.1 |
xenSUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS |
before 4.16.7_02-150400.4.72.1 | 4.16.7_02-150400.4.72.1 |
xenSUSE:Linux Enterprise Server 15 SP4-LTSS |
before 4.16.7_02-150400.4.72.1 | 4.16.7_02-150400.4.72.1 |
xenSUSE:Linux Enterprise Server for SAP Applications 15 SP4 |
before 4.16.7_02-150400.4.72.1 | 4.16.7_02-150400.4.72.1 |
xenSUSE:Manager Proxy 4.3 |
before 4.16.7_02-150400.4.72.1 | 4.16.7_02-150400.4.72.1 |
xenSUSE:Manager Server 4.3 |
before 4.16.7_02-150400.4.72.1 | 4.16.7_02-150400.4.72.1 |
xenSUSE:Linux Enterprise Server 12 SP5-LTSS |
before 4.12.4_62-3.130.1 | 4.12.4_62-3.130.1 |
xenSUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 |
before 4.12.4_62-3.130.1 | 4.12.4_62-3.130.1 |
xenUbuntu:16.04:LTS |
All versions, plus listed versions 4.5.1-0ubuntu14.5.1-0ubuntu24.6.0-1ubuntu14.6.0-1ubuntu24.6.0-1ubuntu4 Show 7 moreShow less4.6.0-1ubuntu4.14.6.0-1ubuntu4.24.6.0-1ubuntu4.34.6.5-0ubuntu14.6.5-0ubuntu1.14.6.5-0ubuntu1.24.6.5-0ubuntu1.4 |
None known |
xenUbuntu:18.04:LTS |
All versions, plus listed versions 4.9.0-0ubuntu34.9.0-0ubuntu44.9.2-0ubuntu1 |
None known |
xenUbuntu:20.04:LTS |
All versions, plus listed versions 4.9.2-0ubuntu24.9.2-0ubuntu64.9.2-0ubuntu74.11.3+24-g14b62ab3e5-1ubuntu14.11.3+24-g14b62ab3e5-1ubuntu24.11.3+24-g14b62ab3e5-1ubuntu2.24.11.3+24-g14b62ab3e5-1ubuntu2.3 |
None known |
xenUbuntu:22.04:LTS |
All versions, plus listed versions 4.11.4+24-gddaaccbbab-1ubuntu24.16.0-1~ubuntu24.16.0-1~ubuntu2.1 |
None known |
xenUbuntu:24.04:LTS |
All versions, plus listed versions 4.17.2-14.17.2+55-g0b56bed864-14.17.2+76-ge1f9cb16e2-14.17.2+76-ge1f9cb16e2-1ubuntu14.17.3+10-g091466ba55-14.17.3+10-g091466ba55-1.1ubuntu24.17.3+10-g091466ba55-1.1ubuntu3 |
None known |
xenUbuntu:25.10 |
All versions, plus listed versions 4.20.0-1ubuntu14.20.0+68-g35cb38b222-1 |
None known |
xenUbuntu:26.10 |
All versions, plus listed versions 4.20.2+7-g1badcf5035-2build24.20.2+37-g61ff35323e-1ubuntu14.20.3+127-gc42374a105-1 |
None known |
xenUbuntu:26.04:LTS |
All versions, plus listed versions 4.20.0+68-g35cb38b222-14.20.2+7-g1badcf5035-24.20.2+7-g1badcf5035-2build2 |
None known |
xenopenSUSE:Tumbleweed |
before 4.20.1_02-1.1 | 4.20.1_02-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-27465 is a medium vulnerability (CVSS 4.3) in Xen, published July 11, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.70%, the 53rd percentile. Fixed in xen 4.18.5-r1.
References
xenbits.xenproject.org/xsa/advisory-470.html
xenbits.xen.org/xsa/advisory-470.html
openwall.com/lists/oss-security/2025/07/01/1
nvd.nist.gov/vuln/detail/CVE-2025-27465
github.com/advisories/GHSA-2vp3-crwq-3fg5
security.alpinelinux.org/vuln/CVE-2025-27465
Show 46 moreShow less
security-tracker.debian.org/tracker/CVE-2025-27465
advisories.mageia.org/MGASA-2025-0270.html
bugs.mageia.org/show_bug.cgi?id=33401
openwall.com/lists/oss-security/2024/07/16/3
openwall.com/lists/oss-security/2024/07/16/4
openwall.com/lists/oss-security/2024/08/14/2
openwall.com/lists/oss-security/2024/08/14/3
openwall.com/lists/oss-security/2024/09/24/1
openwall.com/lists/oss-security/2024/11/12/2
openwall.com/lists/oss-security/2024/11/12/1
openwall.com/lists/oss-security/2024/12/17/1
openwall.com/lists/oss-security/2024/12/17/2
openwall.com/lists/oss-security/2025/02/27/1
openwall.com/lists/oss-security/2025/05/12/4
openwall.com/lists/oss-security/2025/05/12/5
lists.opensuse.org/archives/list/[email protected]/message/KEACKX57LEHS2YKZ4PO5DYNOQRGQSDO2
openwall.com/lists/oss-security/2025/05/27/1
openwall.com/lists/oss-security/2025/07/08/2
openwall.com/lists/oss-security/2025/08/28/2
openwall.com/lists/oss-security/2025/09/09/1
openwall.com/lists/oss-security/2025/09/09/2
openwall.com/lists/oss-security/2025/09/09/3
openwall.com/lists/oss-security/2025/10/21/1
openwall.com/lists/oss-security/2025/10/24/1
openwall.com/lists/oss-security/2025/11/05/4
suse.com/support/update/announcement/2025/suse-su-202502315-1
bugzilla.suse.com/1027519
bugzilla.suse.com/1238896
bugzilla.suse.com/1244644
bugzilla.suse.com/1246112
suse.com/security/cve/CVE-2024-36350
suse.com/security/cve/CVE-2024-36357
suse.com/security/cve/CVE-2025-27465
suse.com/support/update/announcement/2025/suse-su-202502316-1
suse.com/support/update/announcement/2025/suse-su-202502319-1
suse.com/support/update/announcement/2025/suse-su-202502325-1
suse.com/support/update/announcement/2025/suse-su-202502326-1
bugzilla.suse.com/1234282
bugzilla.suse.com/1238043
bugzilla.suse.com/1243117
suse.com/security/cve/CVE-2024-28956
suse.com/security/cve/CVE-2024-53241
suse.com/security/cve/CVE-2025-1713
suse.com/support/update/announcement/2025/suse-su-202502471-1
ubuntu.com/security/CVE-2025-27465
cve.org/CVERecord?id=CVE-2025-27465