Description
The tt_sbit_decoder_init function in sfnt/ttsbit.c in FreeType before 2.5.4 proceeds with a count-to-size association without restricting the count value, which allows remote attackers to cause a denial of service (integer overflow and out-of-bounds read) or possibly have unspecified other impact via a crafted embedded bitmap.
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.5.2-3 | — |
| Debian 13 | freetype | 2.5.2-3 | — |
| Debian 12 | freetype | 2.5.2-3 | — |
| Debian 7 | freetype | 2.4.9-1.1+deb7u1 | DSA-3188-1 |
| Debian 6.0 | freetype | 2.4.2-2.1+squeeze5 | DLA-185-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | freetype | 2.5.2-1ubuntu2.4 | USN-2510-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | ft2demos +1 | 2.5.3-5.1 | SUSE-SU-2015:0455-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 | ft2demos +1 | 2.5.3-5.1 | SUSE-SU-2015:0455-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 6
- USN-2510-1 freetype vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-185-1 freetype - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3188-1 freetype - security update 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
- SUSE-SU-2015:0455-1 Security update for freetype2 SUSE / openSUSE Security Updates · Feb 4, 2026
References
- DSA-3188 vendor-advisory
- http://code.google.com/p/google-security-research/issues/detail?id=167
- GLSA-201503-05 vendor-advisory
- 72986 vdb-entry
- USN-2739-1 vendor-advisory
- openSUSE-SU-2015:0627 vendor-advisory
- http://advisories.mageia.org/MGASA-2015-0083.html
- http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html
- http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=257c270bd25e15890190a28a1456e7623bba4439
- FEDORA-2015-2216 vendor-advisory
- MDVSA-2015:055 vendor-advisory
- USN-2510-1 vendor-advisory
- FEDORA-2015-2237 vendor-advisory