Read the docs
TI-2021-11657 Aliases CVE-2021-31535GHSA-3vp2-rf63-rc8p

LookupCol.c in X.Org X through X11R7.7 and libX11 before 1.7.1 might allow remote…

Priority MEDIUM 55CWE-120Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 8 fixed, 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-120 and the CVSS impact.

Summary

LookupCol.c in X.Org X through X11R7.7 and libX11 before 1.7.1 might allow remote attackers to execute arbitrary code. The libX11 XLookupColor request (intended for server-side color lookup) contains a flaw allowing a client to send color-name requests with a name longer than the maximum size allowed by the protocol (and also longer than the maximum packet size for normal-sized packets). The user-controlled data exceeding the maximum size is then interpreted by the server as additional X protocol requests and executed, e.g., to disable X server authorization completely. For example, if the victim encounters malicious terminal control sequences for color codes, then the attacker may be able to take full control of the running graphical session.

Why it matters now

EPSS 0.10353 95th percentileScored 2026-11-07
Public exploit Yes 3 exploit referencesTagged by NVD
Fix Partial Red Hat: 3 advisoriesRed Hat: 8 fixed, 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:x.org:libx11:*:*:*:*:*:*:*:*before 1.7.1Vulnerablex.org
cpe:2.3:o:x.org:x_window_system:*:*:*:*:*:*:*:*up to x11r7.7Vulnerablex.org
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*33VulnerableFedoraproject
  • cpe:2.3:a:x.org:libx11:*:*:*:*:*:*:*:* Versions before 1.7.1 Vulnerable ·x.org
  • cpe:2.3:o:x.org:x_window_system:*:*:*:*:*:*:*:* Versions up to x11r7.7 Vulnerable ·x.org
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject

Remediation

Red Hat 3 advisories

  • RHSA-2021:4326 Released 2021-11-09 · Red Hat rating Moderate
    libX11 security update
    • Red Hat Enterprise Linux AppStream (v. 8) libX11-1.6.8-5.el8, libX11-common-1.6.8-5.el8, libX11-devel-1.6.8-5.el8 +1
  • RHSA-2021:3477 Released 2021-09-09 · Red Hat rating Important
    RHV-H security update (redhat-virtualization-host) 4.3.18
    • RHEL 7-based RHEV-H for RHEV 4 (build requirements) redhat-virtualization-host-4.3.18-20210903.0.el7_9, redhat-virtualization-host-image-update-4.3.18-20210903.0.el7_9
    • Red Hat Virtualization 4 Hypervisor for RHEL 7 redhat-virtualization-host-4.3.18-20210903.0.el7_9, redhat-virtualization-host-image-update-4.3.18-20210903.0.el7_9
  • RHSA-2021:3296 Released 2021-08-30 · Red Hat rating Important
    libX11 security update
    • Red Hat Enterprise Linux Client (v. 7) libX11-1.6.7-4.el7_9, libX11-common-1.6.7-4.el7_9, libX11-devel-1.6.7-4.el7_9
    • Red Hat Enterprise Linux ComputeNode Optional (v. 7) libX11-devel-1.6.7-4.el7_9
    • Red Hat Enterprise Linux Server (v. 7) libX11-1.6.7-4.el7_9, libX11-1.6.7-4.el7_9.ppc, libX11-common-1.6.7-4.el7_9 +2
    • Red Hat Enterprise Linux Workstation (v. 7) libX11-1.6.7-4.el7_9, libX11-common-1.6.7-4.el7_9, libX11-devel-1.6.7-4.el7_9

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
RHEL 7-based RHEV-H for RHEV 4 (build requirements)Fixed RHSA-2021:3477
Red Hat Ansible Tower 3.8 for RHEL 7Fixed—
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2021:4326
Red Hat Enterprise Linux Client (v. 7)Fixed RHSA-2021:3296
Red Hat Enterprise Linux ComputeNode Optional (v. 7)Fixed RHSA-2021:3296
Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2021:3296
Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2021:3296
Red Hat Virtualization 4 Hypervisor for RHEL 7Fixed RHSA-2021:3477
Not affected: 2 products
  • RHEL 7-based RHEV-H for RHEV 4 (build requirements)
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-31535
  2. 2026-10-03 Alias added: GHSA-3vp2-rf63-rc8p

References

Sources