Rapid7

vulnerability

FreeBSD: VID-58d6ed66-c2e8-11eb-9fb0-6451062f0f7a (CVE-2021-31535): libX11 -- Arbitrary code execution

Severity
7
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
Jun 1, 2021
Added
Nov 4, 2022
Modified
Mar 25, 2026

Description

The X.org project reports: XLookupColor() and other X libraries function lack proper validation of the length of their string parameters. If those parameters can be controlled by an external application (for instance a color name that can be emitted via a terminal control sequence) it can lead to the emission of extra X protocol requests to the X server.

Solution

freebsd-upgrade-package-libx11
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.