CVE-2021-31535
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
02 Description
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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 10.63% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 95.3% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-05-27 12:26Z5 YR AGO
- Last updated
- 2024-08-03 23:03Z2 YR AGO
- Reserved
- 2021-04-21
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- 29421e02b4af6ca0cf0547f8c3818a27d59ead14ebebeb1e7e05af4aab5570f4
05 Affected products
06 References
- unparalleled.euhttps://unparalleled.eu/publications/2021/advisory-unpar-2021-1.txt
- lists.freedesktop.orghttps://lists.freedesktop.org/archives/xorg/
- www.openwall.com[oss-security] 20210518 libX11 security advisory: May 18, 2021http://www.openwall.com/lists/oss-security/2021/05/18/2
- seclists.org20210520 CVE-2021-31535 libX11 Insufficient Length Checks PoC and Archeologyhttp://seclists.org/fulldisclosure/2021/May/52
- packetstormsecurity.comhttp://packetstormsecurity.com/files/162737/libX11-Insufficient-Length-Check-Injection.html
- lists.debian.org[debian-lts-announce] 20210524 [SECURITY] [DLA 2666-1] libx11 security updatehttps://lists.debian.org/debian-lts-announce/2021/05/msg00021.html
- www.debian.orgDSA-4920https://www.debian.org/security/2021/dsa-4920
- security.gentoo.orgGLSA-202105-16https://security.gentoo.org/glsa/202105-16
- www.openwall.comhttps://www.openwall.com/lists/oss-security/2021/05/18/3
- www.openwall.comhttps://www.openwall.com/lists/oss-security/2021/05/18/2
- unparalleled.euhttps://unparalleled.eu/blog/2021/20210518-using-xterm-to-navigate-the-huge-color-space/
- lists.x.orghttps://lists.x.org/archives/xorg-announce/2021-May/003088.html
- gitlab.freedesktop.orghttps://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/8d2e02ae650f00c4a53deb625211a0527126c605
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20210813-0001/
- lists.fedoraproject.orgFEDORA-2021-62bb9998b2https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TEOT4RLB76RVPJQKGGTIKTBIOLHX2NR6/
- lists.apache.org[kafka-dev] 20210831 Security vulnerabilities in kafka:2.13-2.6.0/2.7.0 docker imagehttps://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cdev.kafka.apache.org%3E
- lists.apache.org[kafka-users] 20210831 Security vulnerabilities in kafka:2.13-2.6.0/2.7.0 docker imagehttps://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cusers.kafka.apache.org%3E
- lists.apache.org[kafka-users] 20210901 Re: [EXTERNAL] Re: Security vulnerabilities in kafka:2.13-2.6.0/2.7.0 docker imagehttps://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cusers.kafka.apache.org%3E
- lists.apache.org[kafka-dev] 20210901 Re: [EXTERNAL] Re: Security vulnerabilities in kafka:2.13-2.6.0/2.7.0 docker imagehttps://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cdev.kafka.apache.org%3E
07 Fixed in
AlmaLinux 8
- libX11 Fixed in 1.6.8-5.el8
- libX11-common Fixed in 1.6.8-5.el8
- libX11-devel Fixed in 1.6.8-5.el8
- libX11-xcb Fixed in 1.6.8-5.el8
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- libx11 Fixed in 1.7.1-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 8
- libX11 Fixed in 1.6.8-5.el8
- libX11-common Fixed in 1.6.8-5.el8
- libX11-devel Fixed in 1.6.8-5.el8
- libX11-xcb Fixed in 1.6.8-5.el8
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- libx11 Fixed in 2:1.7.1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- libx11 Fixed in 2:1.7.1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- libx11 Fixed in 2:1.7.1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- libx11 Fixed in 2:1.6.4-3ubuntu0.4
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- libx11 Fixed in 2:1.6.9-2ubuntu1.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- libx11 Fixed in 2:1.6.2-1ubuntu2.1+esm2Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- libx11 Fixed in 2:1.6.3-1ubuntu2.2+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.