HIGH 7.8

CVE-2026-135295

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

Preliminary: affected artifacts were inferred from the fix commits of the source repository and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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)

ArtifactAffected versionsFixed in
com.viliussutkus89.licenseOnly » FontForgepreliminary
<= 20251009< 65e80b5dfb6691a1c8a532cfbb8ec905949e0c9a
65e80b5dfb6691a1c8a532cfbb8ec905949e0c9a

Blast radius

1affected artifacts
1affected versions
2dependent artifacts (est.)
8dependent versions

50% of the dependent artifacts (1) still pull an affected version in their latest release.

DepthDependent versions
Direct
2
2 hops
6

Most used dependents

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.