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

Published Updated

A crafted PCF font file imported into FontForge can corrupt heap memory, crashing it or possibly executing code.

CVSS score

High

8.5/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
1 on GitHub, unverified
Fix
None listed
No fixed version published
Attack path
Local or same network
No login, a user must click or open something

What is CVE-2026-135295?

CVE-2026-135295 is a high-severity memory corruption vulnerability in FontForge, published on 23 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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

Weakness: CWE-787

How severe is CVE-2026-135295?

CVE-2026-135295 scores 8.5 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Local
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
Passive
Confidentiality
High
Integrity
High
Availability
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

Which versions are affected by CVE-2026-135295?

1 open source package ship an affected version, including fontforge/fontforge.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
fontforge/fontforge GitHub
pkg:github/fontforge/fontforge
All versions to 20251009None

How do I fix CVE-2026-135295?

No fix has been published for CVE-2026-135295 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-135295 being exploited?

There is no known exploitation of CVE-2026-135295 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2026-135295, GHSA-gwm8-gjc3-xjqq, UBUNTU-CVE-2026-135295.

Is CVE-2026-135295 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free