CVE-2023-43785 Libx11: out-of-bounds memory access in _xkbreadkeysyms()

Medium 6.5 Published Updated

A local attacker can exploit an out-of-bounds read in libX11 to disclose sensitive memory contents from the system.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-43785?

CVE-2023-43785 is a medium-severity vulnerability in Fedoraproject Fedora, published on 10 Oct 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-125, CWE-787

Which versions are affected by CVE-2023-43785?

It affects 3 products.

Products include Fedoraproject Fedora, Redhat Enterprise Linux, X.org Libx11.

How do I fix CVE-2023-43785?

Apply the vendor's patch.

Is CVE-2023-43785 being exploited?

There is no known exploitation of CVE-2023-43785 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALPINE-CVE-2023-43785, AZL-31320, BELL-CVE-2023-43785, CLSA-2025-1745588411, DEBIAN-CVE-2023-43785, GHSA-9368-fgh5-gh2f and 2 more.

Is CVE-2023-43785 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free