CVE-2026-135295
FontForge through 20251009 Heap Out-of-Bounds Write via PCF Encodings Table
High · 8.5
- CVSS
- 8.5
- EPSS
- 0.20% (p5)
- Published
- 2026-11-23
- Age
- 6d old
- Modified
- 2026-11-24
- Product
- FontForge FontForge
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
Description
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.
Sources
- NVD · first seen 6d ago · NVD terms of use
- OSV · first seen 6d ago · CC-BY 4.0
- CVE List · first seen 6d ago · CVE Terms of Use
References
- https://github.com/fontforge/fontforge/pull/5957 issue-tracking
- https://github.com/fontforge/fontforge/commit/65e80b5dfb6691a1c8a532cfbb8ec905949e0c9a patch
- https://github.com/fontforge/fontforge/blob/20251009/fontforge/fvimportbdf.c#L1719-L1755 technical-description
- https://www.vulncheck.com/advisories/fontforge-through-20251009-heap-out-of-bounds-write-via-pcf-encodings-table third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135295.json advisory
- https://github.com/fontforge/fontforge package
- https://nvd.nist.gov/vuln/detail/CVE-2026-135295 advisory