CVE-2023-43787: Libx11: integer overflow in xcreateimage() leading to a heap overflow

Published Oct 5, 2023
·
Updated

A vulnerability was found in libX11 due to an integer overflow within the XCreateImage() function. This flaw allows a local user to trigger an integer overflow and execute arbitrary code with elevated privileges.

Other sources

A vulnerability was found in libX11 where the vulnerability exists due to integer overflow within the XCreateImage() function, a local user can trigger integer overflow and execute arbitrary code with elevated privileges.

Red Hat

Affected Software

6 affected componentsFixes available
redhat/libX11<1.8.7
1.8.7
debian/libx11
2:1.7.2-1+deb11u22:1.8.4-2+deb12u22:1.8.7-1
X.Org libX11<1.8.7
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
Fedoraproject Fedora=38

Event History

Oct 10, 2023
CVE Published
via MITRE·12:26 PM
Data Sourced
via MITRE·12:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeaknessAffected Software
May 31, 2024
Data Sourced
via Launchpad·02:33 AM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·04:16 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2023-43787?

CVE-2023-43787 is a vulnerability in the libX11 library that allows an attacker to trigger a heap overflow through an integer overflow in the XCreateImage() function.

2

How severe is CVE-2023-43787?

CVE-2023-43787 has a severity rating of high.

3

Which software versions are affected by CVE-2023-43787?

Versions 1.8.7 of libX11 (Ubuntu) and versions up to 1.8.7 (Ubuntu) are affected by CVE-2023-43787.

4

How do I fix CVE-2023-43787?

To fix CVE-2023-43787, upgrade to version 1.8.7 (Ubuntu) or later, or apply the recommended patches for your specific Ubuntu or Debian distribution.

5

Where can I find more information about CVE-2023-43787?

You can find more information about CVE-2023-43787 in the CVE entry at [https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-43787](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-43787) and the Ubuntu security notices at [https://ubuntu.com/security/notices/USN-6407-1](https://ubuntu.com/security/notices/USN-6407-1) and [https://ubuntu.com/security/notices/USN-6408-1](https://ubuntu.com/security/notices/USN-6408-1).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203