Freetype TT_Load_Simple_Glyph() TTF File Integer Overflow Vulnerability
TITLE: Freetype TT_Load_Simple_Glyph() TTF File Integer Overflow Vulnerability
CLASS: Input Validation Error
CVE: CVE-2007-2754
REMOTE: Yes
LOCAL: No
PUBLISHED: May 21 2007 12:00AM
UPDATE: Jun 18 2007 04:59PM
CREDIT: Victor Stinner is credited with discovering this issue.
VULNERABLE:
Ubuntu Ubuntu Linux 7.04 sparcNOT VULNERABLE:
Ubuntu Ubuntu Linux 7.04 powerpc
Ubuntu Ubuntu Linux 7.04 i386
Ubuntu Ubuntu Linux 7.04 amd64
Ubuntu Ubuntu Linux 6.10 sparc
Ubuntu Ubuntu Linux 6.10 powerpc
Ubuntu Ubuntu Linux 6.10 i386
Ubuntu Ubuntu Linux 6.10 amd64
Ubuntu Ubuntu Linux 6.06 LTS sparc
Ubuntu Ubuntu Linux 6.06 LTS powerpc
Ubuntu Ubuntu Linux 6.06 LTS i386
Ubuntu Ubuntu Linux 6.06 LTS amd64
Sun StarSuite 8 Update 7
Sun StarSuite 8 Update 6
Sun StarSuite 8
Sun StarSuite 7.0 PP10
Sun StarSuite 7 PP9
Sun StarSuite 7
Sun StarSuite 6.0 PP7
Sun StarSuite 6 PP6
Sun StarSuite 6
Sun StarOffice 7.0
Sun StarOffice 8.0
Sun StarOffice 8 Update 7
Sun StarOffice 8 Update 6
Sun StarOffice 7.0 PP9
Sun StarOffice 7.0 PP10
Sun StarOffice 6.0 PP7
Sun StarOffice 6.0 PP6
Sun StarOffice 6.0
rPath rPath Linux 1
RedHat Enterprise Linux Desktop Workstation v. 5 client
RedHat Enterprise Linux Desktop v.5 client
RedHat Enterprise Linux WS 4
RedHat Enterprise Linux WS 3
RedHat Enterprise Linux WS 2.1 IA64
RedHat Enterprise Linux WS 2.1
RedHat Enterprise Linux v. 5 server
RedHat Enterprise Linux ES 4
RedHat Enterprise Linux ES 3
RedHat Enterprise Linux ES 2.1 IA64
RedHat Enterprise Linux ES 2.1
RedHat Enterprise Linux AS 4
RedHat Enterprise Linux AS 3
RedHat Enterprise Linux AS 2.1 IA64
RedHat Enterprise Linux AS 2.1
RedHat Desktop 4.0
RedHat Desktop 3.0
RedHat Advanced Workstation for the Itanium Processor 2.1
MandrakeSoft Multi Network Firewall 2.0
MandrakeSoft Linux Mandrake 2007.1 x86_64
MandrakeSoft Linux Mandrake 2007.1
MandrakeSoft Linux Mandrake 2007.0 x86_64
MandrakeSoft Linux Mandrake 2007.0
MandrakeSoft Corporate Server 4.0 x86_64
MandrakeSoft Corporate Server 3.0 x86_64
MandrakeSoft Corporate Server 3.0
MandrakeSoft Corporate Server 4.0
Gentoo Linux
FreeType FreeType 2.3.4
FreeType FreeType 2.2.10
FreeType FreeType 2.2.1
FreeType FreeType 2.1.10
FreeType FreeType 2.1.9
FreeType FreeType 2.1.7
FreeType FreeType 2.0.9
FreeType FreeType 2.0.6
FreeType FreeType 1.3.1
FreeType FreeType 2.2
Foresight Linux Foresight Linux 1.1
Debian Linux 4.0 sparc
Debian Linux 4.0 s/390
Debian Linux 4.0 powerpc
Debian Linux 4.0 mipsel
Debian Linux 4.0 mips
Debian Linux 4.0 m68k
Debian Linux 4.0 ia-64
Debian Linux 4.0 ia-32
Debian Linux 4.0 hppa
Debian Linux 4.0 arm
Debian Linux 4.0 amd64
Debian Linux 4.0 alpha
Debian Linux 4.0
Vai alla pagina originale su Security Focus
Discussion
FreeType is prone to an integer-overflow vulnerability because it fails to properly validate TTF files.
An attacker may exploit this issue by enticing victims into opening maliciously crafted TTF Files.
Successful exploits will allow attackers to execute arbitrary code in the context in the context of applications that use the affected library. Failed exploit attempts will likely result in denial-of-service conditions.
This issue affects FreeType 2.3.4 and prior versions.
Exploit
Currently we are not aware of any exploits for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: mailto:vuldb@securityfocus.com.
Solution
Solution:
The vendor released a fix to address this issue. Please see the references for more information.
Sun StarSuite 6 PP6
- Sun 112886-08
x86 Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-112886-08-1 - Sun 112887-08
Linux Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-112887-08-1
Ubuntu Ubuntu Linux 6.10 powerpc
- Ubuntu Updated packages for Ubuntu 6.10 source archive
http://security.ubuntu.com/ubuntu/pool/main/f/freetype/freetype_2.2.1.o=rig.tar.gz
Sun StarSuite 8 Update 7
- Sun 120188-10
Linux Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-120188-10-1 - Sun 120189-11
Sparc Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-120189-11-1 - Sun 120190-11
x86 Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-120190-11-1
FreeType FreeType 2.2
- FreeType ttgload.c - 1.178
http://cvs.savannah.nongnu.org/viewvc/freetype2/src/truetype/ttgload.c?root=freetype&r1=1.177&r2=1.178&view=patch
Ubuntu Ubuntu Linux 6.06 LTS sparc
- Ubuntu Updated packages for Ubuntu 6.06 LTS source archive
http://security.ubuntu.com/ubuntu/pool/main/f/freetype/freetype_2.1.10.=orig.tar.gz
Sun StarOffice 8 Update 7
- Sun 120184-10
Linux Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-120184-10-1 - Sun 120185-11
Sparc Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-120185-11-1 - Sun 120186-11
x86Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-120186-11-1
Sun StarSuite 7 PP9
- Sun 116519-14
Sparc Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-116519-14-1
Sun StarSuite 7
- Sun 116518-14
Linux Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-116518-14-1 - Sun 117073-12
x86 Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-117073-12-1
Sun StarOffice 6.0 PP7
- Sun 112885-08
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-112885-08-1 - Sun 112886-08
x86 Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-112886-08-1 - Sun 112887-08
Linux Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-112887-08-1
Ubuntu Ubuntu Linux 7.04 i386
- Ubuntu Updated packages for Ubuntu 7.04 source archive
http://security.ubuntu.com/ubuntu/pool/main/f/freetype/freetype_2.2.1.o=rig.tar.gz
Sun StarOffice 7.0 PP10
- Sun 116518-14
Linux Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-116518-14-1 - Sun 116519-14
Sparc Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-116519-14-1 - Sun 117073-12
x86 Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-117073-12-1
Ubuntu Ubuntu Linux 6.10 sparc
- Ubuntu Updated packages for Ubuntu 6.10 source archive
http://security.ubuntu.com/ubuntu/pool/main/f/freetype/freetype_2.2.1.o=rig.tar.gz
Sun StarSuite 6.0 PP7
- Sun 112885-08
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-112885-08-1 - Sun 112886-08
x86 Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-112886-08-1 - Sun 112887-08
Linux Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-112887-08-1
Sun StarOffice 7.0 PP9
- Sun 116518-14
Linux Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-116518-14-1 - Sun 116519-14
Sparc Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-116519-14-1 - Sun 117073-12
x86 Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-117073-12-1
Ubuntu Ubuntu Linux 6.10 i386
- Ubuntu Updated packages for Ubuntu 6.10 source archive
http://security.ubuntu.com/ubuntu/pool/main/f/freetype/freetype_2.2.1.o=rig.tar.gz
Ubuntu Ubuntu Linux 7.04 amd64
- Ubuntu Updated packages for Ubuntu 7.04 source archive
http://security.ubuntu.com/ubuntu/pool/main/f/freetype/freetype_2.2.1.o=rig.tar.gz
Ubuntu Ubuntu Linux 6.10 amd64
- Ubuntu Updated packages for Ubuntu 6.10 source archive
http://security.ubuntu.com/ubuntu/pool/main/f/freetype/freetype_2.2.1.o=rig.tar.gz
Ubuntu Ubuntu Linux 6.06 LTS powerpc
- Ubuntu Updated packages for Ubuntu 6.06 LTS source archive
http://security.ubuntu.com/ubuntu/pool/main/f/freetype/freetype_2.1.10.=orig.tar.gz
Sun StarOffice 6.0
- Sun 112885-08
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-112885-08-1 - Sun 112886-08
x86 Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-112886-08-1 - Sun 112887-08
Linux Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-112887-08-1
Ubuntu Ubuntu Linux 6.06 LTS i386
- Ubuntu Updated packages for Ubuntu 6.06 LTS source archive
http://security.ubuntu.com/ubuntu/pool/main/f/freetype/freetype_2.1.10.=orig.tar.gz
Ubuntu Ubuntu Linux 6.06 LTS amd64
- Ubuntu Updated packages for Ubuntu 6.06 LTS source archive
http://security.ubuntu.com/ubuntu/pool/main/f/freetype/freetype_2.1.10.=orig.tar.gz
Sun StarSuite 7.0 PP10
- Sun 116518-14
Linux Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-116518-14-1 - Sun 116519-14
Sparc Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-116519-14-1 - Sun 117073-12
x86 Platform
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-117073-12-1
Ubuntu Ubuntu Linux 7.04 powerpc
- Ubuntu Updated packages for Ubuntu 7.04 source archive
http://security.ubuntu.com/ubuntu/pool/main/f/freetype/freetype_2.2.1.o=rig.tar.gz
Ubuntu Ubuntu Linux 7.04 sparc
- Ubuntu Updated packages for Ubuntu 7.04 source archive
http://security.ubuntu.com/ubuntu/pool/main/f/freetype/freetype_2.2.1.o=rig.tar.gz
FreeType FreeType 1.3.1
- FreeType ttgload.c - 1.178
http://cvs.savannah.nongnu.org/viewvc/freetype2/src/truetype/ttgload.c?root=freetype&r1=1.177&r2=1.178&view=patch
FreeType FreeType 2.0.6
- FreeType ttgload.c - 1.178
http://cvs.savannah.nongnu.org/viewvc/freetype2/src/truetype/ttgload.c?root=freetype&r1=1.177&r2=1.178&view=patch
FreeType FreeType 2.0.9
- FreeType ttgload.c - 1.178
http://cvs.savannah.nongnu.org/viewvc/freetype2/src/truetype/ttgload.c?root=freetype&r1=1.177&r2=1.178&view=patch
FreeType FreeType 2.1.10
- FreeType ttgload.c - 1.178
http://cvs.savannah.nongnu.org/viewvc/freetype2/src/truetype/ttgload.c?root=freetype&r1=1.177&r2=1.178&view=patch
FreeType FreeType 2.1.7
- FreeType ttgload.c - 1.178
http://cvs.savannah.nongnu.org/viewvc/freetype2/src/truetype/ttgload.c?root=freetype&r1=1.177&r2=1.178&view=patch
FreeType FreeType 2.1.9
- FreeType ttgload.c - 1.178
http://cvs.savannah.nongnu.org/viewvc/freetype2/src/truetype/ttgload.c?root=freetype&r1=1.177&r2=1.178&view=patch
FreeType FreeType 2.2.1
- FreeType ttgload.c - 1.178
http://cvs.savannah.nongnu.org/viewvc/freetype2/src/truetype/ttgload.c?root=freetype&r1=1.177&r2=1.178&view=patch
FreeType FreeType 2.2.10
- FreeType ttgload.c - 1.178
http://cvs.savannah.nongnu.org/viewvc/freetype2/src/truetype/ttgload.c?root=freetype&r1=1.177&r2=1.178&view=patch
FreeType FreeType 2.3.4
- FreeType ttgload.c - 1.178
http://cvs.savannah.nongnu.org/viewvc/freetype2/src/truetype/ttgload.c?root=freetype&r1=1.177&r2=1.178&view=patch
References
References:
- FreeType Home Page (FreeType)
- RHSA-2007:0403-4 - freetype security update (RedHat)
- Revision Log (Freetype)
- Sun Alert ID: 102967 Integer Overflow and Heap-Based Buffer Overflow Vulnerabili (Sun)