{"id":"CVE-2026-135295","summary":"FontForge through 20251009 Heap Out-of-Bounds Write via PCF Encodings Table","details":"FontForge through 20251009 contains a heap out-of-bounds write vulnerability in PcfReadEncodingsNames() that allows attackers to corrupt memory via negative glyph indices from truncated PCF encodings tables. Attackers can supply a crafted .pcf file imported through the GUI or scripting Import() command to write before the encs array, causing crashes or potential code execution.","modified":"2026-11-24T21:02:26.677063943Z","published":"2026-11-23T16:57:43.400Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135295.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135295.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135295"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/fontforge-through-20251009-heap-out-of-bounds-write-via-pcf-encodings-table"},{"type":"FIX","url":"https://github.com/fontforge/fontforge/commit/65e80b5dfb6691a1c8a532cfbb8ec905949e0c9a"},{"type":"FIX","url":"https://github.com/fontforge/fontforge/pull/5957"},{"type":"PACKAGE","url":"https://github.com/fontforge/fontforge"},{"type":"ARTICLE","url":"https://github.com/fontforge/fontforge/blob/20251009/fontforge/fvimportbdf.c#L1719-L1755"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fontforge/fontforge","events":[{"introduced":"0"},{"fixed":"65e80b5dfb6691a1c8a532cfbb8ec905949e0c9a"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"20251009"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"65e80b5dfb6691a1c8a532cfbb8ec905949e0c9a"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["20251009","20230101","20220308","20201107","20200314","20190801","20190413","20190317","20170731","20170730","20161012","20161005","20161004","20161001","20160930","20150330","20160404","20160403","20150824","20150612","20150430","20150228","v2.1.0","20141230","20141126","20141014","20141013","2.0.20140101","v20120731-b","v20110222"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-135295.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}