CVE-2023-3138: redhat enterprise_linux
Vulnerability summary
CVE-2023-3138 is a high (CVSS 7.5) vulnerability in redhat enterprise_linux. EPSS estimates a 1.66% chance of exploitation in the next 30 days, higher than 76.2% of scored vulnerabilities.
Timeline
- 28-06-2023PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · Red hatEcosystem advisory · calculated7.3HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.66%
Chance of exploitation in the next 30 days
Percentile
76%
Versus all other CVEs
30-day change
0.00 pp
From 1.66% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferThe product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Suse29 products
- libX11&distro=SUSE Enterprise Storage 7< 1.6.5-150000.3.30.1
- libX11&distro=SUSE Enterprise Storage 7.1< 1.6.5-150000.3.30.1
- libX11&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 1.6.5-150000.3.30.1
- libX11&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS< 1.6.5-150000.3.30.1
- libX11&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS< 1.6.5-150000.3.30.1
Redhat8 products
- enterprise_linux8.0 | 9.0
- libX11< 0:1.7.0-8.el9_2 | < 0:1.6.8-6.el8_8 | < 0:1.7.0-8.el9 | < 0:1.6.8-6.el8
- libX11-common< 0:1.7.0-8.el9_2 | < 0:1.6.8-6.el8_8 | < 0:1.7.0-8.el9 | < 0:1.6.8-6.el8
- libX11-debuginfo< 0:1.7.0-8.el9_2 | < 0:1.6.8-6.el8_8 | < 0:1.7.0-8.el9 | < 0:1.6.8-6.el8
- libX11-debugsource< 0:1.7.0-8.el9_2 | < 0:1.6.8-6.el8_8 | < 0:1.7.0-8.el9 | < 0:1.6.8-6.el8
Opensuse3 products
- libX11&distro=openSUSE Leap 15.4< 1.6.5-150000.3.30.1
- libX11&distro=openSUSE Leap 15.5< 1.6.5-150000.3.30.1
- libX11&distro=openSUSE Leap Micro 5.3< 1.6.5-150000.3.30.1
Alpine1 product
- libx11< 1.7.3.1-r1 | < 1.8-r1 | < 1.8.4-r1 | < 1.8.4-r4
Debian1 product
- libx11< 2:1.8.6-1 | < 2:1.7.2-1+deb11u1 | < 2:1.8.4-2+deb12u1 | < 2:1.6.7-1+deb10u3
Mageia1 product
- libx11< 1.7.0-1.4.mga8
Ubuntu1 product
- libx11< 2:1.6.9-2ubuntu1.5 | < 2:1.7.5-1ubuntu0.2 | < 2:1.6.2-1ubuntu2.1+esm3 | < 2:1.6.3-1ubuntu2.2+esm2 | < 2:1.6.4-3ubuntu0.4+esm1
X.org1 product
- libx11< 1.8.6
8 vendors · 45 products