{"id":"CVE-2023-43786","summary":"Libx11: stack exhaustion from infinite recursion in putsubimage()","details":"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.","modified":"2026-05-18T05:57:08.756303145Z","published":"2023-10-10T12:26:07.399Z","related":["ALSA-2024:2145","ALSA-2024:2973","SUSE-SU-2023:3963-1","SUSE-SU-2023:3989-1","SUSE-SU-2024:2453-1","openSUSE-SU-2024:13296-1"],"database_specific":{"cwe_ids":["CWE-400"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/43xxx/CVE-2023-43786.json","cna_assigner":"redhat"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/01/24/9"},{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00005.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/63IBRFLQVZSMOAZBZOBKFWJP26ILRAGQ/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:2145"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:2973"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2023-43786"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/43xxx/CVE-2023-43786.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-43786"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20231103-0006/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2242253"},{"type":"PACKAGE","url":"https://gitlab.freedesktop.org/xorg/lib/libxpm"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.freedesktop.org/xorg/lib/libx11","events":[{"introduced":"0"},{"fixed":"c745719e23af44a4b40ab4508447637b35d91a1e"}],"database_specific":{"source":"CPE_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"1.8.7"}],"cpe":"cpe:2.3:a:x.org:libx11:*:*:*:*:*:*:*:*"}}],"versions":["libX11-1.8.6","libX11-1.8.5","libX11-1.8.4","libX11-1.8.3","libX11-1.8.2","libX11-1.8.1","libX11-1.8","libX11-1.7.5","libX11-1.7.4","libX11-1.7.3.1","libX11-1.7.3","libX11-1.7.2","libX11-1.7.1","libX11-1.7.0","libX11-1.6.12","libX11-1.6.11","libX11-1.6.10","libX11-1.6.9","libX11-1.6.8","libX11-1.6.7","libX11-1.6.6","libX11-1.6.5","libX11-1.6.4","libX11-1.6.3","libX11-1.6.2","libX11-1.6.1","libX11-1.6.0","libX11-1.5.99.902","libX11-1.5.99.901","libX11-1.5.0","libX11-1.4.99.902","libX11-1.4.99.901","libX11-1.4.99.1","libX11-1.4.4","libX11-1.4.3","libX11-1.4.2","libX11-1.4.1","libX11-1.4.0","libX11-1.3.99.903","libX11-1.3.99.902","libX11-1.3.99.901","libX11-1.3.4","libX11-1.3.3","libX11-1.3.2","libX11-1.3.1","libX11-1.3","libX11-1.2.99.901","libX11-1.2.2","libX11-1.2.1","libX11-1.2","libX11-1.1.99.2","libX11-1.1.4","libX11-1.1.3","libX11-1.1.2","XORG-6_99_99_904","MODULAR_COPY","XORG-6_99_99_903","XORG-6_8_99_903","XORG-6_99_99_902","XORG-6_8_99_902","XORG-6_99_99_901","XORG-6_8_99_901","XORG-6_99_99_900","XORG-6_8_99_900","XORG-6_8_99_15","XORG-6_8_99_14","XORG-6_8_99_13","XORG-6_8_99_10","XORG-6_8_99_9","XORG-6_8_99_7","XORG-6_8_99_6","XORG-6_8_1","XORG-6_7_99_903","XORG-6_7_99_902","XORG-6_7_99_2","XORG-6_7_99_1","XACE-SELINUX-MERGE","XORG-MAIN"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-43786.json"}},{"ranges":[{"type":"GIT","repo":"https://gitlab.freedesktop.org/xorg/lib/libxpm","events":[{"introduced":"0"},{"fixed":"a154f12b6e56f131bd5880fc96f11615ff940b29"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"3.5.17"}]}}],"versions":["libXpm-3.5.16","libXpm-3.5.15","libXpm-3.5.14","libXpm-3.5.13","libXpm-3.5.12","libXpm-3.5.11","libXpm-3.5.10","libXpm-3.5.9","libXpm-3.5.8","libXpm-3.5.7","libXpm-3.5.6","libXpm-3_5_5","XORG-7_1","XORG-7_0_99_901","XORG-7_0","XORG-6_99_99_904","MODULAR_COPY","XORG-6_99_99_903","XORG-6_99_99_902","XORG-6_99_99_901","XORG-6_8_99_903","XORG-6_8_99_902","XORG-6_8_99_901","XORG-6_99_99_900","XORG-6_8_99_900","XORG-6_8_99_16","XORG-6_8_99_9","XORG-6_8_99_8","XORG-6_8_99_15","XORG-6_8_99_14","XORG-6_8_99_13","XORG-6_8_99_12","XORG-6_8_99_11","XORG-6_8_99_10","sco_port_update-base","XORG-6_8_99_7","XORG-6_8_99_6","XORG-6_8_99_5","XORG-6_8_99_4","XORG-6_8_99_3","XORG-6_8_99_2","XORG-6_8_99_1","rel-0-6-1","lg3d-rel-0-7-0","lg3d-base","XORG-6_8_0","XORG-6_7_99_904","XORG-6_7_99_903","XORG-6_7_99_902","XORG-6_7_99_901","XORG-6_7_99_2","XORG-6_7_99_1","XACE-SELINUX-MERGE","xf86-4_4_99_1","xf86-4_4_0","xf86-4_3_99_903","xf86-4_3_99_903_special","xf86-4_3_99_902","xf86-4_3_99_901","xf86-4_3_99_16","xf86-012804-2330","xf86-4_3_0_1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-43786.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}