---
id: CVE-2023-43785
title: 'Libx11: out-of-bounds memory access in _xkbreadkeysyms()'
summary: >-
  A vulnerability was found in libX11 due to a boundary condition within the
  _XkbReadKeySyms() function. This flaw allows a local user to trigger an
  out-of-bounds read error and read the contents of memory on the system.
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-787
vendor: Red Hat
product: libX11
affected:
  - libX11 < 1.8.7
  - libX11 (all versions)
  - libX11 (all versions)
  - libX11
  - libX11
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-04-25T15:44:16.523489Z'
published: '2023-10-10'
updated: '2026-11-07'
sourceUpdated: '2026-11-07T11:32:45.408Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2023-43785'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2024:2145'
    label: 'RHSA-2024:2145'
  - url: 'https://access.redhat.com/errata/RHSA-2024:2973'
    label: 'RHSA-2024:2973'
  - url: 'https://access.redhat.com/security/cve/CVE-2023-43785'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2242252'
    label: RHBZ#2242252
tags:
  - cve.org
epss: 0.00669
epssPercentile: 0.522
ingestedAt: '2026-11-07T12:16:41.106Z'
---

## Overview

A vulnerability was found in libX11 due to a boundary condition within the _XkbReadKeySyms() function. This flaw allows a local user to trigger an out-of-bounds read error and read the contents of memory on the system.

## Affected

- `libX11 < 1.8.7`
- `libX11 (all versions)`
- `libX11 (all versions)`
- `libX11`
- `libX11`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
