Skip to content
Heist/ feed
Back to feed
Medium

Libx11: stack exhaustion from infinite recursion in putsubimage()

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-43786
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 18:38 UTC · Revision 1

Source evidence

Libx11: stack exhaustion from infinite recursion in putsubimage()

core-osv · Original source

Published 10 Oct 2023, 12:26 UTC

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.

osv:CVE-2023-43786
Complete source record
{
  "id": "55a61f70bb3f5d7e57cc2166f97ca10f090ab2dbc6694a7303876d253b10401a",
  "url": "https://osv.dev/vulnerability/CVE-2023-43786",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Libx11: stack exhaustion from infinite recursion in putsubimage()",
    "summary": "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.",
    "evidence": "osv:CVE-2023-43786",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-43786",
      "aliases": [
        "CVE-2023-43786"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.freedesktop.org/xorg/lib/libx11",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c745719e23af44a4b40ab4508447637b35d91a1e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:x.org:libx11:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.8.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            },
            {
              "repo": "https://gitlab.freedesktop.org/xorg/lib/libxpm",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "a154f12b6e56f131bd5880fc96f11615ff940b29"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.5.17"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "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",
            "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_8_99_16",
            "XORG-6_8_99_8",
            "XORG-6_8_99_12",
            "XORG-6_8_99_11",
            "sco_port_update-base",
            "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_901",
            "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/cve-osv-conversion/osv-output/CVE-2023-43786.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.176733986Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "https://lists.debian.org/debian-lts-announce/2023/10/msg00005.html",
        "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/63IBRFLQVZSMOAZBZOBKFWJP26ILRAGQ/",
        "https://access.redhat.com/errata/RHSA-2024:2145",
        "https://access.redhat.com/errata/RHSA-2024:2973",
        "https://access.redhat.com/security/cve/CVE-2023-43786",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/43xxx/CVE-2023-43786.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-43786",
        "https://security.netapp.com/advisory/ntap-20231103-0006/",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2242253",
        "https://gitlab.freedesktop.org/xorg/lib/libxpm"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-400"
        ],
        "cna_assigner": "redhat",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0:1.6.8-8.el8"
                  },
                  {
                    "fixed": "0:1.7.0-9.el9"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "InverseAffectedRanges"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/43xxx/CVE-2023-43786.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-43786",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505771,
  "published_at": "2023-10-10T12:26:07.399+00:00"
}