CVE-2026-135295
FontForge through 20251009 Heap Out-of-Bounds Write via PCF Encodings Table
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.viliussutkus89.licenseOnly » FontForgepreliminary | <= 20251009< 65e80b5dfb6691a1c8a532cfbb8ec905949e0c9a | 65e80b5dfb6691a1c8a532cfbb8ec905949e0c9a |
Blast radius
50% of the dependent artifacts (1) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 2 |
| 2 hops | 6 |
Most used dependents
- com.viliussutkus89.licenseOnly » pdf2htmlEX-dependency-tree1 usages
- com.viliussutkus89 » pdf2htmlex-android0 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135295.json
- Packagehttps://github.com/fontforge/fontforge
- Articlehttps://github.com/fontforge/fontforge/blob/20251009/fontforge/fvimportbdf.c#L1719-L1755
- Fixhttps://github.com/fontforge/fontforge/commit/65e80b5dfb6691a1c8a532cfbb8ec905949e0c9a
- Fixhttps://github.com/fontforge/fontforge/pull/5957
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-135295
- Advisoryhttps://www.vulncheck.com/advisories/fontforge-through-20251009-heap-out-of-bounds-write-via-pcf-encodings-table
