Every CVE Search/ Get API key

CVE-2024-31142

x86: Incorrect logic for BTC/SRSO mitigations

7.5 HighFix available

Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied properly when it is intended to be used. XSA-434 (Speculative Return Stack Overflow) uses the same infrastructure, so is equally impacted.

For more details, see: https://xenbits.xen.org/xsa/advisory-407.html https://xenbits.xen.org/xsa/advisory-434.html

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

17.4%Up 17.4 points since May 17, 2024
90%50%10%1%

What each source reports

CVE List Score used 7.5

x86: Incorrect logic for BTC/SRSO mitigations

Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied properly when it is intended to be used. XSA-434 (Speculative Return Stack Overflow) uses the same infrastructure, so is equally impacted.

For more details, see: https://xenbits.xen.org/xsa/advisory-407.html https://xenbits.xen.org/xsa/advisory-434.html

Record
CVE-2024-31142
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-693
Updated
2026-11-02
EUVDEUVD-2024-29052 7.5

Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied properly when it is intended to be used. XSA-434 (Speculative Return Stack Overflow) uses the same infrastructure, so is equally impacted.

For more details, see: https://xenbits.xen.org/xsa/advisory-407.html https://xenbits.xen.org/xsa/advisory-434.html

Record
EUVD-2024-29052
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-g7qc-r5p9-r36r 7.5

Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied...

Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied properly when it is intended to be used. XSA-434 (Speculative Return Stack Overflow) uses the same infrastructure, so is equally impacted.

For more details, see: https://xenbits.xen.org/xsa/advisory-407.html https://xenbits.xen.org/xsa/advisory-434.html

Record
GHSA-g7qc-r5p9-r36r
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-693
Updated
2026-11-02
NVD 7.5

Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied properly when it is intended to be used. XSA-434 (Speculative Return Stack Overflow) uses the same infrastructure, so is equally impacted.

For more details, see: https://xenbits.xen.org/xsa/advisory-407.html https://xenbits.xen.org/xsa/advisory-434.html

Record
CVE-2024-31142
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-693
Updated
2026-11-02
OSVALPINE-CVE-2024-31142 7.5

Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied properly when it is intended to be used. XSA-434 (Speculative Return Stack Overflow) uses the same infrastructure, so is equally impacted.

For more details, see: https://xenbits.xen.org/xsa/advisory-407.html https://xenbits.xen.org/xsa/advisory-434.html

Record
ALPINE-CVE-2024-31142
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 7.5

Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied properly when it is intended to be used. XSA-434 (Speculative Return Stack Overflow) uses the same infrastructure, so is equally impacted.

For more details, see: https://xenbits.xen.org/xsa/advisory-407.html https://xenbits.xen.org/xsa/advisory-434.html

Record
CVE-2024-31142
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 8 moreShow less
OSVDEBIAN-CVE-2024-31142 7.5

Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied properly when it is intended to be used. XSA-434 (Speculative Return Stack Overflow) uses the same infrastructure, so is equally impacted. For more details, see: https://xenbits.xen.org/xsa/advisory-407.html https://xenbits.xen.org/xsa/advisory-434.html

Record
DEBIAN-CVE-2024-31142
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2024-31142 7.5

Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied properly when it is intended to be used. XSA-434 (Speculative Return Stack Overflow) uses the same infrastructure, so is equally impacted. For more details, see: https://xenbits.xen.org/xsa/advisory-407.html https://xenbits.xen.org/xsa/advisory-434.html

Record
UBUNTU-CVE-2024-31142
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2024:13853-1 No score

xen-4.18.2_02-1.1 on GA media

These are all security issues fixed in the xen-4.18.2_02-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13853-1
Updated
2026-11-02
OSVSUSE-SU-2024:1259-1 No score

Security update for xen

This update for xen fixes the following issues:

  • CVE-2023-46842: Fixed denial of service due to Xen bug check triggered by HVM hypercalls (XSA-454) in xen x86 (bsc#1221984)
  • CVE-2024-31142: Fixed incorrect logic for BTC/SRSO mitigations (XSA-455) in xen x86 (bsc#1222302)
  • CVE-2024-2201: Fixed memory disclosure via Native Branch History Injection (XSA-456) in xen x86 (bsc#1222453)

Other fixes:

  • Update to Xen 4.16.6 (bsc#1027519)
Record
SUSE-SU-2024:1259-1
Updated
2026-11-02
OSVSUSE-SU-2024:1295-1 No score

Security update for xen

This update for xen fixes the following issues:

  • CVE-2023-46842: Fixed denial of service due to Xen bug check triggered by HVM hypercalls (XSA-454) in xen x86 (bsc#1221984)
  • CVE-2024-31142: Fixed incorrect logic for BTC/SRSO mitigations (XSA-455) in xen x86 (bsc#1222302)
  • CVE-2024-2201: Fixed memory disclosure via Native Branch History Injection (XSA-456) in xen x86 (bsc#1222453)

Other fixes:

  • Update to Xen 4.17.4 (bsc#1027519)
Record
SUSE-SU-2024:1295-1
Updated
2026-11-02
OSVSUSE-SU-2024:1540-1 No score

Security update for xen

This update for xen fixes the following issues:

  • CVE-2024-2201: Mitigation for Native Branch History Injection (XSA-456, bsc#1222453)
  • CVE-2023-46842: HVM hypercalls may trigger Xen bug check (XSA-454, bsc#1221984)
  • CVE-2024-31142: Fixed incorrect logic for BTC/SRSO mitigations (XSA-455, bsc#1222302)
Record
SUSE-SU-2024:1540-1
Updated
2026-11-02
OSVSUSE-SU-2024:1541-1 No score

Security update for xen

This update for xen fixes the following issues:

  • CVE-2024-2201: Mitigation for Native Branch History Injection (XSA-456, bsc#1222453)
  • CVE-2023-46842: HVM hypercalls may trigger Xen bug check (XSA-454, bsc#1221984)
  • CVE-2024-31142: Fixed incorrect logic for BTC/SRSO mitigations (XSA-455, bsc#1222302)
  • Upstream bug fixes (bsc#1027519)
Record
SUSE-SU-2024:1541-1
Updated
2026-11-02
OSVSUSE-SU-2024:2535-1 No score

Security update for xen

This update for xen fixes the following issues:

  • CVE-2023-28746: Register File Data Sampling (XSA-452, bsc#1221332)
  • CVE-2023-46842: HVM hypercalls may trigger Xen bug check (XSA-454, bsc#1221984)
  • CVE-2024-2193: Fixed GhostRace, a speculative race conditions. (XSA-453, bsc#1221334)
  • CVE-2024-2201: Mitigation for Native Branch History Injection (XSA-456, bsc#1222453)
  • CVE-2024-31142: Fixed incorrect logic for BTC/SRSO mitigations (XSA-455, bsc#1222302)
  • CVE-2024-31143: Fixed double unlock in x86 guest IRQ handling (XSA-458, bsc#1227355)
Record
SUSE-SU-2024:2535-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
xen
Alpine:v3.16
4.16.0 up to 4.16.6-r0
4.16.6-r0
xen
Alpine:v3.17
4.16.0 up to 4.16.6-r0
4.16.6-r0
xen
Alpine:v3.18
4.16.0 up to 4.17.4-r0
4.17.4-r0
xen
Alpine:v3.19
4.16.0 up to 4.18.2-r0
4.18.2-r0
xen
Alpine:v3.20
4.16.0 up to 4.18.2-r0
4.18.2-r0
xen
Alpine:v3.21
4.16.0 up to 4.18.2-r0
4.18.2-r0
xen
Alpine:v3.22
4.16.0 up to 4.18.2-r0
4.18.2-r0
xen
Alpine:v3.23
4.16.0 up to 4.18.2-r0
4.18.2-r0
xen
Alpine:v3.24
4.16.0 up to 4.18.2-r0
4.18.2-r0
xen
Debian:12
before 4.17.5+23-ga4e5191dc0-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 6 moreShow less
4.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-1
4.17.5+23-ga4e5191dc0-1
Show 28 moreShow less
Affected packages
PackageAffectedFixed
xen
Debian:13
before 4.19.1-1
4.19.1-1
xen
Debian:14
before 4.19.1-1
4.19.1-1
xen
Debian:12
From an advisory covering 12 CVEs
before 4.17.5+23-ga4e5191dc0-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 6 moreShow less
4.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-1
4.17.5+23-ga4e5191dc0-1
xen
SUSE:Linux Enterprise Micro 5.3
From an advisory covering 3 CVEs
before 4.16.6_02-150400.4.55.1
4.16.6_02-150400.4.55.1
xen
SUSE:Linux Enterprise Micro 5.4
From an advisory covering 3 CVEs
before 4.16.6_02-150400.4.55.1
4.16.6_02-150400.4.55.1
xen
openSUSE:Leap Micro 5.3
From an advisory covering 3 CVEs
before 4.16.6_02-150400.4.55.1
4.16.6_02-150400.4.55.1
xen
openSUSE:Leap Micro 5.4
From an advisory covering 3 CVEs
before 4.16.6_02-150400.4.55.1
4.16.6_02-150400.4.55.1
xen
SUSE:Linux Enterprise Micro 5.5
From an advisory covering 3 CVEs
before 4.17.4_02-150500.3.30.1
4.17.4_02-150500.3.30.1
xen
SUSE:Linux Enterprise Module for Basesystem 15 SP5
From an advisory covering 3 CVEs
before 4.17.4_02-150500.3.30.1
4.17.4_02-150500.3.30.1
xen
SUSE:Linux Enterprise Module for Server Applications 15 SP5
From an advisory covering 3 CVEs
before 4.17.4_02-150500.3.30.1
4.17.4_02-150500.3.30.1
xen
openSUSE:Leap 15.5
From an advisory covering 3 CVEs
before 4.17.4_02-150500.3.30.1
4.17.4_02-150500.3.30.1
xen
SUSE:Linux Enterprise Micro 5.1
From an advisory covering 3 CVEs
before 4.14.6_14-150300.3.72.1
4.14.6_14-150300.3.72.1
xen
SUSE:Linux Enterprise Micro 5.2
From an advisory covering 3 CVEs
before 4.14.6_14-150300.3.72.1
4.14.6_14-150300.3.72.1
xen
SUSE:Linux Enterprise Software Development Kit 12 SP5
From an advisory covering 3 CVEs
before 4.12.4_48-3.109.1
4.12.4_48-3.109.1
xen
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 3 CVEs
before 4.12.4_48-3.109.1
4.12.4_48-3.109.1
xen
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 3 CVEs
before 4.12.4_48-3.109.1
4.12.4_48-3.109.1
xen
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS
From an advisory covering 6 CVEs
before 4.13.5_12-150200.3.93.1
4.13.5_12-150200.3.93.1
xen
SUSE:Linux Enterprise Server 15 SP2-LTSS
From an advisory covering 6 CVEs
before 4.13.5_12-150200.3.93.1
4.13.5_12-150200.3.93.1
xen
SUSE:Linux Enterprise Server for SAP Applications 15 SP2
From an advisory covering 6 CVEs
before 4.13.5_12-150200.3.93.1
4.13.5_12-150200.3.93.1
xen
Ubuntu: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 less
4.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
xen
Ubuntu:18.04:LTS
All versions, plus listed versions
4.9.0-0ubuntu34.9.0-0ubuntu44.9.2-0ubuntu1
None known
xen
Ubuntu: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
xen
Ubuntu: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
xen
Ubuntu: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
xen
Ubuntu:25.10
All versions, plus listed versions
4.20.0-1ubuntu14.20.0+68-g35cb38b222-1
None known
xen
Ubuntu: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
xen
Ubuntu: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
xen
openSUSE:Tumbleweed
From an advisory covering 3 CVEs
before 4.18.2_02-1.1
4.18.2_02-1.1

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-31142 is a high vulnerability (CVSS 7.5) in Xen, published April 12, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 17.4%, the 97th percentile. Fixed in xen 4.16.6-r0.

References

Show 23 moreShow less
MoveEnter Open