---
title: "CVE-2023-5380\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2023-5380?format=md
keywords: index, follow
---

# CVE-2023-5380

Publication date 25 October 2023

Last updated 19 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**4.7 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2023-5380?format=md#impact-score)

Toggle side navigation

## Description

A use-after-free flaw was found in the xorg-x11-server. An X server crash
may occur in a very specific and legacy configuration (a multi-screen setup
with multiple protocol screens, also known as Zaphod mode) if the pointer
is warped from within a window on one screen to the root window of the
other screen and if the original window is destroyed followed by another
window being destroyed.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2023-5380?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| xorg | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Not affected |
| 23.10 mantic | Not affected |
| 23.04 lunar | Not affected |
| 22.04 LTS jammy | Not affected |
| 20.04 LTS focal | Not affected |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Ignored end of standard support |
| xorg-hwe-16.04 | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Not in release |
| 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Not in release |
| 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not in release |
| xorg-hwe-18.04 | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Not in release |
| 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Not in release |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| xorg-server | 26.04 LTS resolute | Fixed 2:21.1.7-3ubuntu2.1 |
| 25.10 questing | Fixed 2:21.1.7-3ubuntu2.1 |
| 25.04 plucky | Fixed 2:21.1.7-3ubuntu2.1 |
| 24.10 oracular | Fixed 2:21.1.7-3ubuntu2.1 |
| 24.04 LTS noble | Fixed 2:21.1.7-3ubuntu2.1 |
| 23.10 mantic | Fixed 2:21.1.7-3ubuntu2.1 |
| 23.04 lunar | Fixed 2:21.1.7-1ubuntu3.1 |
| 22.04 LTS jammy | Fixed 2:21.1.4-2ubuntu1.7~22.04.2 |
| 20.04 LTS focal | Fixed 2:1.20.13-1ubuntu1~20.04.9 |
| 18.04 LTS bionic | Fixed 2:1.19.6-1ubuntu4.15+esm1  Ubuntu Pro |
| 16.04 LTS xenial | Fixed 2:1.18.4-0ubuntu0.12+esm6  Ubuntu Pro |
| 14.04 LTS trusty | Fixed 2:1.15.1-0ubuntu2.11+esm8  Ubuntu Pro |
| xorg-server-hwe-16.04 | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Not in release |
| 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Not in release |
| 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Needs evaluation |
| 14.04 LTS trusty | Not in release |
| xorg-server-hwe-18.04 | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Not in release |
| 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Not in release |
| 18.04 LTS bionic | Needs evaluation |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| xorg-server-lts-utopic | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Not in release |
| 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Not in release |
| 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Ignored end of standard support |
| xorg-server-lts-vivid | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Not in release |
| 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Not in release |
| 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Ignored end of standard support |
| xorg-server-lts-wily | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Not in release |
| 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Not in release |
| 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Ignored end of standard support |
| xorg-server-lts-xenial | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Not in release |
| 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Not in release |
| 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Ignored end of standard support |
| xwayland | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Not affected |
| 23.10 mantic | Not affected |
| 23.04 lunar | Not affected |
| 22.04 LTS jammy | Not affected |
| 20.04 LTS focal | Not in release |
| 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2023-5380?format=md#patch-details)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

xorg server is actually the xorg-server package
the xorg package only contains docs
xwayland package contains parts of xorg-server
xwayland is not affected as it does not support multiple
protocol screens

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| xorg-server | * Upstream:   [564ccf2](https://gitlab.freedesktop.org/xorg/xserver/-/commit/564ccf2ce9616620456102727acb8b0256b7bbd7) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

4.7 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | High |
  | Privileges required | Low |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 4.7 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-5380)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-5380)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2023-5380)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2023-5380)

### Related Ubuntu Security Notices (USN)

+ [USN-6453-1](https://usn.ubuntu.com/USN-6453-1)
+ X.Org X Server vulnerabilities
+ 25 October 2023

+ [USN-6453-2](https://usn.ubuntu.com/USN-6453-2)
+ X.Org X Server vulnerabilities
+ 31 October 2023

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2023-5380>
