Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-135295: high-severity vulnerability (CVSS 8.5) in FontForge FontForge.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.5.
Affected products and versions
FontForge FontForge <= 20251009
| Product | Versions | Fixed in |
|---|---|---|
| FontForge FontForge | <= 20251009 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/fontforge/fontforge/pull/5957 — CVE Program
- https://github.com/fontforge/fontforge/commit/65e80b5dfb6691a1c8a532cfbb8ec905949e0c9a — CVE Program
- https://github.com/fontforge/fontforge/blob/20251009/fontforge/fvimportbdf.c#L1719-L1755 — CVE Program
- https://www.vulncheck.com/advisories/fontforge-through-20251009-heap-out-of-bounds-write-via-pcf-encodings-table — CVE Program
Weaknesses (CWE): CWE-787
Relevant change history
Published
Preliminary advisory published.