{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b4389e0b1d84a690b819bb27b1439968811a3674"
            }
          ],
          "repo": "https://gitlab.freedesktop.org/xorg/lib/libxfont",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "suse",
    "cwe_ids": [
      "CWE-122"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56002.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "2.0.8"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "fixed": "2.0.8"
          }
        ],
        "source": "CPE_FIELD"
      },
      {
        "extracted_events": [
          {
            "introduced": "libXfont2"
          },
          {
            "fixed": "2.0.8"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "A heap bufferflow in pcfReadFont() due to missing glyph bounds checking in libXfont2 before 2.0.8  allows attackers authenticated as X client to execute code within the X server.",
  "id": "CVE-2026-56002",
  "modified": "2026-07-16T03:30:52.574558399Z",
  "published": "2026-07-08T09:12:51.480Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56002.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-56002"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.openwall.com/lists/oss-security/2026/07/08/1"
    },
    {
      "type": "FIX",
      "url": "https://gitlab.freedesktop.org/xorg/lib/libxfont/-/commit/b4389e0b1d84a690b819bb27b1439968811a3674"
    },
    {
      "type": "PACKAGE",
      "url": "https://gitlab.freedesktop.org/xorg/lib/libxfont"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "libXfont2 PCF Font Parsing Heap Buffer Overflow"
}