Description
Stack-based buffer overflow in FontForge 20100501 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a long CHARSET_REGISTRY header in a BDF font file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | fontforge | 0.0.20100501-4 | — |
| Debian 13 | fontforge | 0.0.20100501-4 | — |
| Debian 12 | fontforge | 0.0.20100501-4 | — |
| Debian 5.0 | fontforge | 0.0.20080429-1+lenny2 | DSA-2253-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- FontForge - '.BDF' Font File Stack Buffer Overflow (PoC) EDB-15732 · dos · Dec 14, 2010
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-2253-1 fontforge - buffer overflow Debian Security (DSA / DLA) · Mar 9, 2026
References
- 45162 vdb-entry
- [oss-security] 20101202 Re: CVE Request -- FontForge: Stack-based buffer overflow by processing specially-crafted CHARSET_REGISTRY font file header mailing-list
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605537
- DSA-2253 vendor-advisory
- FEDORA-2010-18577 vendor-advisory
- 42577 third-party-advisory
- FEDORA-2010-18573 vendor-advisory
- [oss-security] 20101202 CVE Request -- FontForge: Stack-based buffer overflow by processing specially-crafted CHARSET_REGISTRY font file header mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=659359
- 15732 exploit
- ADV-2010-3200 vdb-entry