VDB

CVE-2023-5380

CVE-2023-5380 PUBLISHED CVSS 4.7 MEDIUM

Xorg-x11-server: use-after-free bug in destroywindow

Reported by redhat · Published October 25, 2023

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
xorg-x11-server-XdmxAmazon Linux1.20.14-26.amzn2023.0.1, 1.20.4-22.amzn2.0.1
xorg-x11-server-XorgAmazon Linux1.20.14-26.amzn2023.0.1, 1.20.4-22.amzn2.0.1
xorg-x11-server-XwaylandAmazon Linux1.20.4-22.amzn2.0.1
xorg-x11-server-commonAmazon Linux1.20.14-26.amzn2023.0.1, 1.20.4-22.amzn2.0.1
xorg-x11-server-sourceAmazon Linux1.20.14-26.amzn2023.0.1, 1.20.4-22.amzn2.0.1
xorg-x11-server-develAmazon Linux1.20.14-26.amzn2023.0.1, 1.20.4-22.amzn2.0.1
xorg-serverAlpine21.1.9-r0
xorg-x11-server-XephyrAmazon Linux1.20.14-26.amzn2023.0.1, 1.20.4-22.amzn2.0.1
xorg-x11-server-XvfbAmazon Linux1.20.14-26.amzn2023.0.1, 1.20.4-22.amzn2.0.1
xorg-x11-server-XnestAmazon Linux1.20.14-26.amzn2023.0.1, 1.20.4-22.amzn2.0.1
x_serverx.org21.1.9
xwaylandx.org23.2.2

Risk scores

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

Affected products

VendorProductVersions
Red HatRed Hat Enterprise Linux 70:1.8.0-26.el7_9
Red HatRed Hat Enterprise Linux 80:1.20.11-22.el8
Red HatRed Hat Enterprise Linux 80:1.13.1-8.el8
Red HatRed Hat Enterprise Linux 90:1.20.11-24.el9
Red HatRed Hat Enterprise Linux 90:1.13.1-8.el9
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 9
amazon:2xorg-x11-server-Xdmx0
Red HatRed Hat Enterprise Linux 6
amazon:2023xorg-x11-server-Xdmx0
amazon:2023xorg-x11-server-Xorg0
Red HatRed Hat Enterprise Linux 7
amazon:2xorg-x11-server-Xwayland0
amazon:2xorg-x11-server-common0
Red HatRed Hat Enterprise Linux 8
amazon:2023xorg-x11-server-common0
amazon:2xorg-x11-server-source0

…and 18 more

Timeline

  • Oct 24, 2023 CVE Published
  • Oct 26, 2023 EPSS Score (30 in total, the first dated here)
  • Oct 26, 2023 PoC Published
  • Oct 5, 2024 Coalition ESS Score (12 in total, the first dated here)
  • Jan 24, 2026 Distribution Patch (20 in total, the first dated here)
  • Jan 24, 2026 Security Advisory (22 in total, the first dated here)
  • Nov 5, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-5380
vulnetix vdb fixes CVE-2023-5380

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-5380/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›