Description
Heap-based buffer overflow in the Ins_SHZ function in ttinterp.c in FreeType 2.4.3 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) via a crafted SHZ bytecode instruction, related to TrueType opcodes, as demonstrated by a PDF document with a crafted embedded font.
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 | freetype | 2.4.2-2.1 | — |
| Debian 13 | freetype | 2.4.2-2.1 | — |
| Debian 12 | freetype | 2.4.2-2.1 | — |
| Debian 5.0 | freetype | 2.3.7-2+lenny5 | DSA-2155-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ft2demos +1 | 2.7-1.1 | openSUSE-SU-2024:10438-1, openSUSE-SU-2024:10172-1 |
Advisories 3
- DSA-2155-1 freetype - several Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10438-1 freetype2-devel-2.7-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10172-1 ft2demos-2.7-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 43138 third-party-advisory
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602221
- ADV-2011-0246 vdb-entry
- ADV-2010-3046 vdb-entry
- 1024767 vdb-entry
- APPLE-SA-2011-03-21-1 vendor-advisory
- USN-1013-1 vendor-advisory
- http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=0edf0986f3be570f5bf90ff245a85c1675f5c9a4
- MDVSA-2010:236 vendor-advisory
- 42314 third-party-advisory
- http://security-tracker.debian.org/tracker/CVE-2010-3814
- 44643 vdb-entry
- http://support.apple.com/kb/HT4456
- 48951 third-party-advisory
- DSA-2155 vendor-advisory
- APPLE-SA-2010-11-22-1 vendor-advisory
- http://support.apple.com/kb/HT4581