CVE-2025-27465 x86: Incorrect stubs exception handling for flags recovery
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
14 packages: 9 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/xen(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/xen(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/xen(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/xen(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| Xen | >= 4.9.0 | No fix listed | No fix yet |
| alpine/xen(Alpine v3.19) | >= 4.9.0, < 4.18.5-r1 | 4.18.5-r1 | Fixed |
| alpine/xen(Alpine v3.20) | >= 4.9.0, < 4.18.5-r1 | 4.18.5-r1 | Fixed |
| alpine/xen(Alpine v3.21) | >= 4.9.0, < 4.19.2-r2 | 4.19.2-r2 | Fixed |
| alpine/xen(Alpine v3.22) | >= 4.9.0, < 4.20.1-r0 | 4.20.1-r0 | Fixed |
| alpine/xen(Alpine v3.23) | >= 4.9.0, < 4.20.1-r0 | 4.20.1-r0 | Fixed |
| alpine/xen(Alpine v3.24) | >= 4.9.0, < 4.20.1-r0 | 4.20.1-r0 | Fixed |
| debian/xen(Debian 12) | < 4.17.5+72-g01140da4e8-1; = 4.17.1+2-gb773c48e36-1; = 4.17.2+55-g0b56bed864-1; = 4.17.2+76-ge1f9cb16e2-1 +10 more | 4.17.5+72-g01140da4e8-1 | Fixed |
| debian/xen(Debian 13) | < 4.20.2+7-g1badcf5035-0+deb13u1; = 4.20.0+68-g35cb38b222-1 | 4.20.2+7-g1badcf5035-0+deb13u1 | Fixed |
| debian/xen(Debian 14) | < 4.20.2+7-g1badcf5035-1; = 4.20.0+68-g35cb38b222-1 | 4.20.2+7-g1badcf5035-1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/xen(Debian:12) | < 4.17.5+72-g01140da4e8-1 | 4.17.5+72-g01140da4e8-1 |
| debian/xen(Debian:12) | = 4.17.1+2-gb773c48e36-1 | No fix listed |
| debian/xen(Debian:12) | = 4.17.2+55-g0b56bed864-1 | No fix listed |
| debian/xen(Debian:12) | = 4.17.2+76-ge1f9cb16e2-1 | No fix listed |
| debian/xen(Debian:12) | = 4.17.2+76-ge1f9cb16e2-1~deb12u1 | No fix listed |
| debian/xen(Debian:12) | = 4.17.2-1 | No fix listed |
| debian/xen(Debian:12) | = 4.17.3+10-g091466ba55-1 | No fix listed |
| debian/xen(Debian:12) | = 4.17.3+10-g091466ba55-1.1 | No fix listed |
| debian/xen(Debian:12) | = 4.17.3+10-g091466ba55-1.1~exp1 | No fix listed |
| debian/xen(Debian:12) | = 4.17.3+10-g091466ba55-1.1~exp2 | No fix listed |
| debian/xen(Debian:12) | = 4.17.3+10-g091466ba55-1~deb12u1 | No fix listed |
| debian/xen(Debian:12) | = 4.17.3+36-g54dacb5c02-1 | No fix listed |
| debian/xen(Debian:12) | = 4.17.5+23-ga4e5191dc0-1 | No fix listed |
| debian/xen(Debian:12) | = 4.17.5+23-ga4e5191dc0-1+deb12u1 | No fix listed |
| debian/xen(Debian:13) | < 4.20.2+7-g1badcf5035-0+deb13u1 | 4.20.2+7-g1badcf5035-0+deb13u1 |
| debian/xen(Debian:13) | = 4.20.0+68-g35cb38b222-1 | No fix listed |
| debian/xen(Debian:14) | < 4.20.2+7-g1badcf5035-1 | 4.20.2+7-g1badcf5035-1 |
| debian/xen(Debian:14) | = 4.20.0+68-g35cb38b222-1 | No fix listed |
| Xen | = consult Xen advisory XSA-470 | No fix listed |
| ubuntu/xen(Ubuntu:22.04) | All versions | No fix listed |
| alpine/xen(Alpine:v3.19) | >= 4.9.0, < 4.18.5-r1 | 4.18.5-r1 |
| alpine/xen(Alpine:v3.20) | >= 4.9.0, < 4.18.5-r1 | 4.18.5-r1 |
| alpine/xen(Alpine:v3.21) | >= 4.9.0, < 4.19.2-r2 | 4.19.2-r2 |
| alpine/xen(Alpine:v3.22) | >= 4.9.0, < 4.20.1-r0 | 4.20.1-r0 |
| alpine/xen(Alpine:v3.23) | >= 4.9.0, < 4.20.1-r0 | 4.20.1-r0 |
Show 5 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/xen(Alpine:v3.24) | >= 4.9.0, < 4.20.1-r0 | 4.20.1-r0 |
| ubuntu/xen(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/xen(Ubuntu:26.04) | All versions | No fix listed |
| Xen | >= 4.9.0 | No fix listed |
| ubuntu/xen(Ubuntu:26.10) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2025-27465 vendor-advisory
- xenbits.xenproject.org patch vendor-advisory
- xenbits.xen.org patch vendor-advisory
- www.openwall.com mailing-list third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking