Skip to content
Fencer Vulns
high 7.8

CVE-2024-21886 json

Xorg-x11-server: heap buffer overflow in disabledevice

published 2024-02-28 2 y ago modified 2026-11-04 4 d ago also EUVD-2024-19497

cvss
7.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.4%
EPSS 1.4% chance of exploitation in 30 days, percentile 73%
public exploits
0
none known

Summary

A heap buffer overflow flaw was found in the DisableDevice function in the X.Org server. This issue may lead to an application crash or, in some circumstances, remote code execution in SSH X11 forwarding environments.

Patch / fix

  • Red Hat Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION 0:1.1.0-25.el6_10.13
  • Red Hat Red Hat Enterprise Linux 7 0:1.8.0-31.el7_9, 0:1.20.4-27.el7_9
  • Red Hat Red Hat Enterprise Linux 8 0:1.13.1-2.el8_9.7, 0:1.20.11-22.el8, 0:21.1.3-15.el8
  • Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support 0:1.9.0-15.el8_2.9
  • Red Hat Red Hat Enterprise Linux 8.2 Telecommunications Update Service 0:1.9.0-15.el8_2.9
  • Red Hat Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions 0:1.9.0-15.el8_2.9
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support 0:1.11.0-8.el8_4.8
  • Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service 0:1.11.0-8.el8_4.8
  • Red Hat Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions 0:1.11.0-8.el8_4.8
  • Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support 0:1.12.0-6.el8_6.9
  • Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support 0:1.12.0-15.el8_8.7
  • Red Hat Red Hat Enterprise Linux 9 0:1.13.1-3.el9_3.6, 0:1.20.11-24.el9, 0:22.1.9-5.el9
  • Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support 0:1.11.0-22.el9_0.8
  • Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support 0:1.12.0-14.el9_2.5
  • xwayland Debian 14, Debian 13 2:23.2.4-1
  • xorg-server Debian 12 2:21.1.7-3+deb12u5
  • xorg-server Debian 14, Debian 13 2:21.1.11-1

debian advisories DEBIAN-CVE-2024-21886

  • xwayland Ubuntu 22.04 LTS 2:22.1.1-1ubuntu0.10
  • xwayland Ubuntu 24.04 LTS 2:23.2.4-1
  • xorg-server Ubuntu 20.04 LTS 2:1.20.13-1ubuntu1~20.04.14
  • xorg-server Ubuntu 22.04 LTS 2:21.1.4-2ubuntu1.7~22.04.7
  • xorg-server Ubuntu Pro 14.04 LTS 2:1.15.1-0ubuntu2.11+esm9
  • xorg-server Ubuntu Pro 16.04 LTS 2:1.18.4-0ubuntu0.12+esm9
  • xorg-server Ubuntu Pro 18.04 LTS 2:1.19.6-1ubuntu4.15+esm4

ubuntu advisories UBUNTU-CVE-2024-21886

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • tigervnc RHEL 7 1.8.0-31.el7_9
  • tigervnc-icons RHEL 7 1.8.0-31.el7_9
  • tigervnc-server RHEL 7 1.8.0-31.el7_9
  • tigervnc-license RHEL 7 1.8.0-31.el7_9
  • tigervnc-server-applet RHEL 7 1.8.0-31.el7_9
  • tigervnc-server-module RHEL 7 1.8.0-31.el7_9
  • tigervnc-server-minimal RHEL 7 1.8.0-31.el7_9
  • xorg-x11-server-Xwayland RHEL 8 21.1.3-15.el8

red hat advisories RHSA-2025:12751RHSA-2024:0626RHSA-2024:0617RHSA-2024:0629RHSA-2024:0621RHSA-2024:2996

  • xorg-x11-server SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES 15 SP3-LTSS +6 more 1.20.3-150200.22.5.88.1
  • xorg-x11-server SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.19.6-10.65.1
  • xwayland SLE Workstation Extension 15 SP5, openSUSE Leap 15.5 22.1.5-150500.7.14.1
  • xorg-x11-server SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Real Time 15 SP4 +4 more 1.20.3-150400.38.40.1
  • xorg-x11-server SLE Module for Development Tools 15 SP5, SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 21.1.4-150500.7.18.1

suse advisories SUSE-SU-2024:0121-1SUSE-SU-2024:0116-1SUSE-SU-2024:0114-1SUSE-SU-2024:0111-1SUSE-SU-2024:0109-1

  • xorg-x11-server openSUSE Tumbleweed 21.1.11-1.1
  • xwayland openSUSE Tumbleweed 23.2.4-1.1

opensuse advisories openSUSE-SU-2024:13597-1openSUSE-SU-2024:13598-1

  • xorg-x11-server-Xdmx AlmaLinux 8 1.20.11-22.el8
  • xorg-x11-server-Xorg AlmaLinux 8 1.20.11-22.el8
  • xorg-x11-server-Xvfb AlmaLinux 8 1.20.11-22.el8
  • xorg-x11-server-Xnest AlmaLinux 8 1.20.11-22.el8
  • xorg-x11-server-common AlmaLinux 8 1.20.11-22.el8
  • xorg-x11-server-source AlmaLinux 8 1.20.11-22.el8
  • xorg-x11-server-Xephyr AlmaLinux 8 1.20.11-22.el8
  • xorg-x11-server-Xwayland AlmaLinux 8 21.1.3-15.el8

almalinux advisories ALSA-2024:2995ALSA-2024:2996ALSA-2024:2169ALSA-2024:2170ALSA-2024:0557ALSA-2024:0607

  • tigervnc Rocky Linux 8 1.13.1-2.el8_9.7

rocky linux advisories RLSA-2024:0607

  • xwayland Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 23.2.4-r0
  • xorg-server Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 21.1.11-r0

alpine advisories ALPINE-CVE-2024-21886

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • xorg-x11-server CBL-Mariner 2.0 1.20.10-12

azure linux advisories AZL-35404

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-21886 updated cvss 7.8

xorg-x11-server: heap buffer overflow in DisableDevice

  • Red Hat Enterprise Linux 6 xorg-x11-server, xorg-x11-server-Xdmx, xorg-x11-server-Xorg, xorg-x11-server-Xvfb, xorg-x11-server-Xnest, xorg-x11-server-common, +2 more
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 8) tigervnc 1.13.1-2.el8_9.7, xorg-x11-server 1.20.11-22.el8, tigervnc-icons 1.13.1-2.el8_9.7, tigervnc-server 1.13.1-2.el8_9.7, tigervnc-license 1.13.1-2.el8_9.7, tigervnc-selinux 1.13.1-2.el8_9.7, +9 more
    fixed: vendor fix RHSA-2024:2995
  • Red Hat Enterprise Linux AppStream (v. 9) tigervnc 1.13.1-3.el9_3.6, xorg-x11-server 1.20.11-24.el9, tigervnc-icons 1.13.1-3.el9_3.6, tigervnc-server 1.13.1-3.el9_3.6, tigervnc-license 1.13.1-3.el9_3.6, tigervnc-selinux 1.13.1-3.el9_3.6, +9 more
    fixed: vendor fix RHSA-2024:0557
  • Red Hat Enterprise Linux AppStream AUS (v. 8.2) tigervnc 1.9.0-15.el8_2.9, tigervnc-icons 1.9.0-15.el8_2.9, tigervnc-server 1.9.0-15.el8_2.9, tigervnc-license 1.9.0-15.el8_2.9, tigervnc-server-applet 1.9.0-15.el8_2.9, tigervnc-server-module 1.9.0-15.el8_2.9, +1 more
    fixed: vendor fix RHSA-2024:0617
  • Red Hat Enterprise Linux AppStream AUS (v.8.4) tigervnc 1.11.0-8.el8_4.8, tigervnc-icons 1.11.0-8.el8_4.8, tigervnc-server 1.11.0-8.el8_4.8, tigervnc-license 1.11.0-8.el8_4.8, tigervnc-selinux 1.11.0-8.el8_4.8, tigervnc-server-module 1.11.0-8.el8_4.8, +1 more
    fixed: vendor fix RHSA-2024:0558
  • Red Hat Enterprise Linux AppStream E4S (v. 8.2) tigervnc 1.9.0-15.el8_2.9, tigervnc-icons 1.9.0-15.el8_2.9, tigervnc-server 1.9.0-15.el8_2.9, tigervnc-license 1.9.0-15.el8_2.9, tigervnc-server-applet 1.9.0-15.el8_2.9, tigervnc-server-module 1.9.0-15.el8_2.9, +1 more
    fixed: vendor fix RHSA-2024:0617
  • Red Hat Enterprise Linux AppStream E4S (v.8.4) tigervnc 1.11.0-8.el8_4.8, tigervnc-icons 1.11.0-8.el8_4.8, tigervnc-server 1.11.0-8.el8_4.8, tigervnc-license 1.11.0-8.el8_4.8, tigervnc-selinux 1.11.0-8.el8_4.8, tigervnc-server-module 1.11.0-8.el8_4.8, +1 more
    fixed: vendor fix RHSA-2024:0558
  • Red Hat Enterprise Linux AppStream EUS (v.8.6) tigervnc 1.12.0-6.el8_6.9, tigervnc-icons 1.12.0-6.el8_6.9, tigervnc-server 1.12.0-6.el8_6.9, tigervnc-license 1.12.0-6.el8_6.9, tigervnc-selinux 1.12.0-6.el8_6.9, tigervnc-server-module 1.12.0-6.el8_6.9, +1 more
    fixed: vendor fix RHSA-2024:0621
show 12 more
  • Red Hat Enterprise Linux AppStream EUS (v.8.8) tigervnc 1.12.0-15.el8_8.7, tigervnc-icons 1.12.0-15.el8_8.7, tigervnc-server 1.12.0-15.el8_8.7, tigervnc-license 1.12.0-15.el8_8.7, tigervnc-selinux 1.12.0-15.el8_8.7, tigervnc-server-module 1.12.0-15.el8_8.7, +1 more
    fixed: vendor fix RHSA-2024:0597
  • Red Hat Enterprise Linux AppStream EUS (v.9.0) tigervnc 1.11.0-22.el9_0.8, tigervnc-icons 1.11.0-22.el9_0.8, tigervnc-server 1.11.0-22.el9_0.8, tigervnc-license 1.11.0-22.el9_0.8, tigervnc-selinux 1.11.0-22.el9_0.8, tigervnc-server-module 1.11.0-22.el9_0.8, +1 more
    fixed: vendor fix RHSA-2024:0614
  • Red Hat Enterprise Linux AppStream EUS (v.9.2) tigervnc 1.12.0-14.el9_2.5, tigervnc-icons 1.12.0-14.el9_2.5, tigervnc-server 1.12.0-14.el9_2.5, tigervnc-license 1.12.0-14.el9_2.5, tigervnc-selinux 1.12.0-14.el9_2.5, tigervnc-server-module 1.12.0-14.el9_2.5, +1 more
    fixed: vendor fix RHSA-2024:0626
  • Red Hat Enterprise Linux AppStream TUS (v. 8.2) tigervnc 1.9.0-15.el8_2.9, tigervnc-icons 1.9.0-15.el8_2.9, tigervnc-server 1.9.0-15.el8_2.9, tigervnc-license 1.9.0-15.el8_2.9, tigervnc-server-applet 1.9.0-15.el8_2.9, tigervnc-server-module 1.9.0-15.el8_2.9, +1 more
    fixed: vendor fix RHSA-2024:0617
  • Red Hat Enterprise Linux AppStream TUS (v.8.4) tigervnc 1.11.0-8.el8_4.8, tigervnc-icons 1.11.0-8.el8_4.8, tigervnc-server 1.11.0-8.el8_4.8, tigervnc-license 1.11.0-8.el8_4.8, tigervnc-selinux 1.11.0-8.el8_4.8, tigervnc-server-module 1.11.0-8.el8_4.8, +1 more
    fixed: vendor fix RHSA-2024:0558
  • Red Hat Enterprise Linux Client (v. 7) tigervnc 1.8.0-31.el7_9, tigervnc-icons 1.8.0-31.el7_9, tigervnc-server 1.8.0-31.el7_9, tigervnc-license 1.8.0-31.el7_9, xorg-x11-server 1.20.4-27.el7_9, xorg-x11-server-Xorg 1.20.4-27.el7_9, +3 more Red Hat Enterprise Linux Client Optional (v. 7) xorg-x11-server-Xdmx 1.20.4-27.el7_9, xorg-x11-server-Xvfb 1.20.4-27.el7_9, tigervnc-server-applet 1.8.0-31.el7_9, tigervnc-server-module 1.8.0-31.el7_9, xorg-x11-server-Xnest 1.20.4-27.el7_9, xorg-x11-server-source 1.20.4-27.el7_9, +1 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) tigervnc 1.8.0-31.el7_9, tigervnc-icons 1.8.0-31.el7_9, tigervnc-server 1.8.0-31.el7_9, xorg-x11-server 1.20.4-27.el7_9, xorg-x11-server-Xdmx 1.20.4-27.el7_9, xorg-x11-server-Xorg 1.20.4-27.el7_9, +8 more
    fixed: vendor fix RHSA-2024:0629
  • Red Hat Enterprise Linux CRB (v. 8) xorg-x11-server-source 1.20.11-22.el8
    fixed: vendor fix RHSA-2024:2995
  • Red Hat Enterprise Linux CRB (v. 9) xorg-x11-server-source 1.20.11-24.el9
    fixed: vendor fix RHSA-2024:2169
  • Red Hat Enterprise Linux Server -EXTENSION(v. 6 ELS-EXTENSION) tigervnc 1.1.0-25.el6_10.13, tigervnc-server 1.1.0-25.el6_10.13
    fixed: vendor fix RHSA-2025:12751
  • Red Hat Enterprise Linux Server (v. 7) tigervnc 1.8.0-31.el7_9, tigervnc-icons 1.8.0-31.el7_9, tigervnc-server 1.8.0-31.el7_9, tigervnc-license 1.8.0-31.el7_9, xorg-x11-server 1.20.4-27.el7_9, xorg-x11-server-Xorg 1.20.4-27.el7_9, +3 more
    fixed: vendor fix RHSA-2024:0629
  • Red Hat Enterprise Linux Server Optional -EXTENSION (v. 6 ELS -EXTENSION) tigervnc-server-applet 1.1.0-25.el6_10.13, tigervnc-server-module 1.1.0-25.el6_10.13
    fixed: vendor fix RHSA-2025:12751
  • Red Hat Enterprise Linux Server Optional (v. 7) xorg-x11-server-Xdmx 1.20.4-27.el7_9, xorg-x11-server-Xvfb 1.20.4-27.el7_9, tigervnc-server-applet 1.8.0-31.el7_9, tigervnc-server-module 1.8.0-31.el7_9, xorg-x11-server-Xnest 1.20.4-27.el7_9, xorg-x11-server-source 1.20.4-27.el7_9, +1 more Red Hat Enterprise Linux Workstation (v. 7) tigervnc 1.8.0-31.el7_9, tigervnc-icons 1.8.0-31.el7_9, tigervnc-server 1.8.0-31.el7_9, tigervnc-license 1.8.0-31.el7_9, xorg-x11-server 1.20.4-27.el7_9, xorg-x11-server-Xorg 1.20.4-27.el7_9, +3 more Red Hat Enterprise Linux Workstation Optional (v. 7) xorg-x11-server-Xdmx 1.20.4-27.el7_9, xorg-x11-server-Xvfb 1.20.4-27.el7_9, tigervnc-server-applet 1.8.0-31.el7_9, tigervnc-server-module 1.8.0-31.el7_9, xorg-x11-server-Xnest 1.20.4-27.el7_9, xorg-x11-server-source 1.20.4-27.el7_9, +1 more
    fixed: vendor fix RHSA-2024:0629

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
2 y ago

Exploit prediction

1.42% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

  • Red Hat Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION
  • Red Hat Red Hat Enterprise Linux 7
  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support
  • Red Hat Red Hat Enterprise Linux 8.2 Telecommunications Update Service
  • Red Hat Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  • Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service
  • Red Hat Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support
  • Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support
  • Red Hat Red Hat Enterprise Linux 9
  • Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support
  • Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support
  • Red Hat Red Hat Enterprise Linux 6
  • xorg xserver
  • xorg xwayland

Classification

Weakness
  • CWE-122 Heap-based Buffer Overflow

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.