Description
Integer signedness error in truetype/ttgload.c in Freetype 2.3.4 and earlier might allow remote attackers to execute arbitrary code via a crafted TTF image with a negative n_points value, which leads to an integer overflow and heap-based buffer overflow.
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.2.1-6 | — |
| Debian 13 | freetype | 2.2.1-6 | — |
| Debian 12 | freetype | 2.2.1-6 | — |
| Debian 4.0 | freetype | 2.2.1-5+etch1 | DSA-1302-1 |
| Debian 3.1 | freetype | 2.1.7-8 | DSA-1334-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | freetype +2 | 2.2.1-19.el5 | RHSA-2007:0403 |
| RHEL 4 | freetype +3 | 2.1.9-6.el4 | RHSA-2009:0329, RHSA-2007:0403 |
| RHEL 3 | freetype +1 | 2.1.4-7.el3 | RHSA-2009:0329, RHSA-2007:0403 |
| RHEL 2 | freetype +2 | 2.0.3-10.el21 | RHSA-2009:1062, RHSA-2007:0403 |
Advisories 5
- RHSA-2007:0403 Red Hat Security Advisory: freetype security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2009:1062 Red Hat Security Advisory: freetype security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2009:0329 Red Hat Security Advisory: freetype security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1334-1 freetype Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1302-1 freetype - integer overflow Debian Security (DSA / DLA) · Mar 9, 2026
References
- ADV-2007-2229 vdb-entry
- 26129 third-party-advisory
- http://support.avaya.com/elmodocs2/security/ASA-2007-330.htm
- 25612 third-party-advisory
- https://issues.rpath.com/browse/RPL-1390
- ADV-2008-0049 vdb-entry
- 25894 third-party-advisory
- DSA-1334 vendor-advisory
- 25386 third-party-advisory
- 28298 third-party-advisory
- 103171 vendor-advisory
- 25705 third-party-advisory
- http://support.apple.com/kb/HT3549
- http://cvs.savannah.nongnu.org/viewvc/freetype2/src/truetype/ttgload.c?root=freetype&r1=1.177&r2=1.178
- DSA-1302 vendor-advisory
- 36509 vdb-entry
- SUSE-SA:2007:041 vendor-advisory
- FEDORA-2009-5644 vendor-advisory
- 35074 third-party-advisory
- 26305 third-party-advisory
- 20070613 FLEA-2007-0025-1: openoffice.org mailing-list
- FEDORA-2009-5558 vendor-advisory
- 24074 vdb-entry
- RHSA-2009:1062 vendor-advisory
- APPLE-SA-2009-05-12 vendor-advisory
- 25463 third-party-advisory
- MDKSA-2007:121 vendor-advisory
- 200033 vendor-advisory
- RHSA-2007:0403 vendor-advisory
- APPLE-SA-2007-11-14 vendor-advisory
- 25353 third-party-advisory
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=240200
- 30161 third-party-advisory
- GLSA-200805-07 vendor-advisory
- GLSA-200707-02 vendor-advisory
- 2007-0019 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=502565
- OpenPKG-SA-2007.018 vendor-advisory
- 102967 vendor-advisory
- [ft-devel] 20070427 Bug in fuzzed TTF file mailing-list
- TA09-133A third-party-advisory
- 25808 third-party-advisory
- GLSA-200705-22 vendor-advisory
- oval:org.mitre.oval:def:5532 vdb-entry signature
- ADV-2009-1297 vdb-entry
- 25609 third-party-advisory
- 35233 third-party-advisory
- oval:org.mitre.oval:def:11325 vdb-entry signature
- 35200 third-party-advisory
- 25350 third-party-advisory
- USN-466-1 vendor-advisory
- ADV-2007-1894 vdb-entry
- RHSA-2009:0329 vendor-advisory
- 25905 third-party-advisory
- 35204 third-party-advisory
- 25654 third-party-advisory
- 25483 third-party-advisory
- 1018088 vdb-entry
- 20070524 FLEA-2007-0020-1: freetype mailing-list