{"api_version":"1","generated_at":"2026-04-22T22:58:52+00:00","cve":"CVE-2023-3138","urls":{"html":"https://cve.report/CVE-2023-3138","api":"https://cve.report/api/cve/CVE-2023-3138.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-3138","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-3138"},"summary":{"title":"CVE-2023-3138","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2023-06-28 21:15:00","updated_at":"2023-12-08 19:15:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"https://lists.x.org/archives/xorg-announce/2023-June/003406.html","name":"https://lists.x.org/archives/xorg-announce/2023-June/003406.html","refsource":"MISC","tags":[],"title":"[ANNOUNCE] X.Org Security Advisory: Sub-object overflows in libX11","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.x.org/archives/xorg-announce/2023-June/003407.html","name":"https://lists.x.org/archives/xorg-announce/2023-June/003407.html","refsource":"MISC","tags":[],"title":"[ANNOUNCE] libX11 1.8.6","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/304a654a0d57bf0f00d8998185f0360332cfa36c","name":"https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/304a654a0d57bf0f00d8998185f0360332cfa36c","refsource":"MISC","tags":[],"title":"InitExt.c: Add bounds checks for extension request, event, & error codes (304a654a) · Commits · xorg / lib / libX11 · GitLab","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://access.redhat.com/security/cve/CVE-2023-3138","name":"https://access.redhat.com/security/cve/CVE-2023-3138","refsource":"MISC","tags":[],"title":"cve-details","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.netapp.com/advisory/ntap-20231208-0008/","name":"https://security.netapp.com/advisory/ntap-20231208-0008/","refsource":"","tags":[],"title":"CVE-2023-3138 libX11 Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-3138","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-3138","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"3138","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"3138","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"3138","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"x.org","cpe5":"libx11","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-3138","qid":"161119","title":"Oracle Enterprise Linux Security Update for libx11 (ELSA-2023-6497)"},{"cve":"CVE-2023-3138","qid":"161172","title":"Oracle Enterprise Linux Security Update for libx11 (ELSA-2023-7029)"},{"cve":"CVE-2023-3138","qid":"199420","title":"Ubuntu Security Notification for libx11 Vulnerability (USN-6168-1)"},{"cve":"CVE-2023-3138","qid":"199557","title":"Ubuntu Security Notification for libx11 Vulnerability (USN-6168-2)"},{"cve":"CVE-2023-3138","qid":"242398","title":"Red Hat Update for libx11 (RHSA-2023:6497)"},{"cve":"CVE-2023-3138","qid":"242411","title":"Red Hat Update for libx11 (RHSA-2023:7029)"},{"cve":"CVE-2023-3138","qid":"243008","title":"Red Hat Update for libx11 (RHSA-2024:1088)"},{"cve":"CVE-2023-3138","qid":"243090","title":"Red Hat Update for libx11 (RHSA-2024:1417)"},{"cve":"CVE-2023-3138","qid":"284052","title":"Fedora Security Update for libX11 (FEDORA-2023-7503ce855c)"},{"cve":"CVE-2023-3138","qid":"355602","title":"Amazon Linux Security Advisory for libX11 : ALAS2-2023-2129"},{"cve":"CVE-2023-3138","qid":"355647","title":"Amazon Linux Security Advisory for libX11 : ALAS2023-2023-250"},{"cve":"CVE-2023-3138","qid":"355650","title":"Amazon Linux Security Advisory for libX11 : ALAS-2023-1782"},{"cve":"CVE-2023-3138","qid":"503032","title":"Alpine Linux Security Update for libx11"},{"cve":"CVE-2023-3138","qid":"503033","title":"Alpine Linux Security Update for libx11"},{"cve":"CVE-2023-3138","qid":"503034","title":"Alpine Linux Security Update for libx11"},{"cve":"CVE-2023-3138","qid":"503116","title":"Alpine Linux Security Update for libx11"},{"cve":"CVE-2023-3138","qid":"6000060","title":"Debian Security Update for libx11 (DLA 3472-1)"},{"cve":"CVE-2023-3138","qid":"6000180","title":"Debian Security Update for libx11 (DSA 5433-1)"},{"cve":"CVE-2023-3138","qid":"673290","title":"EulerOS Security Update for libx11 (EulerOS-SA-2023-2589)"},{"cve":"CVE-2023-3138","qid":"673306","title":"EulerOS Security Update for libx11 (EulerOS-SA-2023-2619)"},{"cve":"CVE-2023-3138","qid":"673367","title":"EulerOS Security Update for libx11 (EulerOS-SA-2023-3136)"},{"cve":"CVE-2023-3138","qid":"673511","title":"EulerOS Security Update for libx11 (EulerOS-SA-2023-2862)"},{"cve":"CVE-2023-3138","qid":"673662","title":"EulerOS Security Update for libx11 (EulerOS-SA-2023-2845)"},{"cve":"CVE-2023-3138","qid":"673681","title":"EulerOS Security Update for libx11 (EulerOS-SA-2023-2814)"},{"cve":"CVE-2023-3138","qid":"673913","title":"EulerOS Security Update for libx11 (EulerOS-SA-2023-2790)"},{"cve":"CVE-2023-3138","qid":"691194","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for libx11 (734b8f46-773d-4fef-bed3-61114fe8e4c5)"},{"cve":"CVE-2023-3138","qid":"754109","title":"SUSE Enterprise Linux Security Update for libX11 (SUSE-SU-2023:2531-1)"},{"cve":"CVE-2023-3138","qid":"754126","title":"SUSE Enterprise Linux Security Update for libX11 (SUSE-SU-2023:2614-1)"},{"cve":"CVE-2023-3138","qid":"907081","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for libX11 (27274-1)"},{"cve":"CVE-2023-3138","qid":"941347","title":"AlmaLinux Security Update for libX11 (ALSA-2023:6497)"},{"cve":"CVE-2023-3138","qid":"941450","title":"AlmaLinux Security Update for libX11 (ALSA-2023:7029)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2023-3138","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"libX11","version":{"version_data":[{"version_value":"libX11 1.8.6"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-119"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://access.redhat.com/security/cve/CVE-2023-3138","url":"https://access.redhat.com/security/cve/CVE-2023-3138"},{"refsource":"MISC","name":"https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/304a654a0d57bf0f00d8998185f0360332cfa36c","url":"https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/304a654a0d57bf0f00d8998185f0360332cfa36c"},{"refsource":"MISC","name":"https://lists.x.org/archives/xorg-announce/2023-June/003406.html","url":"https://lists.x.org/archives/xorg-announce/2023-June/003406.html"},{"refsource":"MISC","name":"https://lists.x.org/archives/xorg-announce/2023-June/003407.html","url":"https://lists.x.org/archives/xorg-announce/2023-June/003407.html"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]}},"nvd":{"publishedDate":"2023-06-28 21:15:00","lastModifiedDate":"2023-12-08 19:15:00","problem_types":["CWE-787"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:x.org:libx11:*:*:*:*:*:*:*:*","versionEndExcluding":"1.8.6","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}