{"id":"CVE-2026-34085","state":"PUBLISHED","title":"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","description":"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.","publishedAt":"2026-03-25T16:54:37.187Z","updatedAt":"2026-04-02T17:50:01.562Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"mitre"},"assigner":"mitre","products":["fontconfig project fontconfig"],"affected":[{"vendor":"fontconfig project","product":"fontconfig","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.17.1","versionType":"semver"}]}],"references":["https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/b9bec06d73340f1b5727302d13ac3df307b7febc","https://gitlab.freedesktop.org/fontconfig/fontconfig/-/merge_requests/446","https://gitlab.freedesktop.org/fontconfig/fontconfig/-/work_items/481"],"weaknesses":["CWE-193"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/34xxx/CVE-2026-34085.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-34085","state":"PUBLISHED","datePublished":"2026-03-25T16:54:37.187Z","dateUpdated":"2026-04-02T17:50:01.562Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2026-03-25T16:54:36.761Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"fontconfig project","product":"fontconfig","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.17.1","versionType":"semver"}]}],"references":[{"url":"https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/b9bec06d73340f1b5727302d13ac3df307b7febc"},{"url":"https://gitlab.freedesktop.org/fontconfig/fontconfig/-/merge_requests/446"},{"url":"https://gitlab.freedesktop.org/fontconfig/fontconfig/-/work_items/481"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-193","description":"CWE-193 Off-by-one Error","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2026-04-02T17:50:01.562Z"},"x_generator":{"engine":"CVE-Request-form 0.0.1"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:fontconfig_project:fontconfig:*:*:*:*:*:*:*:*","versionEndExcluding":"2.17.1"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-27T14:57:39.116564Z","id":"CVE-2026-34085","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-27T14:57:45.810Z"}}]}}}