CVE & CISA-KEV Catalog

CVE-2023-3138

HIGHEPSS 74th pctl
7.5
CVSS v3
NVD

Description

A vulnerability was found in libX11. The security flaw occurs because the functions in src/InitExt.c in libX11 do not check that the values provided for the Request, Event, or Error IDs are within the bounds of the arrays that those functions write to, using those IDs as array indexes. They trust that they were called with values provided by an Xserver adhering to the bounds specified in the X11 protocol, as all X servers provided by X.Org do. As the protocol only specifies a single byte for these values, an out-of-bounds value provided by a malicious server (or a malicious proxy-in-the-middle) can only overwrite other portions of the Display structure and not write outside the bounds of the Display structure itself, possibly causing the client to crash with this memory corruption.

How to fix

Remediation Available
libx11Debian
Fixed in:2:1.7.2-1+deb11u1CVE-2023-3138
Fixed in:2:1.8.4-2+deb12u1CVE-2023-3138
Fixed in:2:1.8.6-1CVE-2023-3138
Fixed in:2:1.8.6-1CVE-2023-3138
libX11Red Hat / RHEL
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
libX11Rocky
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
libX11-commonRed Hat / RHEL
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
libX11-commonRocky
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
libX11-debuginfoRed Hat / RHEL
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
libX11-debuginfoRocky
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
libX11-debugsourceRed Hat / RHEL
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
libX11-debugsourceRocky
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
libX11-develRed Hat / RHEL
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
libX11-develRocky
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
libX11-xcbRocky
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
libX11-xcbRed Hat / RHEL
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
libX11-xcb-debuginfoRocky
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
libX11-xcb-debuginfoRed Hat / RHEL
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8RHSA-2023:7029
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.6.8-6.el8_8RHSA-2024:1417
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
Fixed in:0:1.7.0-8.el9_2RHSA-2024:1088
Fixed in:0:1.7.0-8.el9RHSA-2023:6497
libx11Ubuntu
Fixed in:2:1.6.2-1ubuntu2.1+esm3USN-6168-2
Fixed in:2:1.6.3-1ubuntu2.2+esm2USN-6168-2
Fixed in:2:1.6.4-3ubuntu0.4+esm1USN-6168-2
Fixed in:2:1.6.9-2ubuntu1.5USN-6168-1
Fixed in:2:1.7.5-1ubuntu0.2USN-6168-1
Fixed in:2:1.8.1-2ubuntu0.2USN-6168-1
Fixed in:2:1.8.4-2ubuntu0.2USN-6168-1
libx11-6Ubuntu
Fixed in:2:1.6.2-1ubuntu2.1+esm3USN-6168-2
Fixed in:2:1.6.3-1ubuntu2.2+esm2USN-6168-2
Fixed in:2:1.6.4-3ubuntu0.4+esm1USN-6168-2
Fixed in:2:1.6.9-2ubuntu1.5USN-6168-1
Fixed in:2:1.7.5-1ubuntu0.2USN-6168-1
Fixed in:2:1.8.1-2ubuntu0.2USN-6168-1
Fixed in:2:1.8.4-2ubuntu0.2USN-6168-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

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

Exploit Intelligence

1.66%probability of exploitation in 30 days
74thpercentile

Elevated risk: more likely to be exploited than 74% of all known CVEs.

References

Related Vulnerabilities

Other CWE-119 (Buffer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-4966Critical9.4100%KEV + RansomFix
CVE-2017-11882High7.8100%KEV + Ransom-
CVE-2020-0796Critical10.0100%KEV + Ransom-
CVE-2008-4250Critical9.899%KEV-
CVE-2017-15944Critical9.898%KEVFix
CVE-2015-0014High10.097%--
Embed a live status badge for CVE-2023-3138
CVE-2023-3138 severity badge

Markdown

[![CVE-2023-3138](https://tridentstack.com/cve/badge/CVE-2023-3138.svg)](https://tridentstack.com/cve/CVE-2023-3138)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-3138"><img src="https://tridentstack.com/cve/badge/CVE-2023-3138.svg" alt="CVE-2023-3138"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.