{"id":"CVE-2023-3138","url":"https://www.cyber-defence.io/tools/cve/CVE-2023-3138","generatedAt":"2026-10-28T02:14:50.409Z","title":"A vulnerability was found in libX11.","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.","published":"2023-06-28T21:15:10.000Z","lastModified":"2026-06-17T06:13:26.000Z","status":"Modified","sourceIdentifier":"secalert@redhat.com","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"cwe":["CWE-119","CWE-787"],"affected":["x.org/libx11","redhat/enterprise linux"],"epss":{"score":0.01656,"percentile":0.76438,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (1.66%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2023-3138","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/304a654a0d57bf0f00d8998185f0360332cfa36c","tags":["Patch"],"source":"secalert@redhat.com"},{"url":"https://lists.x.org/archives/xorg-announce/2023-June/003406.html","tags":["Mailing List","Patch"],"source":"secalert@redhat.com"},{"url":"https://lists.x.org/archives/xorg-announce/2023-June/003407.html","tags":["Mailing List","Patch"],"source":"secalert@redhat.com"},{"url":"https://security.netapp.com/advisory/ntap-20231208-0008/","source":"secalert@redhat.com"},{"url":"https://access.redhat.com/security/cve/CVE-2023-3138","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/304a654a0d57bf0f00d8998185f0360332cfa36c","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.x.org/archives/xorg-announce/2023-June/003406.html","tags":["Mailing List","Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.x.org/archives/xorg-announce/2023-June/003407.html","tags":["Mailing List","Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20231208-0008/","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-3138","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}