All reports
Medium

fontforge: out-of-bounds write in SFD_GetFontMetaData function in sfd.c

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2020-5395

Probability of exploitation in the next 30 days: 2.48%

FIRST EPSS · 2026-11-22

Description

FontForge 20190801 has a use-after-free in SFD_GetFontMetaData in sfd.c.

An out-of-bounds write was discovered in fontforge while parsing SFD files containing very large LayerCount tokens. The flaw allows an attacker to overwrite data before a buffer allocated on the heap, thus causing the application to crash or execute arbitrary code.