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

- Severity: Medium 5.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2023-10-10T12:26:07.399Z
- Modified: 2026-11-07T12:17:35.620Z
- Weaknesses: CWE-400, CWE-835
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- libXpm: before 3.5.17
- libX11: no versions given (not affected: from 0:1.6.8-8.el8 before *; from 0:1.7.0-9.el9 before *)
- x.org libx11: before 1.8.7
- redhat enterprise_linux: 8.0; 9.0
- fedoraproject fedora: 38

## Every score

- redhat: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2024:2145> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2973> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-43786> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2242253> (issue-tracking, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2024/01/24/9>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/63IBRFLQVZSMOAZBZOBKFWJP26ILRAGQ/>
- <https://security.netapp.com/advisory/ntap-20231103-0006/>
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00005.html>

## Sources

- CVE List: [CVE-2023-43786](https://www.cve.org/CVERecord?id=CVE-2023-43786), CVE Terms of Use, modified 2026-11-07
- NVD: [CVE-2023-43786](https://nvd.nist.gov/vuln/detail/CVE-2023-43786), Public domain, modified 2026-11-07

---

Page: https://cve.day/CVE-2023-43786 · Whole record: https://cve.day/CVE-2023-43786.json · Rebuilt by cve.day 2026-11-25T22:58:28.575Z
