# CVE-2026-135295: FontForge through 20251009 Heap Out-of-Bounds Write via PCF Encodings Table

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-11-23T16:57:43.400Z
- Modified: 2026-11-23T21:17:01.930Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- FontForge FontForge: up to 20251009

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/fontforge/fontforge/pull/5957> (issue-tracking, patch)
- <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)

## Sources

- CVE List: [CVE-2026-135295](https://www.cve.org/CVERecord?id=CVE-2026-135295), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-135295](https://nvd.nist.gov/vuln/detail/CVE-2026-135295), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-135295 · Whole record: https://cve.day/CVE-2026-135295.json · Rebuilt by cve.day 2026-11-25T22:59:52.676Z
