Joined: 13 Jun 2003
Location: Barcelona, Spain
|Posted: Wed Nov 03, 2004 11:36 pm Post subject: [ GLSA 200411-08 ] GD: Integer overflow
|Gentoo Linux Security Advisory
Title: GD: Integer overflow (GLSA 200411-08)
Date: November 03, 2004
The PNG image decoding routines in the GD library contain an integer overflow that may allow execution of arbitrary code with the rights of the program decoding a malicious PNG image.
The GD graphics library is an open source library which allows programmers to easily generate PNG, JPEG, GIF and WBMP images from many different programming languages.
Vulnerable: < 2.0.32
Unaffected: >= 2.0.32
Architectures: All supported architectures
infamous41md found an integer overflow in the memory allocation procedure of the GD routine that handles loading PNG image files.
A remote attacker could entice a user to load a carefully crafted PNG image file in a GD-powered application, or send a PNG image to a web application which uses GD PNG decoding functions. This could potentially lead to execution of arbitrary code with the rights of the program loading the image.
There is no known workaround at this time.
All GD users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/gd-2.0.32"
Original BugTraq advisory
Last edited by GLSA on Sun May 07, 2006 4:53 pm; edited 1 time in total