FontForge through 20251009 contains an out-of-bounds read vulnerability in PcfReadEncodingsNames() in fontforge/fvimportbdf.c that allows attackers to read outside heap buffers via unchecked glyph-name offsets. Attackers can supply a crafted .pcf file with out-of-range or negative offsets or an unterminated string block to crash the application when imported through the GUI or Import() command.
https://github.com/fontforge/fontforge/pull/5958
https://github.com/fontforge/fontforge/commit/fc1f2ba2f7a997b2d1e62beb77c849210a2af506
https://github.com/fontforge/fontforge/blob/20251009/fontforge/fvimportbdf.c#L1719-L1760
Published: 2026-11-30
Updated: 2026-11-30
Base Score: 6.4
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:P
Severity: Medium
Base Score: 5.5
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Severity: Medium
Base Score: 6.8
Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Severity: Medium
EPSS: 0.00291