Xorg-x11-server: heap buffer overflow in disabledevice

Summary

CVECVE-2024-21886
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-02-28 13:15:08 UTC
Updated2026-11-04 21:17:38 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 7.8 HIGH from [email protected]

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

EPSS: 0.014200000 probability, percentile 0.729100000 (date 2026-11-04)

Problem Types: CWE-122 | CWE-122 Heap-based Buffer Overflow


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1CNACVSS7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION unaffected 0:1.1.0-25.el6_10.13 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 7 unaffected 0:1.20.4-27.el7_9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 7 unaffected 0:1.8.0-31.el7_9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:1.13.1-2.el8_9.7 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:1.20.11-22.el8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:21.1.3-15.el8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support unaffected 0:1.9.0-15.el8_2.9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.2 Telecommunications Update Service unaffected 0:1.9.0-15.el8_2.9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.2 Update Services For SAP Solutions unaffected 0:1.9.0-15.el8_2.9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support unaffected 0:1.11.0-8.el8_4.8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service unaffected 0:1.11.0-8.el8_4.8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.4 Update Services For SAP Solutions unaffected 0:1.11.0-8.el8_4.8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support unaffected 0:1.12.0-6.el8_6.9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support unaffected 0:1.12.0-15.el8_8.7 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:1.13.1-3.el9_3.6 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:1.20.11-24.el9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:22.1.9-5.el9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support unaffected 0:1.11.0-22.el9_0.8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support unaffected 0:1.12.0-14.el9_2.5 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
ADP Xorg Xserver affected * Not specified
ADP Xorg Xwayland affected * Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2024:0320 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
bugzilla.redhat.com/show_bug.cgi af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
lists.debian.org/debian-lts-announce/2024/01/msg00016.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
access.redhat.com/errata/RHSA-2024:0617 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:0629 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:0621 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:2995 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:0597 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
lists.fedoraproject.org/archives/list/[email protected]/messag... af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
access.redhat.com/errata/RHSA-2024:0557 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
lists.fedoraproject.org/archives/list/[email protected]/messag... af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
access.redhat.com/errata/RHSA-2024:0607 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:0558 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:2169 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
lists.fedoraproject.org/archives/list/[email protected]/messag... af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
access.redhat.com/errata/RHSA-2025:12751 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2024:2996 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/security/cve/CVE-2024-21886 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:2170 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:0626 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:0614 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
lists.fedoraproject.org/archives/list/[email protected]/messag... af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Red Hat would like to thank Jan-Niklas Sohn (Trend Micro Zero Day Initiative) for reporting this issue. (en)

Additional Advisory Data

SourceTimeEvent
CNA2024-01-02T00:00:00.000ZReported to Red Hat.
CNA2024-01-16T00:00:00.000ZMade public.

Workarounds

CNA: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Legacy QID Mappings

  • 161304 Oracle Enterprise Linux Security Update for xorg-x11-server (ELSA-2024-0320)
  • 161327 Oracle Enterprise Linux Security Update for tigervnc (ELSA-2024-0557)
  • 161328 Oracle Enterprise Linux Security Update for tigervnc (ELSA-2024-0607)
  • 161332 Oracle Enterprise Linux Security Update for tigervnc (ELSA-2024-0629)
  • 200051 Ubuntu Security Notification for X.Org X Server Vulnerabilities (USN-6587-1)
  • 200058 Ubuntu Security Notification for X.Org X Server Vulnerabilities (USN-6587-2)
  • 200193 Ubuntu Security Notification for X.Org X Server Vulnerabilities (USN-6587-5)
  • 242726 Red Hat Update for xorg-x11-server (RHSA-2024:0320)
  • 242772 Red Hat Update for tigervnc (RHSA-2024:0558)
  • 242774 Red Hat Update for tigervnc (RHSA-2024:0597)
  • 242782 Red Hat Update for tigervnc (RHSA-2024:0607)
  • 242793 Red Hat Update for tigervnc (RHSA-2024:0617)
  • 242794 Red Hat Update for tigervnc (RHSA-2024:0614)
  • 242808 Red Hat Update for tigervnc (RHSA-2024:0621)
  • 242812 Red Hat Update for tigervnc (RHSA-2024:0626)
  • 242825 Red Hat Update for tigervnc (RHSA-2024:0629)
  • 242833 Red Hat Update for tigervnc (RHSA-2024:0557)
  • 257302 CentOS Security Update for xorg-x11-server (CESA-2024:0320)
  • 257305 CentOS Security Update for tigervnc (CESA-2024:0629)
  • 284893 Fedora Security Update for xorg (FEDORA-2024-05db4bcbec)
  • 285026 Fedora Security Update for xorg (FEDORA-2024-2815d55cdf)
  • 285034 Fedora Security Update for tigervnc (FEDORA-2024-5762d637dd)
  • 285036 Fedora Security Update for xorg (FEDORA-2024-da3d410b53)
  • 357225 Amazon Linux Security Advisory for xorg-x11-server : ALAS2-2024-2455
  • 357249 Amazon Linux Security Advisory for xorg-x11-server : ALAS2023-2024-522
  • 510677 Alpine Linux Security Update for xorg-server
  • 510678 Alpine Linux Security Update for xwayland
  • 6000440 Debian Security Update for xorg-server (DSA 5603-1)
  • 6000449 Debian Security Update for xorg-server (DLA 3721-1)
  • 673399 EulerOS Security Update for xorg-x11-server (EulerOS-SA-2024-1352)
  • 673626 EulerOS Security Update for xorg-x11-server (EulerOS-SA-2024-1232)
  • 673929 EulerOS Security Update for xorg-x11-server (EulerOS-SA-2024-1254)
  • 673935 EulerOS Security Update for xorg-x11-server (EulerOS-SA-2024-1330)
  • 674121 EulerOS Security Update for xorg-x11-server (EulerOS-SA-2024-1522)
  • 674159 EulerOS Security Update for xorg-x11-server (EulerOS-SA-2024-1501)
  • 691397 Free Berkeley Software Distribution (FreeBSD) Security Update for xorg server (7467c611-b490-11ee-b903-001fc69cd6dc)
  • 710847 Gentoo Linux X.Org X Server, XWayland Multiple Vulnerabilities (GLSA 202401-30)
  • 755613 SUSE Enterprise Linux Security Update for xorg-x11-server (SUSE-SU-2024:0121-1)
  • 755614 SUSE Enterprise Linux Security Update for xorg-x11-server (SUSE-SU-2024:0116-1)
  • 755615 SUSE Enterprise Linux Security Update for xwayland (SUSE-SU-2024:0114-1)
  • 755617 SUSE Enterprise Linux Security Update for xorg-x11-server (SUSE-SU-2024:0111-1)
  • 755618 SUSE Enterprise Linux Security Update for xorg-x11-server (SUSE-SU-2024:0109-1)
  • 755633 SUSE Enterprise Linux Security Update for xwayland (SUSE-SU-2024:0165-1)
  • 941559 AlmaLinux Security Update for tigervnc (ALSA-2024:0607)
  • 941561 AlmaLinux Security Update for tigervnc (ALSA-2024:0557)
  • 961113 Rocky Linux Security Update for tigervnc (RLSA-2024:0607)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report