CVE-2026-139880
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-139880 NameCVE-2026-139880 DescriptionFontForge 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…
CVE-2026-139880
| Name | CVE-2026-139880 |
| Description | 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. |
| Source | CVE (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 Package | Release | Version | Status |
|---|---|---|---|
| fontforge (PTS) | bookworm, bookworm (security) | 1:20230101~dfsg-1.1~deb12u1 | vulnerable |
| trixie | 1:20230101~dfsg-4 | vulnerable | |
| forky, sid | 1:20251009+git20260808~dfsg-3 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| fontforge | source | (unstable) | (unfixed) | unimportant |
Notes
https://github.com/fontforge/fontforge/pull/5958
Fixed by: https://github.com/fontforge/fontforge/commit/fc1f2ba2f7a997b2d1e62beb77c849210a2af506
Editing font files from untrusted sources is not supported:
https://github.com/fontforge/fontforge/wiki/Community-guidelines#D1
Apply commands
https://github.com/fontforge/fontforge/pull/5958Fixed by: https://github.com/fontforge/fontforge/commit/fc1f2ba2f7a997b2d1e62beb77c849210a2af506Editing font files from untrusted sources is not supported:https://github.com/fontforge/fontforge/wiki/Community-guidelines#D1
OS impact
Debian Affected 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | fontforge |
Affected | — |
| sid | fontforge |
Affected | — |
| forky | fontforge |
Affected | — |
| bookworm | fontforge |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| fontforge | fontforge | {"endIncluding":"20251009"} | |
References
- https://github.com/fontforge/fontforge/blob/20251009/fontforge/fvimportbdf.c#L1719-L1760
- https://github.com/fontforge/fontforge/commit/fc1f2ba2f7a997b2d1e62beb77c849210a2af506
- https://github.com/fontforge/fontforge/pull/5958
- https://www.vulncheck.com/advisories/fontforge-through-20251009-out-of-bounds-read-via-pcf-glyph-name-offsets
- https://security-tracker.debian.org/tracker/CVE-2026-139880
- https://www.suse.com/security/cve/CVE-2026-139880.html
CWEs
CWE-125
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.