VDB

ALPINE-CVE-2021-31535

ALPINE-CVE-2021-31535 PUBLISHED CVSS 9.800000190734863 CRITICAL

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.

Risk Scores

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

Affected Products

VendorProductVersions
Alpine:v3.13libx110, 1.7.0-r0, 1.6.9-r0
Alpine:v3.16libx111.1.99.2-r1, 1.7.0-r0, 1.6.9-r0
Alpine:v3.22libx111.1.99.2-r0, 1.7.0-r0, 1.6.9-r0
Alpine:v3.14libx110, 1.7.0-r0, 1.6.9-r0
Alpine:v3.11libx110, 1.1.99.2-r1, 1.2-r0
Alpine:v3.10libx111.4.2-r0, 1.3-r0, 1.2.2-r0
Alpine:v3.18libx111.6.5-r2, 1.4.4-r0, 1.6.5-r0
Alpine:v3.17libx111.1.99.2-r0, 1.7.0-r0, 1.6.9-r0
Alpine:v3.19libx110, 1.7.0-r0, 1.6.9-r0
Alpine:v3.23libx111.6.2-r0, 1.7.0-r0, 1.6.9-r0
Alpine:v3.12libx111.4.3-r2, 1.4.3-r3, 1.4.99.1-r0
Alpine:v3.21libx111.6.11-r0, 1.4.99.901-r0, 1.2.2-r0
Alpine:v3.20libx111.6.8-r0, 1.1.99.2-r0, 1.1.99.2-r1
Alpine:v3.15libx111.7.0-r0, 1.6.9-r0, 1.6.8-r1

Timeline

  • May 27, 2021 CVE Published
  • Dec 3, 2025 CVE Updated
  • Apr 30, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›