blob: be9b8726453f5349bf483f74e704f8ffcfba27ea [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200411-08">
<title>GD: Integer overflow</title>
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.
<product type="ebuild">GD</product>
<announced>November 03, 2004</announced>
<revised>November 03, 2004: 01</revised>
<package name="media-libs/gd" auto="yes" arch="*">
<unaffected range="ge">2.0.32</unaffected>
<vulnerable range="lt">2.0.32</vulnerable>
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.
infamous41md found an integer overflow in the memory allocation procedure
of the GD routine that handles loading PNG image files.
<impact type="normal">
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
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"</code>
<uri link="">Original BugTraq advisory</uri>
<uri link="">CAN-2004-0990</uri>
<metadata tag="requester" timestamp="Mon, 1 Nov 2004 10:23:54 +0000">
<metadata tag="bugReady" timestamp="Tue, 2 Nov 2004 21:56:13 +0000">
<metadata tag="submitter" timestamp="Wed, 3 Nov 2004 20:55:19 +0000">