7.8
CWE
119 122
Advisory Published
CVE Published
Updated

CVE-2024-21886: Xorg-x11-server: heap buffer overflow in disabledevice

First published: Tue Jan 02 2024(Updated: )

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.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/xorg-server<21.1.11
21.1.11
redhat/xwayland<23.2.4
23.2.4
debian/xorg-server
2:1.20.11-1+deb11u13
2:1.20.11-1+deb11u15
2:21.1.7-3+deb12u9
2:21.1.16-1
debian/xwayland<=2:22.1.9-1
2:24.1.6-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2024-21886?

    CVE-2024-21886 is categorized as a critical vulnerability due to the potential for remote code execution.

  • How do I fix CVE-2024-21886?

    To fix CVE-2024-21886, update the xorg-server to version 21.1.11 or xwayland to version 23.2.4 for Red Hat systems, or the relevant patched versions for Debian.

  • What causes the CVE-2024-21886 vulnerability?

    CVE-2024-21886 is caused by a heap buffer overflow in the DisableDevice function within the X.Org server.

  • Can CVE-2024-21886 lead to application crashes?

    Yes, CVE-2024-21886 can cause application crashes in addition to potentially enabling remote code execution in specific environments.

  • Is CVE-2024-21886 present in all versions of X.Org server?

    No, CVE-2024-21886 affects specific versions of the xorg-server and xwayland packages, especially older versions prior to the recommended updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203