CVE-2026-135295

NameCVE-2026-135295
DescriptionFontForge 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
fontforge (PTS)bookworm, bookworm (security)1:20230101~dfsg-1.1~deb12u1vulnerable
trixie1:20230101~dfsg-4vulnerable
forky, sid1:20251009+git20260808~dfsg-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
fontforgesource(unstable)(unfixed)unimportant

Notes

https://github.com/fontforge/fontforge/pull/5957
Fixed by: https://github.com/fontforge/fontforge/commit/65e80b5dfb6691a1c8a532cfbb8ec905949e0c9a
Editing font files from untrusted sources is not supported:
https://github.com/fontforge/fontforge/wiki/Community-guidelines#D1

Search for package or bug name: Reporting problems