9.8

CVE-2021-31535: fedoraproject fedora Classic Buffer Overflow

CVSS: 9.8v3.1CriticalModified
AliasesALPINE-CVE-2021-31535MGASA-2021-0219SUSE-SU-2021:14748-1
Published 27-05-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-31535 is a critical (CVSS 9.8) Classic Buffer Overflow vulnerability in fedoraproject fedora. EPSS estimates a 10.63% chance of exploitation in the next 30 days, higher than 95.7% of scored vulnerabilities. 3 public exploits are recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
10.63%
0%100%
Medium · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits3reference

Advisory lineage

Upstream 0 · Downstream 2 · Related 1

Timeline

  1. 27-05-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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 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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

10.63%

Chance of exploitation in the next 30 days

Percentile

96%

Versus all other CVEs

30-day change

0.00 pp

From 10.63% on 19-09-2026

19-09-202619-10-2026
EPSS score
10.63%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

3 found
  • referenceUnverified

    Exploit Reference (unparalleled.eu)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (unparalleled.eu)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Suse32 products
  • libX11&distro=HPE Helion OpenStack 8< 1.6.2-12.21.1
  • libX11&distro=SUSE Enterprise Storage 6< 1.6.5-3.21.1
  • libX11&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS< 1.6.5-3.21.1
  • libX11&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 1.6.5-3.21.1
  • libX11&distro=SUSE Linux Enterprise High Performance Computing 15-ESPOS< 1.6.5-3.21.1
Redhat7 products
  • libX11< 0:1.6.8-5.el8 | < 0:1.6.7-4.el7_9
  • libX11-common< 0:1.6.8-5.el8 | < 0:1.6.7-4.el7_9
  • libX11-debuginfo< 0:1.6.8-5.el8 | < 0:1.6.7-4.el7_9
  • libX11-debugsource< 0:1.6.8-5.el8
  • libX11-devel< 0:1.6.8-5.el8 | < 0:1.6.7-4.el7_9
Mageia2 products
  • libx11< 1.6.12-1.1.mga7
  • libx11< 1.7.0-1.1.mga8
Opensuse2 products
  • libX11&distro=openSUSE Leap 15.2< 1.6.5-lp152.5.15.1 | < 1.6.5-lp152.5.18.1
  • libX11&distro=openSUSE Leap 15.3< 1.6.5-3.21.1
X.org2 products
Alpine1 product
  • libx11< 1.6.12-r1 | < 1.7.1-r0
Debian1 product
  • libx11< 2:1.7.1-1 | < 2:1.6.7-1+deb10u2 | < 2:1.6.4-3+deb9u4
Fedoraproject1 product
Ubuntu1 product
  • libx11< 2:1.6.4-3ubuntu0.4 | < 2:1.6.9-2ubuntu1.2 | < 2:1.6.2-1ubuntu2.1+esm2 | < 2:1.6.3-1ubuntu2.2+esm1

9 vendors · 49 products

References

49 links
Show all 49 references