{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:fontconfig_project:fontconfig:2.17.0:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "2.17.0"
              },
              {
                "last_affected": "2.17.0"
              }
            ],
            "source": [
              "CPE_STRING",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "a7a03d6ce093042d1ad4c5cf68746f44b03d8bda"
            },
            {
              "fixed": "b9bec06d73340f1b5727302d13ac3df307b7febc"
            }
          ],
          "repo": "https://gitlab.freedesktop.org/fontconfig/fontconfig",
          "type": "GIT"
        }
      ],
      "versions": [
        "2.17.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "cwe_ids": [
      "CWE-193"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34085.json"
  },
  "details": "fontconfig before 2.17.1 has an off-by-one error in allocation during sfnt capability handling, leading to a one-byte out-of-bounds write, and potentially a crash or code execution. This is in FcFontCapabilities in fcfreetype.c.",
  "id": "CVE-2026-34085",
  "modified": "2026-07-08T05:37:09.296394298Z",
  "published": "2026-03-25T16:54:37.187Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://gitlab.freedesktop.org/fontconfig/fontconfig/-/work_items/481"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34085.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34085"
    },
    {
      "type": "FIX",
      "url": "https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/b9bec06d73340f1b5727302d13ac3df307b7febc"
    },
    {
      "type": "FIX",
      "url": "https://gitlab.freedesktop.org/fontconfig/fontconfig/-/merge_requests/446"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ]
}