CVE-2023-43786: Libx11: stack exhaustion from infinite recursion in putsubimage()

Published Oct 5, 2023
·
Updated

A vulnerability was found in libX11 due to an infinite loop within the PutSubImage() function. This flaw allows a local user to consume all available system resources and cause a denial of service condition.

Other sources

A vulnerability was found in libX11 where the vulnerability exists due to infinite loop within the PutSubImage() function, a local user can consume all available system resources and cause denial of service conditions.

— Red Hat

Affected Software

9 affected componentsFixes available
redhat/libx11<1.8.7
1.8.7
X.Org libX11<1.8.7
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
Fedoraproject Fedora=38
debian/libx11<2:1.8.4-2+deb12u2
2:1.8.4-2+deb12u2
debian/libx11<2:1.8.7-1
2:1.8.7-1
debian/libx11<2:1.8.7-1
2:1.8.7-1
debian/libx11
2:1.8.4-2+deb12u22:1.8.12-12:1.8.14-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/libX11 to a version that resolves this vulnerability.

    Fixed in 1.8.7
  2. Upgrade

    Upgrade debian/libx11 to a version that resolves this vulnerability.

    Fixed in 2:1.8.4-2+deb12u2
  3. Upgrade

    Upgrade debian/libx11 to a version that resolves this vulnerability.

    Fixed in 2:1.8.7-1
  4. Upgrade

    Upgrade debian/libx11 to a version that resolves this vulnerability.

    Fixed in 2:1.8.4-2+deb12u2Fixed in 2:1.8.12-1Fixed in 2:1.8.14-1

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
Jan 16, 2024
Exploit Published
via GitHub·08:04 PM
Nov 8, 2026
Data Sourced
via OSV·09:47 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2023-43786?

CVE-2023-43786 is a vulnerability in libX11 that allows for stack exhaustion from infinite recursion in PutSubImage().

2

How does CVE-2023-43786 affect libX11?

CVE-2023-43786 affects libX11 versions 1.8.7 and earlier, 2:1.6.9-2ubuntu1.6 and earlier, 2:1.7.5-1ubuntu0.3 and earlier, and 2:1.8.4-2ubuntu0.3 and earlier.

3

How severe is CVE-2023-43786?

CVE-2023-43786 is considered a serious vulnerability.

4

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

More information about CVE-2023-43786 can be found on the MITRE CVE website and the Ubuntu security notices USN-6407-1 and USN-6408-1.

5

How can I fix CVE-2023-43786?

To fix CVE-2023-43786, update to libX11 version 1.8.7 or later, 2:1.6.9-2ubuntu1.6 or later, 2:1.7.5-1ubuntu0.3 or later, or 2:1.8.4-2ubuntu0.3 or later.

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