# CVE-2024-31142: x86: Incorrect logic for BTC/SRSO mitigations

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 17.4%, higher than 97% of CVEs (2026-12-01)
- Published: 2024-05-16T13:39:42.774Z
- Modified: 2026-06-17T07:27:51.600Z
- Weaknesses: CWE-693
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: XEN

## Description

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

(As written by CVE List.)

## Affected

- Xen Xen: consult Xen advisory XSA-455; before 4.15.6; from 4.16.0 before 4.16.6; from 4.17.0 before 4.17.4; from 4.18.0 before 4.18.2
- fedoraproject fedora: 38; 40

## References

- <https://xenbits.xenproject.org/xsa/advisory-455.html> (patch, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D5OK6MH75S7YWD34EWW7QIZTS627RIE3/> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RYAZ7P6YFJ2E3FHKAGIKHWS46KYMMTZH/> (mailing-list, third-party-advisory)
- <http://xenbits.xen.org/xsa/advisory-455.html> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2024-31142](https://www.cve.org/CVERecord?id=CVE-2024-31142), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2024-31142](https://nvd.nist.gov/vuln/detail/CVE-2024-31142), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-31142 · Whole record: https://cve.day/CVE-2024-31142.json · Rebuilt by cve.day 2026-11-25T22:58:40.450Z
