CVEfocus › CVE database › CVE-2023-43786

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

CVSS 5.5 MediumEPSS 0.4% (higher than 23% of CVEs)Published 2023-10-10Updated 2026-11-07Assigner: redhat

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.

CWE-400

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

36Fixed
5Fix pending
3Under investigation
13Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10motifFix pendingUBUNTU-CVE-2023-43786
Ubuntu 26.04motifUnder investigationUBUNTU-CVE-2023-43786
Ubuntu 25.10motifWill not fix
issue is in libx11, but libxpm was also fixed to avoid passing invalid data
UBUNTU-CVE-2023-43786
Ubuntu 24.04libx11Fixed2:1.8.6-1ubuntu1UBUNTU-CVE-2023-43786
Ubuntu 24.04libxpmFixed1:3.5.12-1.1ubuntu1UBUNTU-CVE-2023-43786
Ubuntu 24.04motifUnder investigationUBUNTU-CVE-2023-43786
Ubuntu 22.04libx11Fixed2:1.7.5-1ubuntu0.3UBUNTU-CVE-2023-43786
Ubuntu 22.04libxpmFixed1:3.5.12-1ubuntu0.22.04.2UBUNTU-CVE-2023-43786
Ubuntu 22.04motifUnder investigationUBUNTU-CVE-2023-43786
Ubuntu 20.04libx11Fixed2:1.6.9-2ubuntu1.6UBUNTU-CVE-2023-43786
Ubuntu 20.04libxpmFixed1:3.5.12-1ubuntu0.20.04.2UBUNTU-CVE-2023-43786
Ubuntu 20.04motifWill not fix
issue is in libx11, but libxpm was also fixed to avoid passing invalid data
UBUNTU-CVE-2023-43786
Ubuntu 18.04libx11Fix pending2:1.6.4-3ubuntu0.4+esm2 (Ubuntu Pro)UBUNTU-CVE-2023-43786
Ubuntu 18.04libxpmFix pending1:3.5.12-1ubuntu0.18.04.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-43786
Ubuntu 18.04motifWill not fix
issue is in libx11, but libxpm was also fixed to avoid passing invalid data
UBUNTU-CVE-2023-43786
Ubuntu 16.04libx11Will not fix
issue is in libx11, but libxpm was also fixed to avoid passing invalid data
2:1.6.3-1ubuntu2.2+esm4 (Ubuntu Pro)UBUNTU-CVE-2023-43786
Ubuntu 16.04libxpmWill not fix
issue is in libx11, but libxpm was also fixed to avoid passing invalid data
1:3.5.11-1ubuntu0.16.04.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2023-43786
Ubuntu 16.04motifWill not fix
issue is in libx11, but libxpm was also fixed to avoid passing invalid data
UBUNTU-CVE-2023-43786
Ubuntu 14.04libx11Fix pending2:1.6.2-1ubuntu2.1+esm5 (Ubuntu Pro)UBUNTU-CVE-2023-43786
Ubuntu 14.04libxpmFix pending1:3.5.10-1ubuntu0.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2023-43786
Ubuntu 14.04motifWill not fix
issue is in libx11, but libxpm was also fixed to avoid passing invalid data
UBUNTU-CVE-2023-43786
Debian 14libx11Fixed2:1.8.7-1DEBIAN-CVE-2023-43786
Debian 13libx11Fixed2:1.8.7-1DEBIAN-CVE-2023-43786
Debian 12libx11Fixed2:1.8.4-2+deb12u2DEBIAN-CVE-2023-43786
Red Hat Enterprise Linux 9libX11Fixed0:1.7.0-9.el9RHSA-2024:2145
Red Hat Enterprise Linux 9libX11-commonFixed0:1.7.0-9.el9RHSA-2024:2145
Red Hat Enterprise Linux 9libX11-develFixed0:1.7.0-9.el9RHSA-2024:2145
Red Hat Enterprise Linux 9libX11-xcbFixed0:1.7.0-9.el9RHSA-2024:2145
Red Hat Enterprise Linux 8libX11Fixed0:1.6.8-8.el8RHSA-2024:2973
Red Hat Enterprise Linux 8libX11-commonFixed0:1.6.8-8.el8RHSA-2024:2973
Red Hat Enterprise Linux 8libX11-develFixed0:1.6.8-8.el8RHSA-2024:2973
Red Hat Enterprise Linux 8libX11-xcbFixed0:1.6.8-8.el8RHSA-2024:2973
Red Hat Enterprise Linux 7libX11Will not fix
Out of support scope
Red Hat Enterprise Linux 7libX11-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 7libX11-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libX11Will not fix
Out of support scope
Red Hat Enterprise Linux 6libX11-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 6libX11-develWill not fix
Out of support scope
AlmaLinux 9libX11Fixed1.7.0-9.el9ALSA-2024:2145
AlmaLinux 9libX11-commonFixed1.7.0-9.el9ALSA-2024:2145
AlmaLinux 9libX11-develFixed1.7.0-9.el9ALSA-2024:2145
AlmaLinux 9libX11-xcbFixed1.7.0-9.el9ALSA-2024:2145
AlmaLinux 8libX11Fixed1.6.8-8.el8ALSA-2024:2973
AlmaLinux 8libX11-commonFixed1.6.8-8.el8ALSA-2024:2973
AlmaLinux 8libX11-develFixed1.6.8-8.el8ALSA-2024:2973
AlmaLinux 8libX11-xcbFixed1.6.8-8.el8ALSA-2024:2973
Rocky Linux 9libX11Fixed0:1.7.0-9.el9RLSA-2024:2145
Rocky Linux 8libX11Fixed0:1.6.8-8.el8RLSA-2024:2973
Alpine Linux 3.24libx11Fixed1.8.7-r0ALPINE-CVE-2023-43786
Alpine Linux 3.23libx11Fixed1.8.7-r0ALPINE-CVE-2023-43786
Alpine Linux 3.22libx11Fixed1.8.7-r0ALPINE-CVE-2023-43786
Alpine Linux 3.21libx11Fixed1.8.7-r0ALPINE-CVE-2023-43786
Alpine Linux 3.20libx11Fixed1.8.7-r0ALPINE-CVE-2023-43786
Alpine Linux 3.19libx11Fixed1.8.7-r0ALPINE-CVE-2023-43786
Alpine Linux 3.18libx11Fixed1.8.7-r0ALPINE-CVE-2023-43786
Alpine Linux 3.17libx11Fixed1.8.7-r0ALPINE-CVE-2023-43786
Alpine Linux 3.16libx11Fixed1.8.7-r0ALPINE-CVE-2023-43786

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.