# What is CVE-2023-46842?

> CVE-2023-46842 is a medium-severity flaw (CVSS 6.5) in Xen, published on 16 May 2024. It is not on the list of flaws known to be exploited today. The latest forecast puts its chance of use in the next 30 days at 0.4%. If you run an affected version, plan in the vendor’s fix.

Canonical page: https://www.edgeprotect.io/what-is/cve-2023-46842

## At a glance

- **Verdict:** Plan it in. No sign of exploitation and a low forecast. Patch it in your normal update cycle.
- **EdgeProtect risk score:** 36 out of 100 (Low); action: Monitor. Kept up to date as the evidence changes.
- **Severity:** Medium (CVSS 6.5 out of 10)
- **Known to be exploited:** No, not on the list of flaws known to be exploited today
- **Chance of use in the next 30 days:** 0.4% (latest exploit-likelihood forecast)
- **Published:** 16 May 2024
- **Record last updated:** 17 June 2026
- **Main product:** Xen
- **Affected products:** 2

## What is CVE-2023-46842? In plain terms

An attacker has to be already on the device with an ordinary user account, and nobody has to click anything. If it works, the attacker can take it offline.

### The official description

Unlike 32-bit PV guests, HVM guests may switch freely between 64-bit and
other modes.  This in particular means that they may set registers used
to pass 32-bit-mode hypercall arguments to values outside of the range
32-bit code would be able to set them to.

When processing of hypercalls takes a considerable amount of time,
the hypervisor may choose to invoke a hypercall continuation.  Doing so
involves putting (perhaps updated) hypercall arguments in respective
registers.  For guests not running in 64-bit mode this further involves
a certain amount of translation of the values.

Unfortunately internal sanity checking of these translated values
assumes high halves of registers to always be clear when invoking a
hypercall.  When this is found not to be the case, it triggers a
consistency check in the hypervisor and causes a crash.

### What kind of flaw is it?

- CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')

### How an attack on it works

- Where an attacker can be: Already on the device
- How hard it is to pull off: Easy: no special conditions
- Login needed first: An ordinary user account
- Does someone have to click: No, nobody has to do anything
- What an attacker gets: Can take it offline

Severity vector: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H`

## Is CVE-2023-46842 being exploited? Not that we know of

It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 0.4%. That can change at any time, which is why we keep watching.

Exploit likelihood over the last 7 days: 8.5%, 8.5%, 8.5%, 8.5%, 8.5%, 0.4%, 0.4%.

### Timeline

- 16 May 2024: Published
- 17 June 2026: Record last updated

### How EdgeProtect ranks it

CVE-2023-46842 scores **36 out of 100 (Low)**, with the action "Monitor".

Every published flaw gets a risk score from 0 to 100, kept up to date as the evidence changes. Four things go into the score, from the one that counts most to the ones that count less:

- Evidence it is being exploited: biggest factor
- How severe it is: strong factor
- How widely exposed it is: key context
- Real threat activity around it: key context

85 and above is Critical. Anything confirmed as exploited is always marked for an emergency patch, whatever its score. When this flaw matches software you track, it lands in your list with its score and the reasons behind it.

## Who is affected by CVE-2023-46842?

The published record lists 2 products.

- [Xen](https://www.edgeprotect.io/product/xen/xen) by [Xen](https://www.edgeprotect.io/vendors/xen) (Operating system): 3.2.0 and later
- [Fedora](https://www.edgeprotect.io/product/fedoraproject/fedora) by [Fedoraproject](https://www.edgeprotect.io/vendors/fedoraproject) (Operating system): 38, 40

## How do I fix CVE-2023-46842?

1. **Check whether you run it.** Compare your versions with the affected products above. Not sure what you run? EdgeProtect can work it out from your public website, or you can pick it from a list.
2. **Apply the vendor’s fix.** Install the update named in the vendor’s advisory. We’ve put the advisories and patch notes first in the list.
3. **If you can’t patch today.** Follow any mitigation the vendor publishes, and limit who can reach the affected system from the internet until the update is in.
4. **Keep an eye on it.** Track the product and we tell you as soon as we spot this flaw on the list of exploited flaws, or a jump in its exploit likelihood.

### References

- [xenbits.xenproject.org](https://xenbits.xenproject.org/xsa/advisory-454.html) (Patch, Vendor advisory)
- [xenbits.xen.org](http://xenbits.xen.org/xsa/advisory-454.html) (Patch, Vendor advisory)
- [lists.fedoraproject.org](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D5OK6MH75S7YWD34EWW7QIZTS627RIE3/) (Mailing list, Third-party advisory)
- [lists.fedoraproject.org](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RYAZ7P6YFJ2E3FHKAGIKHWS46KYMMTZH/) (Mailing list, Third-party advisory)

## Questions

### What is CVE-2023-46842?

CVE-2023-46842 is a medium-severity flaw in Xen, published on 16 May 2024. An attacker has to be already on the device with an ordinary user account, and nobody has to click anything. If it works, the attacker can take it offline.

### How serious is CVE-2023-46842?

It scores 6.5 out of 10 on the CVSS severity scale, which is medium. Our risk score for CVE-2023-46842 is 36 out of 100, which is Low. Its action is "Monitor". No sign of exploitation and a low forecast. Patch it in your normal update cycle.

### Is CVE-2023-46842 being exploited?

It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 0.4%. That can change at any time, which is why we keep watching.

### Which versions does CVE-2023-46842 affect?

For Xen: 3.2.0 and later. The record lists 2 products in all, each with its versions, under "Who is affected" on this page.

### How do I fix CVE-2023-46842?

Install the update the vendor names in its advisory, linked first under "How do I fix" on this page. If you can't patch today, follow the vendor's mitigation and limit who can reach the affected system from the internet.

## Does CVE-2023-46842 affect you?

EdgeProtect keeps checking for you:

- **Tell us what you run.** Pick your software from a list, or let us work it out from your website.
- **We match it to every flaw.** Over 400,000 published flaws, checked against your list.
- **Ranked by real-world risk.** Every flaw gets a 0 to 100 risk score, kept up to date, led by evidence criminals are using it.
- **Told as soon as we know.** An alert by email, in the app or by webhook to your own tools.

Start free (no card, nothing to install): https://www.edgeprotect.io/register
Book a demo: https://www.edgeprotect.io/demo

