CVE-2023-3138
Se ha detectado una vulnerabilidad en libX11. El fallo de seguridad se produce porque las funciones de src/InitExt.c en libX11 no comprueban que los valores proporcionados para los identificadores de Request, Event o Error estén dentro de los límites de los arrays en los que escriben esas funciones, utilizando dichos identificadores como índices de array. Confían en que se les llame con valores proporcionados por un servidor X que respete los límites especificados en el protocolo X11, como ocurre con todos los servidores X suministrados por X.Org.
Leer descripción completaMostrar menos
Como el protocolo solo especifica un byte para estos valores, un valor fuera de límites proporcionado por un servidor malicioso (o por un proxy intermedio malicioso) solo puede sobrescribir otras partes de la estructura Display, y no escribir fuera de los límites de la propia estructura Display, lo que podría provocar que el cliente se bloquee debido a esta corrupción de memoria.
Traducción automática del texto original de NVD (en inglés).
Cronología
Elaborada con nuestros propios datos: NVD, CISA KEV y otros catálogos de explotación, FIRST EPSS, exploits públicos, prensa especializada y la cobertura de Orbitaley.
- Registro CVE publicado en NVD
- Última modificación del registro en NVD
Tecnologías afectadas (2)
Registro NVD
- Estado en NVD
- Modificada
- Publicada
- 28 jun 2023
- Última modificación
- 17 jun 2026
- Vector CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Debilidad (CWE)
- CWE-119, CWE-787
Referencias
- Parchegitlab.freedesktop.org/xorg/lib/libx11/-/commit/304a654a0d57bf0…
- Parchelists.x.org/archives/xorg-announce/2023-June/003406.html
- Parchelists.x.org/archives/xorg-announce/2023-June/003407.html
- Aviso de tercerosaccess.redhat.com/security/cve/CVE-2023-3138
- Referenciasecurity.netapp.com/advisory/ntap-20231208-0008
JSON original (NVD)
Mostrar
{
"id": "CVE-2023-3138",
"cveTags": [],
"metrics": {
"cvssMetricV31": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.5,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
},
"impactScore": 3.6,
"exploitabilityScore": 3.9
}
]
},
"affected": [
{
"source": "secalert@redhat.com",
"affectedData": [
{
"vendor": "n/a",
"product": "libX11",
"versions": [
{
"status": "affected",
"version": "libX11 1.8.6"
}
]
}
]
}
],
"published": "2023-06-28T21:15:10.247",
"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"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Secondary",
"source": "secalert@redhat.com",
"description": [
{
"lang": "en",
"value": "CWE-119"
}
]
},
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-787"
}
]
}
],
"descriptions": [
{
"lang": "en",
"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."
}
],
"lastModified": "2026-06-17T06:13:26.193",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:x.org:libx11:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A6C1F011-0236-4F70-A3B1-E9E1FEE9EA17",
"versionEndExcluding": "1.8.6"
}
],
"operator": "OR"
}
]
},
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F4CFF558-3C47-480D-A2F0-BABF26042943"
},
{
"criteria": "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7F6FB57C-2BC7-487C-96DD-132683AEB35D"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "secalert@redhat.com"
}